Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 82 for hashPtr (0.19 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/types/typeutil/map.go

    // Map.Lookup require updates to the hasher, so a full Mutex lock (not a
    // read-lock) is require around all Map operations if a shared
    // hasher is accessed from multiple threads.
    //
    // If SetHasher is not called, the Map will create a private hasher at
    // the first call to Insert.
    func (m *Map) SetHasher(hasher Hasher) {
    	m.hasher = hasher
    }
    
    // Delete removes the entry with the given key, if any.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. src/testing/slogtest/slogtest.go

    		},
    		checks: []check{
    			hasAttr("a", "b"),
    			hasAttr("k", "v"),
    		},
    	},
    	{
    		name:        "groups",
    		explanation: withSource("a Handler should handle Group attributes"),
    		f: func(l *slog.Logger) {
    			l.Info("msg", "a", "b", slog.Group("G", slog.String("c", "d")), "e", "f")
    		},
    		checks: []check{
    			hasAttr("a", "b"),
    			inGroup("G", hasAttr("c", "d")),
    			hasAttr("e", "f"),
    		},
    	},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:47 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  3. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/Hashing.java

                hasher.putInt(bytes.length);
                hasher.putBytes(bytes);
            }
    
            @Override
            public void putBytes(byte[] bytes, int off, int len) {
                hasher.putInt(len);
                hasher.putBytes(bytes, off, len);
            }
    
            @Override
            public void putHash(HashCode hashCode) {
                hasher.putInt(hashCode.length());
                hasher.putHash(hashCode);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:30 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/MetaInfAwareClasspathResourceHasherTest.groovy

            when:
            hasher.hash(zipEntry('META-INF/foo'))
            hasher.hash(zipEntry('META-INF/foo/MANIFEST.MF'))
            hasher.hash(zipEntry('META-INF/properties'))
            hasher.hash(zipEntry('META-INF/build.propertiesX'))
            hasher.hash(zipEntry('bar.properties'))
            hasher.hash(zipEntry('resources/foo.properties'))
            hasher.hash(zipEntry('foo'))
            hasher.hash(zipEntry('org/gradle/foo.class'))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/ArrayOfPrimitiveValueSnapshot.java

        }
    
        @Override
        public String toString() {
            return primitiveType.toString(array);
        }
    
        @Override
        public void appendToHasher(Hasher hasher) {
            primitiveType.appendTo(hasher, array);
        }
    
        @Override
        public ValueSnapshot snapshot(@Nullable Object value, ValueSnapshotter snapshotter) {
            PrimitiveType valueType = PrimitiveType.maybeOfValue(value);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/tpu_validate_inputs.cc

        } else {
          shardings_result.push_back(sharding_next);
        }
      }
    }
    
    bool IsValidShardingTupleForArity(Operation* op) {
      if (!op->hasAttr(kXLAShardingAttr) && !op->hasAttr(kShardingAttr)) {
        return true;
      }
      std::string shard_string;
      if (op->hasAttr(kXLAShardingAttr)) {
        shard_string =
            op->getAttrOfType<StringAttr>(kXLAShardingAttr).strref().str();
      } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 06:51:01 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandlerTest.groovy

            _ * resource.text >> scriptText
            return source
        }
    
        def testCompileScriptToDir() {
            def scriptSource = scriptSource(scriptText)
            def sourceHashCode = hashFor(scriptText)
    
            when:
            scriptCompilationHandler.compileToDir(scriptSource, classLoader, scriptCacheDir, metadataCacheDir, null, expectedScriptClass, verifier)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 08:24:10 UTC 2023
    - 19.4K bytes
    - Viewed (0)
  8. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/DefaultFileSystemAccess.java

            this.statisticsCollector = statisticsCollector;
            this.defaultExcludes = ImmutableList.copyOf(defaultExcludes);
            this.directorySnapshotter = new DirectorySnapshotter(hasher, stringInterner, this.defaultExcludes, statisticsCollector);
            this.hasher = hasher;
            this.virtualFileSystem = virtualFileSystem;
        }
    
        @Override
        public FileSystemLocationSnapshot read(String location) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:35 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. internal/jwt/parser.go

    	borrowed []hash.Hash
    }
    
    // Borrow a single hasher.
    func (h *HashBorrower) Borrow() hash.Hash {
    	hasher := h.pool.Get().(hash.Hash)
    	h.borrowed = append(h.borrowed, hasher)
    	hasher.Reset()
    	return hasher
    }
    
    // ReturnAll will return all borrowed hashes.
    func (h *HashBorrower) ReturnAll() {
    	for _, hasher := range h.borrowed {
    		h.pool.Put(hasher)
    	}
    	h.borrowed = nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 09 07:53:08 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

      public void testPutAfterHash() {
        Hasher hasher = Hashing.hmacMd5(MD5_KEY).newHasher();
    
        assertEquals(
            "9753980fe94daa8ecaa82216519393a9",
            hasher.putString("The quick brown fox jumps over the lazy dog", UTF_8).hash().toString());
        assertThrows(IllegalStateException.class, () -> hasher.putInt(42));
      }
    
      public void testHashTwice() {
        Hasher hasher = Hashing.hmacMd5(MD5_KEY).newHasher();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 13.8K bytes
    - Viewed (0)
Back to top