Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,450 for Stalled (0.36 sec)

  1. docs/features/caching.md

            urlIterator.remove()
          }
        }
    ```
    
    ### Troubleshooting
    
    1. Valid cacheable responses are not being cached
    
    Make sure you are reading responses fully as unless they are read fully, cancelled or stalled Responses will not be cached.
    
    ### Overriding normal cache behaviour
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  2. src/net/http/transport.go

    //
    // If earlyCloseFn is non-nil and Close is called before io.EOF is
    // seen, earlyCloseFn is called instead of fn, and its return value is
    // the return value from Close.
    type bodyEOFSignal struct {
    	body         io.ReadCloser
    	mu           sync.Mutex        // guards following 4 fields
    	closed       bool              // whether Close has been called
    	rerr         error             // sticky Read error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/LazyAdditionToDomainObjectCollectionIntegrationTest.groovy

                }
                container.addLater(provider { create(Base) })
            """
            expect:
            succeeds("help")
            outputContains("withType(Base) called on ")
        }
        def "addLater(Base) triggers configuration with eager withType(Sub)"() {
            buildFile << """
                container.withType(Sub) {
                    println "withType(Sub) called on " + it
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 10 20:36:26 UTC 2021
    - 8.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/quota/v1/generic/evaluator_test.go

    func TestCachedHasSynced(t *testing.T) {
    
    	called := 0
    	result := false
    	cachedFunc := cachedHasSynced(func() bool {
    		called++
    		return result
    	})
    
    	if cachedFunc() {
    		t.Fatal("expected false")
    	}
    	if called != 1 {
    		t.Fatalf("expected called=1, got %d", called)
    	}
    
    	if cachedFunc() {
    		t.Fatal("expected false")
    	}
    	if called != 2 {
    		t.Fatalf("expected called=2, got %d", called)
    	}
    
    	result = true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 04 12:53:52 UTC 2020
    - 3K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/rules/ClosureBackedRuleActionTest.groovy

        def "one arg closure called with subject and no inputs"() {
            given:
            def called = false
            String thing = "1"
            def closure = { String val ->
                called = true
                assert val.is(thing)
                assert delegate.is(thing)
            }
    
            when:
            action(closure).execute(thing, [])
    
            then:
            called
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/ActionsTest.groovy

            given:
            def called = false
            def action = filter(action { called = true }, spec { true })
    
            when:
            action.execute "object"
    
            then:
            called
        }
    
        def "filtered action doesnt fire for not matching"() {
            given:
            def called = false
            def action = filter(action { called = true }, spec { false })
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5K bytes
    - Viewed (0)
  7. src/net/http/httptrace/trace.go

    	// GotFirstResponseByte is called when the first byte of the response
    	// headers is available.
    	GotFirstResponseByte func()
    
    	// Got100Continue is called if the server replies with a "100
    	// Continue" response.
    	Got100Continue func()
    
    	// Got1xxResponse is called for each 1xx informational response header
    	// returned before the final non-1xx response. Got1xxResponse is called
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/test_benchmark_1x.txt

    import (
    	"fmt"
    	"os"
    	"testing"
    )
    
    var called = false
    
    func TestMain(m *testing.M) {
    	m.Run()
    	if !called {
    		fmt.Println("benchmark never called")
    		os.Exit(1)
    	}
    }
    
    func Benchmark(b *testing.B) {
    	if b.N > 1 {
    		b.Fatalf("called with b.N=%d; want b.N=1 only", b.N)
    	}
    	if called {
    		b.Fatal("called twice")
    	}
    	called = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 07 21:46:33 UTC 2021
    - 532 bytes
    - Viewed (0)
  9. staging/src/k8s.io/cli-runtime/pkg/resource/crd_finder_test.go

    	}
    	if called != 1 {
    		t.Fatalf("First call should call the getter, has called = %v", called)
    	}
    
    	_, err = finder.HasCRD(schema.GroupKind{Group: "", Kind: "Pod"})
    	if err != nil {
    		t.Fatalf("Failed to call HasCRD: %v", err)
    	}
    	if called != 1 {
    		t.Fatalf("Second call should NOT call the getter, has called = %v", called)
    	}
    }
    
    func TestCRDFinderErrors(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 05 02:24:38 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/query/QueryProcessorTest.java

                    calledFirst.set(true);
                    assertFalse(called.get());
                    QueryBuilder builder = chain.execute(context, query, boost);
                    assertTrue(called.get());
                    return builder;
                }
            });
            queryBuilder = queryProcessor.execute(context, query, 1.0f);
            assertTrue(called.get());
            assertTrue(calledFirst.get());
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top