Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 1,240 for context_ (0.25 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. internal/logger/audit.go

    // SetAuditEntry sets Audit info in the context.
    func SetAuditEntry(ctx context.Context, audit *audit.Entry) context.Context {
    	if ctx == nil {
    		LogIf(context.Background(), "audit", fmt.Errorf("context is nil"))
    		return nil
    	}
    	return context.WithValue(ctx, contextAuditKey, audit)
    }
    
    // GetAuditEntry returns Audit entry if set.
    func GetAuditEntry(ctx context.Context) *audit.Entry {
    	if ctx != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  2. docs/es/docs/advanced/templates.md

    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ### Valores de Contexto de la Plantilla { #template-context-values }
    
    En el HTML que contiene:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    ...mostrará el `id` tomado del `dict` de "contexto" que pasaste:
    
    ```Python
    {"id": id}
    ```
    
    Por ejemplo, con un ID de `42`, esto se renderizaría como:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  3. docs/fr/docs/advanced/templates.md

    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ### Valeurs de contexte du template { #template-context-values }
    
    Dans le HTML qui contient :
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    ... il affichera l’`id` récupéré à partir du `dict` « context » que vous avez passé :
    
    ```Python
    {"id": id}
    ```
    
    Par exemple, avec un ID de `42`, cela rendrait :
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  4. internal/dsync/drwmutex.go

    	ctx, cancel := context.WithTimeout(ctx, ds.Timeouts.Acquire)
    	defer cancel()
    
    	// Special context for NetLockers - do not use timeouts.
    	// Also, pass the trace context info if found for debugging
    	netLockCtx := context.Background()
    
    	tc, ok := ctx.Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt)
    	if ok {
    		netLockCtx = context.WithValue(netLockCtx, mcontext.ContextTraceKey, tc)
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

                this.createContexts = contexts.toArray(new CreateContextResponse[0]);
            }
    
            if (log.isDebugEnabled()) {
                log.debug("Opened " + this.fileName + ": " + Hexdump.toHexString(this.fileId));
            }
    
            return bufferIndex - start;
        }
    
        /**
         * Factory method to create appropriate context response based on context name
         * @param nameBytes context name bytes
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  6. src/cmd/api/main_test.go

    			t.Fatal(err)
    		}
    		nextFiles = next
    	}
    
    	for _, c := range contexts {
    		c.Compiler = build.Default.Compiler
    	}
    
    	walkers := make([]*Walker, len(contexts))
    	var wg sync.WaitGroup
    	for i, context := range contexts {
    		wg.Add(1)
    		go func() {
    			defer wg.Done()
    			walkers[i] = NewWalker(context, filepath.Join(testenv.GOROOT(t), "src"))
    		}()
    	}
    	wg.Wait()
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Mar 02 13:20:41 GMT 2026
    - 31.4K bytes
    - Click Count (0)
  7. cmd/api-response.go

    		}
    		content.Key = s3EncodeName(object.Name, encodingType)
    		content.LastModified = amztime.ISO8601Format(object.ModTime.UTC())
    		if object.ETag != "" {
    			content.ETag = "\"" + object.ETag + "\""
    		}
    		content.Size = object.Size
    		if object.StorageClass != "" {
    			content.StorageClass = filterStorageClass(ctx, object.StorageClass)
    		} else {
    			content.StorageClass = globalMinioDefaultStorageClass
    		}
    		content.Owner = owner
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:05:19 GMT 2025
    - 35K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            i += 4;
    
            assert i == body.length;
            return body;
        }
    
        /**
         * Build a CREATE response body with a single, unrecognized create context.
         * The parser should iterate it but produce an empty contexts array.
         */
        private static byte[] buildCreateBodyWithContext(byte[] fileId, int contextStartOffsetFromHeader) {
            // Base body part size (up to and including CreateContextsLength)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  9. docs/es/llm-prompt.md

    * dependable: dependable (do not translate to "confiable" or "fiable")
    * list (as in Python list): list
    * context manager: context manager (do not translate to "gestor de contexto" or "administrador de contexto")
    * a little bit: un poquito
    * graph (data structure, as in "dependency graph"): grafo (do not translate to "gráfico")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                // Arrange
                NegotiateContextResponse[] contexts =
                        new NegotiateContextResponse[] { new PreauthIntegrityNegotiateContext(), new EncryptionNegotiateContext() };
    
                // Act & Assert
                for (NegotiateContextResponse context : contexts) {
                    assertNotNull(context);
                    assertTrue(context.getContextType() > 0);
                }
            }
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.4K bytes
    - Click Count (0)
Back to Top