Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 42 for Sr (0.03 sec)

  1. src/image/gif/writer_test.go

    		image.Rect(0, 0, 50, 100),
    		image.Rect(50, 0, 100, 100),
    	}
    	for _, sr := range subImages {
    		si := whole.SubImage(sr)
    		buf := bytes.NewBuffer(nil)
    		if err := Encode(buf, si, nil); err != nil {
    			t.Errorf("Encode: sr=%v: %v", sr, err)
    			continue
    		}
    		if _, err := Decode(buf); err != nil {
    			t.Errorf("Decode: sr=%v: %v", sr, err)
    		}
    	}
    }
    
    type offsetImage struct {
    	image.Image
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. src/cmd/go/internal/bug/bug.go

    func printOSDetails(w io.Writer) {
    	switch runtime.GOOS {
    	case "darwin", "ios":
    		printCmdOut(w, "uname -v: ", "uname", "-v")
    		printCmdOut(w, "", "sw_vers")
    	case "linux":
    		printCmdOut(w, "uname -sr: ", "uname", "-sr")
    		printCmdOut(w, "", "lsb_release", "-a")
    		printGlibcVersion(w)
    	case "openbsd", "netbsd", "freebsd", "dragonfly":
    		printCmdOut(w, "uname -v: ", "uname", "-v")
    	case "illumos", "solaris":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. src/math/rand/v2/rand_test.go

    // two statsResults are similar.
    func (sr *statsResults) checkSimilarDistribution(expected *statsResults) error {
    	if !nearEqual(sr.mean, expected.mean, expected.closeEnough, expected.maxError) {
    		s := fmt.Sprintf("mean %v != %v (allowed error %v, %v)", sr.mean, expected.mean, expected.closeEnough, expected.maxError)
    		fmt.Println(s)
    		return errors.New(s)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  4. src/math/rand/rand_test.go

    // two statsResults are similar.
    func (sr *statsResults) checkSimilarDistribution(expected *statsResults) error {
    	if !nearEqual(sr.mean, expected.mean, expected.closeEnough, expected.maxError) {
    		s := fmt.Sprintf("mean %v != %v (allowed error %v, %v)", sr.mean, expected.mean, expected.closeEnough, expected.maxError)
    		fmt.Println(s)
    		return errors.New(s)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  5. pilot/pkg/model/extensions.go

    	// Parse the secret resource name.
    	sr, err := credentials.ParseResourceName(rn, pluginNamespace, "", "")
    	if err != nil {
    		log.Debugf("Failed to parse wasm secret resource name %v", err)
    		return ""
    	}
    	// Forcely rewrite secret namespace to plugin namespace, since we require secret resource
    	// referenced by WasmPlugin co-located with WasmPlugin in the same namespace.
    	sr.Namespace = pluginNamespace
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook.go

    // Passing a nil resolver does not have an effect, instead a default one will be used.
    func (a *Webhook) SetServiceResolver(sr webhookutil.ServiceResolver) {
    	a.clientManager.SetServiceResolver(sr)
    }
    
    // SetExternalKubeClientSet implements the WantsExternalKubeInformerFactory interface.
    // It sets external ClientSet for admission plugins that need it
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/fake.go

    	XDSUpdater model.XDSUpdater
    }
    
    func (to TestOptions) FuzzValidate() bool {
    	for _, csc := range to.ConfigStoreCaches {
    		if csc == nil {
    			return false
    		}
    	}
    	for _, sr := range to.ServiceRegistries {
    		if sr == nil {
    			return false
    		}
    	}
    	return true
    }
    
    type ConfigGenTest struct {
    	t                    test.Failer
    	store                model.ConfigStoreController
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. src/net/http/clientserver_test.go

    		CheckResponse: func(proto string, res *Response) {
    			sr, ok := res.Body.(slurpResult)
    			if !ok {
    				t.Errorf("%s body is %T; want slurpResult", proto, res.Body)
    				return
    			}
    			if sr.err != io.ErrUnexpectedEOF {
    				t.Errorf("%s read error = %v; want io.ErrUnexpectedEOF", proto, sr.err)
    			}
    			if string(sr.body) != "12" {
    				t.Errorf("%s body = %q; want %q", proto, sr.body, "12")
    			}
    		},
    	}.run(t)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
  9. cmd/generic-handlers.go

    			}
    			return
    		}
    		if globalDomainIPs.Intersection(set.CreateStringSet(getHostsSlice(sr)...)).IsEmpty() {
    			r.URL.Scheme = "http"
    			if globalIsTLS {
    				r.URL.Scheme = "https"
    			}
    			r.URL.Host = getHostFromSrv(sr)
    			// Make sure we remove any existing headers before
    			// proxying the request to another node.
    			for k := range w.Header() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 01:01:15 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  10. src/crypto/tls/testdata/Client-TLSv12-ECDHE-ECDSA-CHACHA20-POLY1305

    000002c0  e0 12 70 d9 90 4d c0 34  39 f3 52 13 75 4b fa 10  |..p..M.49.R.uK..|
    000002d0  19 6f a6 2d b4 c3 8f 45  0c 7f 34 fb 82 01 e6 a1  |.o.-...E..4.....|
    000002e0  be 73 72 3b e5 04 80 70  7d bd 4a f9 e5 02 42 01  |.sr;...p}.J...B.|
    000002f0  69 3d 53 e9 8d 70 6d 07  84 7e 56 3f ce 53 b9 6c  |i=S..pm..~V?.S.l|
    00000300  43 0f 70 74 f1 52 ce d4  95 55 13 8c 07 e7 20 d7  |C.pt.R...U.... .|
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top