Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 801 - 810 of 1,832 for context_ (0.35 seconds)

  1. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/InternalDistributionArchiveSetupPluginFuncTest.groovy

            plugins {
                id 'elasticsearch.internal-distribution-archive-setup'
            }
            """
            file('someFile.txt') << "some content"
        }
    
        def "applies defaults to tar tasks"() {
            given:
            file('someFile.txt') << "some content"
            buildFile << """
            tasks.register('${buildTaskName}', SymbolicLinkPreservingTar) {
                from 'someFile.txt'
            }
            """
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 8.4K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/io/ResourcesTest.java

        // loader, even if it is not visible to the loader of the Resources class.
    
        File tempFile = createTempFile();
        PrintWriter writer = new PrintWriter(tempFile, "UTF-8");
        writer.println("rud a chur ar an méar fhada");
        writer.close();
    
        // First check that we can't find it without setting the context loader.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  3. internal/deadlineconn/deadlineconn.go

    func (c *DeadlineConn) Read(b []byte) (n int, err error) {
    	if c.abortReads.Load() {
    		return 0, context.DeadlineExceeded
    	}
    	c.setReadDeadline()
    	n, err = c.Conn.Read(b)
    	return n, err
    }
    
    // Write - writes data to the connection.
    func (c *DeadlineConn) Write(b []byte) (n int, err error) {
    	if c.abortWrites.Load() {
    		return 0, context.DeadlineExceeded
    	}
    	c.setWriteDeadline()
    	n, err = c.Conn.Write(b)
    	return n, err
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Dec 02 13:21:17 GMT 2024
    - 5.1K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/Kerb5ContextTest.java

                SmbException ex = assertThrows(SmbException.class, () -> ctx.dispose());
                assertTrue(ex.getMessage().contains("Context disposal failed"));
            }
    
            @Test
            @DisplayName("dispose with null context is no-op")
            void dispose_nullContext_noop() throws Exception {
                setPrivateField(ctx, "gssContext", null);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  5. cmd/object-lambda-handlers_test.go

    			if res.StatusCode != expectStatus {
    				t.Errorf("Expected status %d, got %d", expectStatus, res.StatusCode)
    			}
    
    			if contentType != "" {
    				if ct := res.Header.Get("Content-Type"); ct != contentType {
    					t.Errorf("Expected Content-Type %q, got %q", contentType, ct)
    				}
    			}
    
    			if res.StatusCode < 400 {
    				if string(respBody) != lambdaBody {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jul 18 21:56:31 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  6. callbacks/raw.go

    package callbacks
    
    import (
    	"gorm.io/gorm"
    )
    
    func RawExec(db *gorm.DB) {
    	if db.Error == nil && !db.DryRun {
    		result, err := db.Statement.ConnPool.ExecContext(db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...)
    		if err != nil {
    			db.AddError(err)
    			return
    		}
    
    		db.RowsAffected, _ = result.RowsAffected()
    
    		if db.Statement.Result != nil {
    			db.Statement.Result.Result = result
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 468 bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/io/ResourcesTest.java

        // loader, even if it is not visible to the loader of the Resources class.
    
        File tempFile = createTempFile();
        PrintWriter writer = new PrintWriter(tempFile, "UTF-8");
        writer.println("rud a chur ar an méar fhada");
        writer.close();
    
        // First check that we can't find it without setting the context loader.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  8. fastapi/exceptions.py

                    return f"\n  Endpoint: {self.endpoint_path}"
                return ""
    
            context = f'\n  File "{self.endpoint_file}", line {self.endpoint_line}, in {self.endpoint_function}'
            if self.endpoint_path:
                context += f"\n    {self.endpoint_path}"
            return context
    
        def __str__(self) -> str:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:41:21 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  9. benchmarks/src/main/java/org/elasticsearch/benchmark/script/ScriptScoreBenchmark.java

                            ScoreScript.CONTEXT,
                            Map.of()
                        );
                    break;
                case "painless_def":
                    factory = scriptModule.engines.get("painless").compile("test", "doc['n'].value", ScoreScript.CONTEXT, Map.of());
                    break;
                default:
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 20 13:45:50 GMT 2021
    - 8.1K bytes
    - Click Count (0)
  10. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy

        CtClass incubatingInterface
        CtClass stablePublicInterface
    
        Map interfaces
    
        def setup() {
            rule = new IncubatingInternalInterfaceAddedRule(getInitializationParams())
            rule.context = context
    
            oldBase = instanceScopedPool.get(OldBase.name)
            newBase = instanceScopedPool.get(NewBase.name)
            newSuper = instanceScopedPool.get(NewSuper.name)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 4K bytes
    - Click Count (0)
Back to Top