Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 210 for fInt64 (0.61 sec)

  1. cmd/erasure-server-pool.go

    type poolAvailableSpace struct {
    	Index      int
    	Available  uint64 // in bytes
    	MaxUsedPct int    // Used disk percentage of most filled disk, rounded down.
    }
    
    // TotalAvailable - total available space
    func (p serverPoolsAvailableSpace) TotalAvailable() uint64 {
    	total := uint64(0)
    	for _, z := range p {
    		total += z.Available
    	}
    	return total
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
  2. tests/query_test.go

    		t.Fatalf("Build OR condition, but got %v", result.Statement.SQL.String())
    	}
    }
    
    type Int64 int64
    
    func (v Int64) Value() (driver.Value, error) {
    	return v - 1, nil
    }
    
    func (f *Int64) Scan(v interface{}) error {
    	y := v.(int64)
    	*f = Int64(y + 1)
    	return nil
    }
    
    func TestPluck(t *testing.T) {
    	users := []*User{
    		GetUser("pluck-user1", Config{}),
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 49.8K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/devicemanager/manager_test.go

    	oneDevice := resource.NewQuantity(int64(1), resource.DecimalSI)
    	twoDevice := resource.NewQuantity(int64(2), resource.DecimalSI)
    	threeDevice := resource.NewQuantity(int64(3), resource.DecimalSI)
    	res1 := TestResource{
    		resourceName:     "domain1.com/resource1",
    		resourceQuantity: *resource.NewQuantity(int64(6), resource.DecimalSI),
    		devs: checkpoint.DevicesPerNUMA{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  4. cmd/object-api-multipart_test.go

    		{bucketNames[0], objectNames[0], uploadIDs[0], 4, "mnop", "e132e96a5ddad6da8b07bba6f6131fef", int64(len("abcd"))},
    		// Part with size larger than 5Mb.
    		{bucketNames[0], objectNames[0], uploadIDs[0], 5, string(validPart), validPartMD5, int64(len(validPart))},
    		{bucketNames[0], objectNames[0], uploadIDs[0], 6, string(validPart), validPartMD5, int64(len(validPart))},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  5. src/cmd/link/internal/loader/loader.go

    		batch = make([]extSymPayload, 1000)
    	}
    	p := &batch[0]
    	l.payloadBatch = batch[1:]
    	return p
    }
    
    func (ms *extSymPayload) Grow(siz int64) {
    	if int64(int(siz)) != siz {
    		log.Fatalf("symgrow size %d too long", siz)
    	}
    	if int64(len(ms.data)) >= siz {
    		return
    	}
    	if cap(ms.data) < int(siz) {
    		cl := len(ms.data)
    		ms.data = append(ms.data, make([]byte, int(siz)+1-cl)...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v2.go

    	PartSizes          []int64           `json:"PartSizes" msg:"PartSizes"`                      // Part Sizes
    	PartActualSizes    []int64           `json:"PartASizes,omitempty" msg:"PartASizes,allownil"` // Part ActualSizes (compression)
    	PartIndices        [][]byte          `json:"PartIndices,omitempty" msg:"PartIdx,omitempty"`  // Part Indexes (compression)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/podtopologyspread/scoring_test.go

    						NodeTaintsPolicy:   v1.NodeInclusionPolicyIgnore,
    					},
    				},
    				IgnoredNodes: sets.New[string](),
    				TopologyPairToPodCounts: map[topologyPair]*int64{
    					{key: "zone", value: "zone1"}: ptr.To[int64](0),
    					{key: "zone", value: "zone2"}: ptr.To[int64](0),
    				},
    				TopologyNormalizingWeight: []float64{topologyNormalizingWeight(2), topologyNormalizingWeight(3)},
    			},
    		},
    		{
    			name: "null selector",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 60K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go

    	binding2.Spec.PolicyName = policy2.Name
    
    	evaluations1 := atomic.Int64{}
    	evaluations2 := atomic.Int64{}
    
    	compiler.RegisterDefinition(&policy1, func(ctx context.Context, matchedResource schema.GroupVersionResource, versionedAttr *admission.VersionedAttributes, versionedParams runtime.Object, namespace *v1.Namespace, runtimeCELCostBudget int64, authz authorizer.Authorizer) validating.ValidateResult {
    		evaluations1.Add(1)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 01:39:01 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store.go

    func (e *Store) calculateTTL(obj runtime.Object, defaultTTL int64, update bool) (ttl uint64, err error) {
    	// TODO: validate this is assertion is still valid.
    
    	// etcd may return a negative TTL for a node if the expiration has not
    	// occurred due to server lag - we will ensure that the value is at least
    	// set.
    	if defaultTTL < 0 {
    		defaultTTL = 1
    	}
    	ttl = uint64(defaultTTL)
    	if e.TTLFunc != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 23:22:44 UTC 2024
    - 60.8K bytes
    - Viewed (0)
  10. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    	assert.Len(t, actual, 3)
    
    	// Verify that the pods are sorted by their creation time (newest/biggest timestamp first)
    	assert.Equal(t, uint64(createdTimestamps[2]), actual[0].CreatedAt)
    	assert.Equal(t, uint64(createdTimestamps[0]), actual[1].CreatedAt)
    	assert.Equal(t, uint64(createdTimestamps[1]), actual[2].CreatedAt)
    }
    
    func TestKillPod(t *testing.T) {
    	ctx := context.Background()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
Back to top