Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 269 for hamster (0.11 sec)

  1. pkg/wasm/imagefetcher_test.go

    		}
    	})
    }
    
    func newMockLayer(mediaType types.MediaType, contents map[string][]byte) (v1.Layer, error) {
    	var b bytes.Buffer
    	hasher := sha256.New()
    	mw := io.MultiWriter(&b, hasher)
    	tw := tar.NewWriter(mw)
    	defer tw.Close()
    
    	for filename, content := range contents {
    		if err := tw.WriteHeader(&tar.Header{
    			Name:     filename,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Feb 05 04:15:17 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  2. internal/hash/checksum.go

    // Matches returns whether given content matches c.
    func (c Checksum) Matches(content []byte, parts int) error {
    	if len(c.Encoded) == 0 {
    		return nil
    	}
    	hasher := c.Type.Hasher()
    	_, err := hasher.Write(content)
    	if err != nil {
    		return err
    	}
    	sum := hasher.Sum(nil)
    	if c.WantParts > 0 && c.WantParts != parts {
    		return ChecksumMismatch{
    			Want: fmt.Sprintf("%s-%d", c.Encoded, c.WantParts),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 08 16:18:34 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/order.go

    			// Rewrite m[k] op= r into m[k] = m[k] op r so
    			// that we can ensure that if op panics
    			// because r is zero, the panic happens before
    			// the map assignment.
    			// DeepCopy is a big hammer here, but safeExpr
    			// makes sure there is nothing too deep being copied.
    			l1 := o.safeExpr(n.X)
    			l2 := ir.DeepCopy(src.NoXPos, l1)
    			if l2.Op() == ir.OINDEXMAP {
    				l2 := l2.(*ir.IndexExpr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:33 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  4. src/time/zoneinfo_abbrs_windows.go

    	"Bougainville Standard Time":      {"+11", "+11"},     // Pacific/Bougainville
    	"Chatham Islands Standard Time":   {"+1245", "+1345"}, // Pacific/Chatham
    	"Easter Island Standard Time":     {"-06", "-05"},     // Pacific/Easter
    	"Fiji Standard Time":              {"+12", "+12"},     // Pacific/Fiji
    	"Central Pacific Standard Time":   {"+11", "+11"},     // Pacific/Guadalcanal
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 20:01:59 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  5. pkg/volume/util/hostutil/hostutil_linux_test.go

    227 62 253:0 /var/lib/docker/devicemapper /var/lib/docker/devicemapper rw,relatime - ext4 /dev/mapper/ssd-root rw,seclabel,data=ordered
    224 62 253:0 /var/lib/docker/devicemapper/test/shared /var/lib/docker/devicemapper/test/shared rw,relatime master:1 shared:44 - ext4 /dev/mapper/ssd-root rw,seclabel,data=ordered
    `
    	tempDir, filename, err := writeFile(successMountInfo)
    	if err != nil {
    		t.Fatalf("cannot create temporary file: %v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/command_headers.go

    // round tripper. These headers are kubectl command headers which
    // detail the kubectl command. See SIG CLI KEP 859:
    //
    //	https://github.com/kubernetes/enhancements/tree/master/keps/sig-cli/859-kubectl-headers
    func (c *CommandHeaderRoundTripper) RoundTrip(req *http.Request) (*http.Response, error) {
    	for header, value := range c.Headers {
    		req.Header.Set(header, value)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  7. src/runtime/map_faststr.go

    	}
    	if h.flags&hashWriting != 0 {
    		fatal("concurrent map writes")
    	}
    	key := stringStructOf(&s)
    	hash := t.Hasher(noescape(unsafe.Pointer(&s)), uintptr(h.hash0))
    
    	// Set hashWriting after calling t.hasher for consistency with mapassign.
    	h.flags ^= hashWriting
    
    	if h.buckets == nil {
    		h.buckets = newobject(t.Bucket) // newarray(t.bucket, 1)
    	}
    
    again:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  8. pkg/controlplane/instance.go

    	// MasterEndpointReconcileTTL sets the time to live in seconds of an
    	// endpoint record recorded by each master. The endpoints are checked at an
    	// interval that is 2/3 of this value and this value defaults to 15s if
    	// unset. In very large clusters, this value may be increased to reduce the
    	// possibility that the master endpoint record expires (due to other load
    	// on the etcd server) and causes masters to drop in and out of the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:50:04 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  9. cmd/kube-scheduler/app/options/options.go

    	fs.StringVar(&o.WriteConfigTo, "write-config-to", o.WriteConfigTo, "If set, write the configuration values to this file and exit.")
    	fs.StringVar(&o.Master, "master", o.Master, "The address of the Kubernetes API server (overrides any value in kubeconfig)")
    
    	o.SecureServing.AddFlags(nfs.FlagSet("secure serving"))
    	o.Authentication.AddFlags(nfs.FlagSet("authentication"))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 17 17:06:29 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. src/runtime/rand.go

    	for i := range seed {
    		seed[i] = bootstrapRand()
    	}
    	bootstrapRandReseed() // erase key we just extracted
    	mp.chacha8.Init64(seed)
    	mp.cheaprand = rand()
    }
    
    // randn is like rand() % n but faster.
    // Do not change signature: used via linkname from other packages.
    //
    //go:nosplit
    //go:linkname randn
    func randn(n uint32) uint32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 14:32:47 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top