Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 100 for ErrRange (0.15 sec)

  1. pkg/util/hash/hash_test.go

    type wheel struct {
    	radius uint32
    }
    
    type unicycle struct {
    	primaryWheel   *wheel
    	licencePlateID string
    	tags           map[string]string
    }
    
    func TestDeepObjectPointer(t *testing.T) {
    	// Arrange
    	wheel1 := wheel{radius: 17}
    	wheel2 := wheel{radius: 22}
    	wheel3 := wheel{radius: 17}
    
    	myUni1 := unicycle{licencePlateID: "blah", primaryWheel: &wheel1, tags: map[string]string{"color": "blue", "name": "john"}}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 27 01:24:22 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. src/runtime/signal_arm64.go

    func (c *sigctxt) siglr() uintptr    { return uintptr(c.lr()) }
    
    // preparePanic sets up the stack to look like a call to sigpanic.
    func (c *sigctxt) preparePanic(sig uint32, gp *g) {
    	// We arrange lr, and pc to pretend the panicking
    	// function calls sigpanic directly.
    	// Always save LR to stack so that panics in leaf
    	// functions are correctly handled. This smashes
    	// the stack frame but we're not going back there
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 05 18:16:00 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. src/runtime/signal_ppc64x.go

    func (c *sigctxt) siglr() uintptr { return uintptr(c.link()) }
    
    // preparePanic sets up the stack to look like a call to sigpanic.
    func (c *sigctxt) preparePanic(sig uint32, gp *g) {
    	// We arrange link, and pc to pretend the panicking
    	// function calls sigpanic directly.
    	// Always save LINK to stack so that panics in leaf
    	// functions are correctly handled. This smashes
    	// the stack frame but we're not going back there
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 15:08:04 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top