Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 108 for ErrRange (0.13 sec)

  1. cmd/metacache.go

    	// but may cause additional latency to some calls.
    	metacacheSharePrefix = false
    )
    
    //go:generate msgp -file $GOFILE -unexported
    
    // metacache contains a tracked cache entry.
    type metacache struct {
    	// do not re-arrange the struct this struct has been ordered to use less
    	// space - if you do so please run https://github.com/orijtech/structslop
    	// and verify if your changes are optimal.
    	ended        time.Time  `msg:"end"`
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. pkg/kubelet/volumemanager/reconciler/reconstruct_test.go

    			volumesFailedReconstruction: []podVolume{defaultVolume},
    			expectedUnmounts:            1,
    		},
    	}
    	for _, tc := range tests {
    		t.Run(tc.name, func(t *testing.T) {
    			// Arrange
    			tmpKubeletDir, err := os.MkdirTemp("", "")
    			if err != nil {
    				t.Fatalf("can't make a temp directory for kubeletPods: %v", err)
    			}
    			defer os.RemoveAll(tmpKubeletDir)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  3. src/net/writev_test.go

    	c2 := <-ch
    	if c2 == nil {
    		t.Fatal("no server side connection")
    	}
    	c2.Close()
    
    	// 1 GB of data should be enough to notice the connection is gone.
    	// Just a few bytes is not enough.
    	// Arrange to reuse the same 1 MB buffer so that we don't allocate much.
    	buf := make([]byte, 1<<20)
    	buffers := make(Buffers, 1<<10)
    	for i := range buffers {
    		buffers[i] = buf
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 5K bytes
    - Viewed (0)
  4. pkg/controller/volume/attachdetach/attach_detach_controller_test.go

    	)
    
    	if err != nil {
    		t.Fatalf("Run failed with error. Expected: <no error> Actual: <%v>", err)
    	}
    	return adcObj.(*attachDetachController)
    }
    
    func Test_NewAttachDetachController_Positive(t *testing.T) {
    	// Arrange
    	fakeKubeClient := controllervolumetesting.CreateTestClient()
    	informerFactory := informers.NewSharedInformerFactory(fakeKubeClient, controller.NoResyncPeriodFunc())
    	tCtx := ktesting.Init(t)
    
    	// Act
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  5. cmd/kube-apiserver/app/options/options.go

    	s.Options.AddFlags(&fss)
    	s.CloudProvider.AddFlags(fss.FlagSet("cloud provider"))
    
    	// Note: the weird ""+ in below lines seems to be the only way to get gofmt to
    	// arrange these text blocks sensibly. Grrr.
    	fs := fss.FlagSet("misc")
    
    	fs.BoolVar(&s.AllowPrivileged, "allow-privileged", s.AllowPrivileged,
    		"If true, allow privileged containers. [default=false]")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. src/index/suffixarray/suffixarray_test.go

    		// Construct a pathological input that forces
    		// recurse_32 to allocate a new temporary buffer.
    		// The input must have more than N/3 LMS-substrings,
    		// which we arrange by repeating an SLSLSLSLSLSL pattern
    		// like ababab... above, but then we must also arrange
    		// for a large number of distinct LMS-substrings.
    		// We use this pattern:
    		// 1 255 1 254 1 253 1 ... 1 2 1 255 2 254 2 253 2 252 2 ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. src/time/zoneinfo_windows.go

    	// return above.
    	std.offset = -int(i.Bias+i.StandardBias) * 60
    
    	dst := &l.zone[1]
    	dst.name = dstname
    	dst.offset = -int(i.Bias+i.DaylightBias) * 60
    	dst.isDST = true
    
    	// Arrange so that d0 is first transition date, d1 second,
    	// i0 is index of zone after first transition, i1 second.
    	d0 := &i.StandardDate
    	d1 := &i.DaylightDate
    	i0 := 0
    	i1 := 1
    	if d0.Month > d1.Month {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 07:20:34 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  8. src/sync/rwmutex.go

    // not locked for writing on entry to Unlock.
    //
    // As with Mutexes, a locked [RWMutex] is not associated with a particular
    // goroutine. One goroutine may [RWMutex.RLock] ([RWMutex.Lock]) a RWMutex and then
    // arrange for another goroutine to [RWMutex.RUnlock] ([RWMutex.Unlock]) it.
    func (rw *RWMutex) Unlock() {
    	if race.Enabled {
    		_ = rw.w.state
    		race.Release(unsafe.Pointer(&rw.readerSem))
    		race.Disable()
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. pkg/volume/csi/csi_plugin_test.go

    			endpoint:   "/var/log/kubelet/plugins_registry/myplugin/csi.sock",
    			versions:   []string{"var", "boo", "foo"},
    			shouldFail: true,
    		},
    	}
    
    	for _, tc := range testCases {
    		// Arrange & Act
    		err := PluginHandler.ValidatePlugin(tc.pluginName, tc.endpoint, tc.versions)
    
    		// Assert
    		if tc.shouldFail && err == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  10. src/net/rpc/client.go

    	call := new(Call)
    	call.ServiceMethod = serviceMethod
    	call.Args = args
    	call.Reply = reply
    	if done == nil {
    		done = make(chan *Call, 10) // buffered.
    	} else {
    		// If caller passes done != nil, it must arrange that
    		// done has enough buffer for the number of simultaneous
    		// RPCs that will be using that channel. If the channel
    		// is totally unbuffered, it's best not to run at all.
    		if cap(done) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top