Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 68 for tstamp (0.51 sec)

  1. pkg/api/testing/serialization_test.go

    	} else {
    		if obj2, ok := obj.(*api.Pod); !ok {
    			t.Fatalf("Got wrong type")
    		} else {
    			if obj2.ObjectMeta.CreationTimestamp.UnixNano() != parseTimeOrDie("2018-08-30T14:10:58Z").UnixNano() {
    				t.Fatalf("Time stamps do not match")
    			}
    		}
    	}
    }
    
    // TestBadJSONRejection establishes that a JSON object without a kind or with
    // an unknown kind will not be decoded without error.
    func TestBadJSONRejection(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  2. src/time/example_test.go

    	// We stress that one must show how the reference time is formatted,
    	// not a time of the user's choosing. Thus each layout string is a
    	// representation of the time stamp,
    	//	Jan 2 15:04:05 2006 MST
    	// An easy way to remember this value is that it holds, when presented
    	// in this order, the values (lined up with the elements above):
    	//	  1 2  3  4  5    6  -7
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 01:05:00 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  3. src/runtime/profbuf.go

    		skip = len(b.data) - wd
    		nd -= skip
    		wd = 0
    	}
    	data := b.data[wd:]
    	data[0] = uint64(2 + b.hdrsize + uintptr(len(stk))) // length
    	data[1] = uint64(now)                               // time stamp
    	// header, zero-padded
    	i := copy(data[2:2+b.hdrsize], hdr)
    	clear(data[2+i : 2+b.hdrsize])
    	for i, pc := range stk {
    		data[2+b.hdrsize+uintptr(i)] = uint64(pc)
    	}
    
    	for {
    		// Commit write.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. cmd/iam-object-store.go

    	}
    
    	if u.Credentials.AccessKey == "" {
    		u.Credentials.AccessKey = user
    	}
    
    	if u.Credentials.SessionToken != "" {
    		jwtClaims, err := extractJWTClaims(u)
    		if err != nil {
    			if u.Credentials.IsTemp() {
    				// We should delete such that the client can re-request
    				// for the expiring credentials.
    				iamOS.deleteIAMConfig(ctx, getUserIdentityPath(user, userType))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  5. pkg/slices/slices_test.go

    		output = FilterInPlace(input, func(s *s) bool {
    			return s != nil && s.Junk != "c"
    		})
    	})
    	assert.Equal(t, output, []*s{{"b"}})
    	assert.Equal(t, input, []*s{{"b"}, nil, nil})
    }
    
    func TestMap(t *testing.T) {
    	tests := []struct {
    		name     string
    		elements []int
    		fn       func(int) int
    		want     []int
    	}{
    		{
    			name:     "empty element",
    			elements: []int{},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  6. operator/pkg/manifest/shared.go

    	outYAML, err := helm.GetProfileYAML(installPackagePath, profileOrPath)
    	if err != nil {
    		return "", nil, err
    	}
    
    	// Hub and tag are only known at build time and must be passed in here during runtime from build stamps.
    	outYAML, err = overlayHubAndTag(outYAML)
    	if err != nil {
    		return "", nil, err
    	}
    
    	// Merge k8s specific values.
    	if client != nil {
    		kubeOverrides, err := getClusterSpecificValues(client)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 03 06:27:07 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  7. src/cmd/go/internal/cache/cache.go

    	// Note: We expect that for one reason or another it may happen
    	// that repeating an action produces a different output hash
    	// (for example, if the output contains a time stamp or temp dir name).
    	// While not ideal, this is also not a correctness problem, so we
    	// don't make a big deal about it. In particular, we leave the action
    	// cache entries writable specifically so that they can be overwritten.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/generated.proto

      // e.g. when validation checks if a specific attribute `foo` under a map `testMap`, the fieldPath could be set to `.testMap.foo`
      // If the validation checks two lists must have unique attributes, the fieldPath could be set to either of the list: e.g. `.testList`
      // It does not support list numeric index.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  9. src/math/big/nat_test.go

    	{nat{1}, nat{0, _M}, -1},
    	{nat{1, _M}, nat{0, _M}, 1},
    	{nat{0, _M}, nat{1, _M}, -1},
    	{nat{16, 571956, 8794, 68}, nat{837, 9146, 1, 754489}, -1},
    	{nat{34986, 41, 105, 1957}, nat{56, 7458, 104, 1957}, 1},
    }
    
    func TestCmp(t *testing.T) {
    	for i, a := range cmpTests {
    		r := a.x.cmp(a.y)
    		if r != a.r {
    			t.Errorf("#%d got r = %v; want %v", i, r, a.r)
    		}
    	}
    }
    
    type funNN func(z, x, y nat) nat
    type argNN struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 09 15:29:36 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/generated.proto

      // e.g. when validation checks if a specific attribute `foo` under a map `testMap`, the fieldPath could be set to `.testMap.foo`
      // If the validation checks two lists must have unique attributes, the fieldPath could be set to either of the list: e.g. `.testList`
      // It does not support list numeric index.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
Back to top