Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for hashOf (0.22 sec)

  1. src/runtime/map.go

    		fatal("concurrent map writes")
    	}
    	hash := t.Hasher(key, uintptr(h.hash0))
    
    	// Set hashWriting after calling t.hasher, since t.hasher may panic,
    	// in which case we have not actually done a write.
    	h.flags ^= hashWriting
    
    	if h.buckets == nil {
    		h.buckets = newobject(t.Bucket) // newarray(t.Bucket, 1)
    	}
    
    again:
    	bucket := hash & bucketMask(h.B)
    	if h.growing() {
    		growWork(t, h, bucket)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/deadness_analysis.cc

      struct HashSignatureForAndOr {
        size_t operator()(const SignatureForAndOr& signature) const {
          size_t hash = ::tensorflow::hash<Predicate::Kind>()(signature.first);
          for (Predicate* p : signature.second) {
            hash = Hash64Combine(hash, ::tensorflow::hash<Predicate*>()(p));
          }
          return hash;
        }
      };
    
      struct HashSignatureForSymbol {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  3. src/cmd/link/internal/loader/loader.go

    type loadState struct {
    	l            *Loader
    	hashed64Syms map[uint64]symAndSize         // short hashed (content-addressable) symbols, keyed by content hash
    	hashedSyms   map[goobj.HashType]symAndSize // hashed (content-addressable) symbols, keyed by content hash
    
    	linknameVarRefs []linknameVarRef // linknamed var refererces
    }
    
    type linknameVarRef struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/SetsTest.java

      }
    
      private static <E> List<E> list(E... elements) {
        return ImmutableList.copyOf(elements);
      }
    
      /**
       * Utility method to verify that the given LinkedHashSet is equal to and hashes identically to a
       * set constructed with the elements in the given collection. Also verifies that the ordering in
       * the set is the same as the ordering of the given contents.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 49.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    // be used:
    //
    //	// Assume hashfd is already configured using the setup process.
    //	hash := os.NewFile(hashfd, "sha1")
    //	// Hash an input string and read the results. Each Write discards
    //	// previous hash state. Read always reads the current state.
    //	b := make([]byte, 20)
    //	for i := 0; i < 2; i++ {
    //	    io.WriteString(hash, "Hello, world.")
    //	    hash.Read(b)
    //	    fmt.Println(hex.EncodeToString(b))
    //	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  6. cmd/test-utils_test.go

    // Sign given request using Signature V4.
    func signStreamingRequest(req *http.Request, accessKey, secretKey string, currTime time.Time) (string, error) {
    	// Get hashed payload.
    	hashedPayload := req.Header.Get("x-amz-content-sha256")
    	if hashedPayload == "" {
    		return "", fmt.Errorf("Invalid hashed payload")
    	}
    
    	// Set x-amz-date.
    	req.Header.Set("x-amz-date", currTime.Format(iso8601Format))
    
    	// Get header map.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  7. src/crypto/tls/common.go

    	hashed := sha512.Sum512(b[:])
    	// The first 16 bytes of the hash used to be exposed on the wire as a ticket
    	// prefix. They MUST NOT be used as a secret. In the future, it would make
    	// sense to use a proper KDF here, like HKDF with a fixed salt.
    	const legacyTicketKeyNameLen = 16
    	copy(key.aesKey[:], hashed[legacyTicketKeyNameLen:])
    	copy(key.hmacKey[:], hashed[legacyTicketKeyNameLen+len(key.aesKey):])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  8. src/crypto/tls/handshake_messages.go

    }
    
    type transcriptHash interface {
    	Write([]byte) (int, error)
    }
    
    // transcriptMsg is a helper used to hash messages which are not hashed when
    // they are read from, or written to, the wire. This is typically the case for
    // messages which are either not sent, or need to be hashed out of order from
    // when they are read/written.
    //
    // For most messages, the message is marshalled using their marshal method,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  9. docs/ru/docs/deployment/docker.md

    # (2)
    WORKDIR /tmp
    
    # (3)
    RUN pip install poetry
    
    # (4)
    COPY ./pyproject.toml ./poetry.lock* /tmp/
    
    # (5)
    RUN poetry export -f requirements.txt --output requirements.txt --without-hashes
    
    # (6)
    FROM python:3.9
    
    # (7)
    WORKDIR /code
    
    # (8)
    COPY --from=requirements-stage /tmp/requirements.txt /code/requirements.txt
    
    # (9)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  10. src/reflect/type.go

    	*ft = *prototype
    
    	// Build a hash and minimally populate ft.
    	var hash uint32
    	for _, in := range in {
    		t := in.(*rtype)
    		args = append(args, t)
    		hash = fnv1(hash, byte(t.t.Hash>>24), byte(t.t.Hash>>16), byte(t.t.Hash>>8), byte(t.t.Hash))
    	}
    	if variadic {
    		hash = fnv1(hash, 'v')
    	}
    	hash = fnv1(hash, '.')
    	for _, out := range out {
    		t := out.(*rtype)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
Back to top