Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 77 for vols (0.09 sec)

  1. internal/config/config.go

    func Error[T ErrorConfig, PT interface {
    	*T
    	setMsg(string)
    }](format string, vals ...interface{},
    ) T {
    	pt := PT(new(T))
    	pt.setMsg(fmt.Sprintf(format, vals...))
    	return *pt
    }
    
    // Errorf formats an error and returns it as a generic config error
    func Errorf(format string, vals ...interface{}) ErrConfigGeneric {
    	return Error[ErrConfigGeneric](format, vals...)
    }
    
    // Default keys
    const (
    	Default = madmin.Default
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 37.8K bytes
    - Viewed (0)
  2. src/strings/strings_test.go

    			}
    		})
    	}
    }
    
    func BenchmarkJoin(b *testing.B) {
    	vals := []string{"red", "yellow", "pink", "green", "purple", "orange", "blue"}
    	for l := 0; l <= len(vals); l++ {
    		b.Run(strconv.Itoa(l), func(b *testing.B) {
    			b.ReportAllocs()
    			vals := vals[:l]
    			for i := 0; i < b.N; i++ {
    				Join(vals, " and ")
    			}
    		})
    	}
    }
    
    func BenchmarkTrimSpace(b *testing.B) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_node_status_test.go

    			existingVolumes: []v1.UniqueVolumeName{"vol1"},
    			existingNode: &v1.Node{
    				ObjectMeta: metav1.ObjectMeta{Name: testKubeletHostname, Labels: map[string]string{v1.LabelOSStable: goruntime.GOOS, v1.LabelArchStable: goruntime.GOARCH}},
    				Status: v1.NodeStatus{
    					VolumesInUse: []v1.UniqueVolumeName{"vol1"},
    				},
    			},
    			expectedReportedInUse: []v1.UniqueVolumeName{"vol1"},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/properties_providers.adoc

    ----
    
    Note that for a property to be considered a mutable managed property, the property's getter methods must be `abstract` and have `public` or `protected` visibility.
    
    The property type must be one of the following:
    
    [cols="1,1"]
    |===
    |Property Type |Note
    
    |`Property<T>`
    |Where `T` is typically `Double`, `Integer`, `Long`, `String`, or `Bool`
    
    |`RegularFileProperty`
    |Configurable regular file location, whose value is mutable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. src/debug/elf/file.go

    			t = DynTag(f.ByteOrder.Uint64(d[0:8]))
    			v = f.ByteOrder.Uint64(d[8:16])
    			d = d[16:]
    		}
    		if t == tag {
    			vals = append(vals, v)
    		}
    	}
    	return vals, nil
    }
    
    type nobitsSectionReader struct{}
    
    func (*nobitsSectionReader) ReadAt(p []byte, off int64) (n int, err error) {
    	return 0, errors.New("unexpected read from SHT_NOBITS section")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:49:58 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  6. src/runtime/map_test.go

    	type val struct {
    		s   string
    		pad [128]byte // sizeof(val) > abi.MapMaxElemBytes
    	}
    	m := map[int]val{1: {s: "a"}, 2: {s: "b"}}
    	vals := make([]val, 0, len(m))
    	runtime.MapValues(m, unsafe.Pointer(&vals))
    	for _, v := range vals {
    		if len(v.s) != 1 {
    			t.Errorf("len(v.s) == %d, want 1", len(v.s))
    		}
    	}
    }
    
    func computeHash() uintptr {
    	var v struct{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  7. cmd/kube-controller-manager/app/controllermanager.go

    	for _, f := range namedFlagSets.FlagSets {
    		fs.AddFlagSet(f)
    	}
    
    	cols, _, _ := term.TerminalSize(cmd.OutOrStdout())
    	cliflag.SetUsageAndHelpFunc(cmd, namedFlagSets, cols)
    
    	return cmd
    }
    
    // ResyncPeriod returns a function which generates a duration each time it is
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 13:03:53 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  8. cmd/iam-store.go

    		// Load any associated policy definitions
    		if !stsAccountFound {
    			pols, _ := cache.iamUserPolicyMap.Load(accessKey)
    			for _, policy := range pols.toSlice() {
    				if _, found = cache.iamPolicyDocsMap[policy]; !found {
    					err = store.loadPolicyDocWithRetry(ctx, policy, cache.iamPolicyDocsMap, 3)
    				}
    			}
    		} else {
    			pols, _ := cache.iamSTSPolicyMap.Load(stsUserCred.Credentials.AccessKey)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/graph/graph.go

    		}
    	}
    	g.RemoveRedundantEdges()
    }
    
    func joinLabels(s *profile.Sample) string {
    	if len(s.Label) == 0 {
    		return ""
    	}
    
    	var labels []string
    	for key, vals := range s.Label {
    		for _, v := range vals {
    			labels = append(labels, key+":"+v)
    		}
    	}
    	sort.Strings(labels)
    	return strings.Join(labels, `\n`)
    }
    
    // isNegative returns true if the node is considered as "negative" for the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

      int size = end - start;
    
      SmallVector<int64_t, 4> vals;
      vals.resize(size);
      std::iota(vals.begin(), vals.end(), start);
    
      TensorType ty =
          tensorflow::GetTypeFromTFTensorShape({size}, builder->getIntegerType(64));
      return DenseIntElementsAttr::get(ty, vals);
    }
    
    // Returns a 1-d i64 elements attribute populated with `val` repeated `size`
    // times.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
Back to top