Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for getThing (0.31 sec)

  1. src/net/http/transport_test.go

    	req.Header["X-Foo-Multiple-Vals"] = []string{"bar", "baz"}
    	trace := &httptrace.ClientTrace{
    		GetConn:              func(hostPort string) { logf("Getting conn for %v ...", hostPort) },
    		GotConn:              func(ci httptrace.GotConnInfo) { logf("got conn: %+v", ci) },
    		GotFirstResponseByte: func() { logf("first response byte") },
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  2. pkg/controller/job/job_controller_test.go

    					startTime := metav1.NewTime(*tc.initialStatus.startTime)
    					job.Status.StartTime = &startTime
    				}
    			}
    
    			key, err := controller.KeyFunc(job)
    			if err != nil {
    				t.Errorf("Unexpected error getting job key: %v", err)
    			}
    
    			if tc.backoffRecord != nil {
    				tc.backoffRecord.key = key
    				manager.podBackoffStore.updateBackoffRecord(*tc.backoffRecord)
    			}
    			if tc.fakeExpectationAtCreation < 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  3. cmd/site-replication.go

    			info.Buckets[bucket] = bms
    		}
    	}
    
    	if opts.Users && opts.Groups && opts.Policies && !opts.Buckets {
    		// serialize SiteReplicationMetaInfo calls - if data in cache is within
    		// healing interval, avoid fetching IAM data again from disk.
    		if metaInfo, ok := c.getSRCachedIAMInfo(); ok {
    			return metaInfo, nil
    		}
    	}
    	if opts.Policies || opts.Entity == madmin.SRPolicyEntity {
    		var allPolicies map[string]PolicyDoc
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc_test.go

    			}`,
    			optsFunc: func(opts *Options) {
    				opts.CAContentProvider = nil // unset CA automatically set by the test to allow us to use a custom client
    			},
    			wantErr: `oidc: could not expand distributed claims: while getting distributed claim "groups": Get "{{.URL}}/groups": some unexpected oidc error`,
    		},
    		{
    			name: "groups-distributed-malformed-claim-names",
    			options: Options{
    				JWTAuthenticator: apiserver.JWTAuthenticator{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 97.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    		}
    	}
    
    	ctx, cancel := context.WithCancel(testContext)
    
    	lock := sync.Mutex{}
    	called := false
    
    	// We rely on the fact that there is exactly one worker, so it should exit after
    	// getting context canceled error on the first Delete call to etcd.
    	// With multiple workers, each of them would be calling Delete once.
    	_, err := registry.DeleteCollection(ctx, func(ctx context.Context, obj runtime.Object) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  6. src/net/http/serve_test.go

    			t.Fatal(err)
    		}
    		for len(headers) > 0 {
    			req.Header.Add(headers[0], headers[1])
    			headers = headers[2:]
    		}
    		res, err := c.Do(req)
    		if err != nil {
    			t.Errorf("Error fetching %s: %v", url, err)
    			return
    		}
    		_, err = io.ReadAll(res.Body)
    		defer res.Body.Close()
    		if err != nil {
    			t.Errorf("Error reading %s: %v", url, err)
    		}
    	}
    
    	wantLog(func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  7. pkg/scheduler/schedule_one_test.go

    			pods: []*v1.Pod{
    				{Spec: large1}, {Spec: noResources1},
    				{Spec: large2}, {Spec: small2},
    			},
    			expectedScore: 150,
    		},
    		// The point of this test is to verify that we're not just getting the same score no matter what we schedule.
    		{
    			pod:   &v1.Pod{Spec: large},
    			nodes: []*v1.Node{makeNode("node1", 1000, schedutil.DefaultMemoryRequest*10), makeNode("node2", 1000, schedutil.DefaultMemoryRequest*10)},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  8. src/cmd/go/internal/work/exec.go

    			}
    		}()
    	}
    
    	// Build list of all actions, assigning depth-first post-order priority.
    	// The original implementation here was a true queue
    	// (using a channel) but it had the effect of getting
    	// distracted by low-level leaf actions to the detriment
    	// of completing higher-level actions. The order of
    	// work does not matter much to overall execution time,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/data.go

    			syms[first+0] = rel
    			syms[first+1] = plt
    
    			// Make sure alignment doesn't introduce a gap.
    			// Setting the alignment explicitly prevents
    			// symalign from basing it on the size and
    			// getting it wrong.
    			ldr.SetSymAlign(rel, int32(ctxt.Arch.RegSize))
    			ldr.SetSymAlign(plt, int32(ctxt.Arch.RegSize))
    		}
    		state.data[sym.SELFROSECT] = syms
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  10. src/net/http/server.go

    		// connection.
    		return false
    	}
    
    	if w.req.Method != "HEAD" && w.contentLength != -1 && w.bodyAllowed() && w.contentLength != w.written {
    		// Did not write enough. Avoid getting out of sync.
    		return false
    	}
    
    	// There was some error writing to the underlying connection
    	// during the request, so don't re-use this conn.
    	if w.conn.werr != nil {
    		return false
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
Back to top