Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 547 for hasNet (0.2 sec)

  1. src/cmd/go/scriptconds_test.go

    	add("mustlinkext", script.Condition("platform always requires external linking", mustLinkExt))
    	add("net", script.PrefixCondition("can connect to external network host <suffix>", hasNet))
    	add("pielinkext", script.Condition("platform requires external linking for PIE", pieLinkExt))
    	add("race", sysCondition("-race", platform.RaceDetectorSupported, true))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/crypto/sha3/hashes.go

    Michael Anthony Knyszek <******@****.***> 1717451199 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. src/hash/maphash/smhasher_test.go

    	r.Read(b) // can't fail
    }
    
    // A hashSet measures the frequency of hash collisions.
    type hashSet struct {
    	list []uint64 // list of hashes added
    }
    
    func newHashSet() *hashSet {
    	return &hashSet{list: make([]uint64, 0, 1024)}
    }
    func (s *hashSet) add(h uint64) {
    	s.list = append(s.list, h)
    }
    func (s *hashSet) addS(x string) {
    	s.add(stringHash(x))
    }
    func (s *hashSet) addB(x []byte) {
    	s.add(bytesHash(x))
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/SetSerializerTest.groovy

            serialize(["one", null, "three"] as Set, serializer) as List == ["one", null, "three"]
        }
    
        def "serializes with HasSet"() {
            when:
            def serializer = new SetSerializer(stringSerializer, false)
    
            then:
            serialize(['1', '2'] as Set, serializer) instanceof HashSet
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. 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)
  6. src/runtime/hash_test.go

    				}
    			}
    		}
    	}
    }
    
    type HashSet struct {
    	list []uintptr // list of hashes added
    }
    
    func newHashSet() *HashSet {
    	return &HashSet{list: make([]uintptr, 0, 1024)}
    }
    func (s *HashSet) add(h uintptr) {
    	s.list = append(s.list, h)
    }
    func (s *HashSet) addS(x string) {
    	s.add(StringHash(x, 0))
    }
    func (s *HashSet) addB(x []byte) {
    	s.add(BytesHash(x, 0))
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 17:50:18 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/SetsTest.java

      }
    
      public void testNewHashSetEmpty() {
        HashSet<Integer> set = Sets.newHashSet();
        verifySetContents(set, EMPTY_COLLECTION);
      }
    
      public void testNewHashSetVarArgs() {
        HashSet<Integer> set = Sets.newHashSet(0, 1, 1);
        verifySetContents(set, Arrays.asList(0, 1));
      }
    
      public void testNewHashSetFromCollection() {
        HashSet<Integer> set = Sets.newHashSet(SOME_COLLECTION);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 47.8K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                    if (key.getRawType() == List.class) {
                        Set<Binding<Object>> res2 = getBindings(key.getTypeParameter(0));
                        Set<Binding<Object>> res3 = res2 != null ? new HashSet<>(res2) : new HashSet<>();
                        try {
                            List<Object> l = containerProvider
                                    .get()
                                    .lookupList(key.getTypeParameter(0).getRawType());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/changedetection/state/GradleUserHomeScopeFileTimeStampInspector.java

    import org.gradle.internal.service.scopes.Scope;
    import org.gradle.internal.service.scopes.ServiceScope;
    
    import java.util.HashSet;
    import java.util.Set;
    
    /**
     * Used for the Gradle user home file hash cache.
     *
     * Uses the same strategy for detection of file changes as {@link FileTimeStampInspector}.
     *
     * Discards hashes for all files from the {@link CachingFileHasher} which have been queried on this daemon
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheReport.kt

            val root = this@hashWithoutMessages
            val hasher = Hashing.newHasher()
            for (failure in sequence { visitFailures(root) }) {
                hasher.putString(failure.exceptionType.name)
                for (element in failure.stackTrace) {
                    hasher.putString(element.toString())
                }
            }
            return hasher.hash()
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top