Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for Sr (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/encoding/json/encode_test.go

    package json
    
    import (
    	"bytes"
    	"encoding"
    	"fmt"
    	"log"
    	"math"
    	"reflect"
    	"regexp"
    	"runtime/debug"
    	"strconv"
    	"testing"
    )
    
    type Optionals struct {
    	Sr string `json:"sr"`
    	So string `json:"so,omitempty"`
    	Sw string `json:"-"`
    
    	Ir int `json:"omitempty"` // actually named omitempty, not an option
    	Io int `json:"io,omitempty"`
    
    	Slr []string `json:"slr,random"`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  7. samples/bookinfo/src/productpage/templates/productpage.html

          <button id="close-dialog" type="button" class="rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2">
            <span class="sr-only">Close</span>
            <svg class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true">
              <path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12" />
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 19:54:05 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. cmd/admin-handlers-site-replication.go

    	opts.ReplicateILMExpiry = r.Form.Get("replicateILMExpiry") == "true"
    	return
    }
    
    // SRPeerJoin - PUT /minio/admin/v3/site-replication/join
    //
    // used internally to tell current cluster to enable SR with
    // the provided peer clusters and service account.
    func (a adminAPIHandlers) SRPeerJoin(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/macho.go

    	f, err := os.Open(h.file)
    	if err != nil {
    		return nil, fmt.Errorf("%s: failed to open host object: %v\n", h.file, err)
    	}
    	defer f.Close()
    	sr := io.NewSectionReader(f, h.off, h.length)
    	m, err := macho.NewFile(sr)
    	if err != nil {
    		// Not a valid Mach-O file.
    		return nil, nil
    	}
    	return peekMachoPlatform(m)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  10. cmd/storage-rest-server.go

    		// Windows can lock up with this optimization, so we fall back to regular copy.
    		sr, ok := rc.(*sendFileReader)
    		if ok {
    			// Sendfile sends in 4MiB chunks per sendfile syscall which is more than enough
    			// for most setups.
    			_, err = rf.ReadFrom(sr.Reader)
    			if !xnet.IsNetworkOrHostDown(err, true) { // do not need to log disconnected clients
    				storageLogIf(r.Context(), err)
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 44.8K bytes
    - Viewed (0)
Back to top