About 8,210,000 results
Open links in new tab
  1. Что такое ctx в библиотеке discord.py?

    Aug 12, 2021 · Постоянно замечаю в дискорд ботах атрибут ctx, да и сам его частенько использую, но все равно до конца не понял что это такое, какие у него есть методы кроме ctx.send() …

  2. Why do all canvas examples use ctx? - Stack Overflow

    Feb 14, 2011 · Why do all canvas examples use ctx? Asked 14 years, 10 months ago Modified 14 years, 10 months ago Viewed 51k times

  3. c - What does "ctx" mean? - Stack Overflow

    I have seen it used twice already in different libraries as an abbreviation, but I can't wrap my head around what it should mean. For example here: static int reformat_string(void * ctx, const un...

  4. Characters limit on request for LLama3.1:8b running on Ollama

    Aug 5, 2024 · To utilize a larger context window, you need to adjust the num_ctx parameter. For example, to set a 32k token context window: Create a Modelfile: FROM llama3.1:8b PARAMETER …

  5. What is the use of <-ctx.Done() in select statments?

    Jul 30, 2023 · Put if ctx.Err() != nil { return } before the select statement. If you absolutely cannot tolerate expensiveComputation to happen after the context is cancelled (and it isn't feasible to pass the …

  6. go - Context confusion regarding cancellation - Stack Overflow

    Oct 14, 2018 · Example #2 scenario: context timeout exceeded In this scenario, we make the process take longer than context timeout, so ideally the <-ctx.Done() will also be executed.

  7. what does the "ctx" really doing discord.py - Stack Overflow

    Dec 28, 2020 · As explained in the docs: A command must always have at least one parameter, ctx, which is the Context as the first one. Now, what is Context? Again, the docs: Represents the context …

  8. Correct way to free/allocate the context in the OpenSSL

    Jan 26, 2017 · EVP_CIPHER_CTX_new This was on the OpenSSL wiki page in the examples But! On the MAN page, there is a suggestion for using EVP_CIPHER_CTX_cleanup and …

  9. How to clear the canvas for redrawing - Stack Overflow

    After experimenting with composite operations and drawing images on the canvas I'm now trying to remove images and compositing. How do I do this? I need to clear the canvas for redrawing other ima...

  10. Accessing Microsoft Sharepoint files and data using Python

    Jan 30, 2020 · Here's the starter code for connecting to share point through Python and accessing the list of files, folders and individual file contents of Sharepoint as well. You can build on top of this to …