Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 322 for hit (0.17 sec)

  1. src/internal/coverage/pods/pods.go

    	for _, f := range files {
    		base := filepath.Base(f)
    		if m := metaRE.FindStringSubmatch(base); m != nil {
    			tag := m[1]
    			// We need to allow for the possibility of duplicate
    			// meta-data files. If we hit this case, use the
    			// first encountered as the canonical version.
    			if _, ok := mm[tag]; !ok {
    				mm[tag] = protoPod{mf: f}
    			}
    			// FIXME: should probably check file length and hash here for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. src/compress/bzip2/huffman.go

    		// a bug in the encoder. However, this bug has been observed in
    		// the wild so we handle it.
    
    		// If this function was called recursively then we know that
    		// len(codes) >= 2 because, otherwise, we would have hit the
    		// "leaf node" case, below, and not recurred.
    		//
    		// However, for the initial call it's possible that len(codes)
    		// is zero or one. Both cases are invalid because a zero length
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:44:37 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. pkg/kubelet/apis/config/helpers_test.go

    		paths.Insert(sets.List(allPrimitiveFieldPaths(t, skipRecurseList, tp.Elem(), path.Key("*")))...)
    	case reflect.Interface:
    		t.Fatalf("unexpected interface{} field %s", path.String())
    	default:
    		// if we hit a primitive type, we're at a leaf
    		paths.Insert(path.String())
    	}
    	return paths
    }
    
    //lint:file-ignore U1000 Ignore dummy types, used by tests.
    
    // dummy helper types
    type foo struct {
    	foo int
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. tests/util/leak/check.go

    func check(filter func(in []*goroutine) []*goroutine) error {
    	// Loop, waiting for goroutines to shut down.
    	// Wait up to timeout, but finish as quickly as possible.
    	// The timeout here is not super sensitive, since if we hit this we will fail; a happy case will finish quickly
    	deadline := time.Now().Add(gracePeriod)
    	var leaked []*goroutine
    	var err error
    	delay := time.Duration(0)
    	for time.Now().Before(deadline) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 20 10:22:38 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/dra/claiminfo_test.go

    	namespace := "test-namespace"
    	for _, test := range []struct {
    		description    string
    		claimInfo      *ClaimInfo
    		claimInfoCache *claimInfoCache
    		expectedResult bool
    	}{
    		{
    			description: "cache hit",
    			claimInfoCache: &claimInfoCache{
    				claimInfo: map[string]*ClaimInfo{
    					namespace + "/" + claimName: {
    						ClaimInfoState: state.ClaimInfoState{
    							ClaimName: claimName,
    							Namespace: namespace,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:31 UTC 2024
    - 21K bytes
    - Viewed (0)
  6. src/net/http/httptest/server_test.go

    	res, err := http.Get(s.URL)
    	if err == nil {
    		res.Body.Close()
    		t.Fatalf("Unexpected response: %#v", res)
    	}
    }
    
    // Tests that the Server.Client method works and returns an http.Client that can hit
    // NewTLSServer without cert warnings.
    func testServerClient(t *testing.T, newTLSServer newServerFunc) {
    	ts := newTLSServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		w.Write([]byte("hello"))
    	}))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 16:57:12 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. src/runtime/testdata/testprog/lockosthread.go

    			// in handoffp.
    			go func() {}()
    
    			runtime.LockOSThread()
    			runtime.Gosched() // add a preemption point.
    			wg.Done()
    		}()
    	}
    
    	wg.Wait()
    	// If both LockOSThreads completed then we did not hit the race.
    	println("OK")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:00:09 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/DefaultVersionedComponentChooser.java

                return null;
            }
    
            // At this point, we need the component metadata, because it may declare attributes that are needed for matching
            // Component metadata may not necessarily hit the network if there is a custom component metadata supplier
            ComponentMetadata componentMetadata = provider.getComponentMetadata();
            if (componentMetadata != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 13 17:41:33 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/cluster.go

    	services []*model.Service,
    ) ([]*discovery.Resource, cacheStats) {
    	resources := make([]*discovery.Resource, 0)
    	efKeys := cp.efw.KeysApplyingTo(networking.EnvoyFilter_CLUSTER)
    	hit, miss := 0, 0
    	for _, service := range services {
    		if service.Resolution == model.Alias {
    			continue
    		}
    		for _, port := range service.Ports {
    			if port.Protocol == protocol.UDP {
    				continue
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/envelope_test.go

    					t.Fatalf("envelopeTransformer transformed data incorrectly. Expected: %v, got %v", originalText, untransformedData)
    				}
    			}
    		})
    	}
    }
    
    // Makes Envelope transformer hit cache limit, throws error if it misbehaves.
    func TestEnvelopeCacheLimit(t *testing.T) {
    	cbcTransformer := func(block cipher.Block) (value.Transformer, error) {
    		return aestransformer.NewCBCTransformer(block), nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 14:23:50 UTC 2023
    - 10.1K bytes
    - Viewed (0)
Back to top