Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 140 for hamster (0.12 sec)

  1. src/runtime/map_fast32.go

    		racewritepc(unsafe.Pointer(h), callerpc, abi.FuncPCABIInternal(mapassign_fast32))
    	}
    	if h.flags&hashWriting != 0 {
    		fatal("concurrent map writes")
    	}
    	hash := t.Hasher(noescape(unsafe.Pointer(&key)), 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
    - 13.9K bytes
    - Viewed (0)
  2. src/compress/flate/deflate.go

    		d.w.writeBlock(tokens, false, window)
    		return d.w.err
    	}
    	return nil
    }
    
    // fillWindow will fill the current window with the supplied
    // dictionary and calculate all hashes.
    // This is much faster than doing a full encode.
    // Should only be used after a reset.
    func (d *compressor) fillWindow(b []byte) {
    	// Do not fill window if we are in store-only mode.
    	if d.compressionLevel.level < 2 {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  3. src/encoding/gob/type.go

    // to get the current version of the map. Writers make a full copy of
    // the map and atomically update the pointer to point to the new map.
    // Under heavy read contention, this is significantly faster than a map
    // protected by a mutex.
    var typeInfoMap atomic.Value
    
    // typeInfoMapInit is used instead of typeInfoMap during init time,
    // as types are registered sequentially during init and we can save
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  4. internal/kms/conn.go

    // ciphertext is the encrypted version of the
    // plaintext data and can be stored on untrusted
    // storage.
    type DEK struct {
    	KeyID      string // Name of the master key
    	Version    int    // Version of the master key (MinKMS only)
    	Plaintext  []byte // Paintext of the data encryption key
    	Ciphertext []byte // Ciphertext of the data encryption key
    }
    
    var (
    	_ encoding.TextMarshaler   = (*DEK)(nil)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/util/staticpod/utils.go

    	if err != nil {
    		return false, "", err
    	}
    	pod2, err := ReadStaticPodFromDisk(path2)
    	if err != nil {
    		return false, "", err
    	}
    
    	hasher := md5.New()
    	DeepHashObject(hasher, pod1)
    	hash1 := hasher.Sum(nil)[0:]
    	DeepHashObject(hasher, pod2)
    	hash2 := hasher.Sum(nil)[0:]
    	if bytes.Equal(hash1, hash2) {
    		return true, "", nil
    	}
    
    	manifest1, err := kubeadmutil.MarshalToYaml(pod1, v1.SchemeGroupVersion)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. internal/kms/kms.go

    }
    
    // DecryptRequest is a structure containing fields
    // and options for decrypting data.
    type DecryptRequest struct {
    	// Name is the name of the master key used decrypt
    	// the ciphertext.
    	Name string
    
    	// Version is the version of the master used for
    	// decryption. If empty, the latest key version
    	// is used.
    	Version int
    
    	// Ciphertext is the encrypted data that gets
    	// decrypted.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  7. pkg/serviceaccount/jwt.go

    	publicKeyDERBytes, err := x509.MarshalPKIXPublicKey(publicKey)
    	if err != nil {
    		return "", fmt.Errorf("failed to serialize public key to DER format: %v", err)
    	}
    
    	hasher := crypto.SHA256.New()
    	hasher.Write(publicKeyDERBytes)
    	publicKeyDERHash := hasher.Sum(nil)
    
    	keyID := base64.RawURLEncoding.EncodeToString(publicKeyDERHash)
    
    	return keyID, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 22:16:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. src/index/suffixarray/sais.go

    // The suffix array is stored in sa, which the caller
    // must ensure is already zeroed.
    // The caller must also provide temporary space tmp
    // with len(tmp) ≥ textMax. If len(tmp) ≥ 2*textMax
    // then the algorithm runs a little faster.
    // If sais_8_32 modifies tmp, it sets tmp[0] = -1 on return.
    func sais_8_32(text []byte, textMax int, sa, tmp []int32) {
    	if len(sa) != len(text) || len(tmp) < textMax {
    		panic("suffixarray: misuse of sais_8_32")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 23:57:18 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  9. cmd/kube-proxy/app/server.go

    	fs.StringVar(&o.config.ClientConnection.Kubeconfig, "kubeconfig", o.config.ClientConnection.Kubeconfig, "Path to kubeconfig file with authorization information (the master location can be overridden by the master flag).")
    	fs.StringVar(&o.master, "master", o.master, "The address of the Kubernetes API server (overrides any value in kubeconfig)")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  10. src/cmd/go/internal/work/security_test.go

    	}
    
    	os.Setenv("CGO_TEST_ALLOW", "-fplugin.*")
    	os.Setenv("CGO_TEST_DISALLOW", "-fplugin=lint.so")
    	if err := checkCompilerFlags("TEST", "test", []string{"-fplugin=faster.so"}); err != nil {
    		t.Fatalf("unexpected error for -fplugin=faster.so: %v", err)
    	}
    	if err := checkCompilerFlags("TEST", "test", []string{"-fplugin=lint.so"}); err == nil {
    		t.Fatalf("missing error for -fplugin=lint.so: %v", err)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:34 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top