- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 33 for makeArg (0.14 sec)
-
pilot/pkg/config/kube/crdclient/client_test.go
if len(l) != 0 { return fmt.Errorf("expected no items returned for unknown CRD") } return nil }, retry.Timeout(time.Second*5), retry.Converge(5)) clienttest.MakeCRD(t, fake, r.GroupVersionResource()) retry.UntilSuccessOrFail(t, func() error { l := store.List(r.GroupVersionKind(), "") if len(l) != 1 { return fmt.Errorf("expected items returned") }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 02:58:52 UTC 2024 - 14.1K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/settings.go
configs = append(configs, settings.Configs...) } // Convert to menu entries. result := make([]configMenuEntry, len(configs)) lastMatch := -1 for i, cfg := range configs { dst, changed := cfg.config.makeURL(u) if !changed { lastMatch = i } // Use a relative URL to work in presence of stripping/redirects in webui.go. rel := &url.URL{RawQuery: dst.RawQuery, ForceQuery: true} result[i] = configMenuEntry{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 4.2K bytes - Viewed (0) -
src/image/jpeg/scan.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package jpeg import ( "image" ) // makeImg allocates and initializes the destination image. func (d *decoder) makeImg(mxx, myy int) { if d.nComp == 1 { m := image.NewGray(image.Rect(0, 0, 8*mxx, 8*myy)) d.img1 = m.SubImage(image.Rect(0, 0, d.width, d.height)).(*image.Gray) return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 25 00:46:29 UTC 2024 - 15.7K bytes - Viewed (0) -
src/syscall/js/js.go
// value chosen for being power of two, and enough to handle all web APIs // in particular, note that WebGL2's texImage2D takes up to 10 arguments const maxStackArgs = 16 if size <= maxStackArgs { // as long as makeArgs is inlined, these will be stack-allocated argVals = make([]Value, size, maxStackArgs) argRefs = make([]ref, size, maxStackArgs) } else { // allocates on the heap, but exceeding maxStackArgs should be rare
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 14:35:26 UTC 2024 - 19.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Platform.java
return Arrays.copyOfRange(source, from, to, (Class<? extends T[]>) arrayOfType.getClass()); } /** * Configures the given map maker to use weak keys, if possible; does nothing otherwise (i.e., in * GWT). This is sometimes acceptable, when only server-side code could generate enough volume * that reclamation becomes important. */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 5.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Platform.java
return Arrays.copyOfRange(source, from, to, (Class<? extends T[]>) arrayOfType.getClass()); } /** * Configures the given map maker to use weak keys, if possible; does nothing otherwise (i.e., in * GWT). This is sometimes acceptable, when only server-side code could generate enough volume * that reclamation becomes important. */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 4.9K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/webui.go
return true } } return false } func openBrowser(url string, o *plugin.Options) { // Construct URL. baseURL, _ := gourl.Parse(url) current := currentConfig() u, _ := current.makeURL(*baseURL) // Give server a little time to get ready. time.Sleep(time.Millisecond * 500) for _, b := range browsers() { args := strings.Split(b, " ") if len(args) == 0 { continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 14K bytes - Viewed (0) -
src/runtime/syscall_windows_test.go
return cbFuncsRegABI } return cbFuncs } type cbDLL struct { name string buildArgs func(out, src string) []string } func (d *cbDLL) makeSrc(t *testing.T, path string) { f, err := os.Create(path) if err != nil { t.Fatalf("failed to create source file: %v", err) } defer f.Close() fmt.Fprint(f, ` #include <stdint.h>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 31 16:31:35 UTC 2023 - 32.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/language/match.go
// TODO: add preferred region to -u-rg-. if e := w.Extensions(); len(e) > 0 { b := language.Builder{} b.SetTag(tt) for _, e := range e { b.AddExt(e) } tt = b.Make() } return makeTag(tt), index, c } // ErrMissingLikelyTagsData indicates no information was available // to compute likely values of missing tags. var ErrMissingLikelyTagsData = errors.New("missing likely tags data")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 25.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/rest/resttest/resttest.go
return &Tester{ T: t, storage: storage, namer: defaultNamer, } } func defaultNamer(i int) string { return fmt.Sprintf("foo%d", i) } // Namer allows providing a custom name maker // By default "foo%d" is used func (t *Tester) Namer(namer func(int) string) *Tester { t.namer = namer return t } func (t *Tester) ClusterScope() *Tester { t.clusterScope = true return t }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 55.8K bytes - Viewed (0)