- Sort Score
- Result 10 results
- Languages All
Results 1131 - 1140 of 1,425 for equalTo (0.07 sec)
-
guava/src/com/google/common/base/Utf8.java
* sequences, but encoding never reproduces these. Such byte sequences are <i>not</i> considered * well-formed. * * <p>This method returns {@code true} if and only if {@code Arrays.equals(bytes, new * String(bytes, UTF_8).getBytes(UTF_8))} does, but is more efficient in both time and space. */ public static boolean isWellFormed(byte[] bytes) { return isWellFormed(bytes, 0, bytes.length); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 7K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeResolverTest.java
import java.util.Map; import junit.framework.TestCase; /** * Unit tests of {@link TypeResolver}. * * @author Ben Yu */ @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations? public class TypeResolverTest extends TestCase { public void testWhere_noMapping() { Type t = aTypeVariable(); assertEquals(t, new TypeResolver().resolveType(t)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 9.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AggregateFutureState.java
* * 1. On Android, querying a WeakReference blocks if the GC is doing an otherwise-concurrent * pass. * * 2. We would probably choose to compare exceptions using == instead of equals() (for * consistency with how weak references are cleared). That's a behavior change -- arguably the * removal of a feature. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 28 20:40:51 UTC 2024 - 8.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java
assertThat(network.nodes()).contains(incidentNode); for (E adjacentEdge : network.incidentEdges(incidentNode)) { assertTrue( edge.equals(adjacentEdge) || network.adjacentEdges(edge).contains(adjacentEdge)); } } } for (N node : sanityCheckSet(network.nodes())) { assertThat(nodeString).contains(node.toString());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 32.7K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
/** * * @param svr * @return whether the given address is the configured broadcast address */ private boolean isBroadcastAddress(InetAddress svr) { return svr.equals(this.baddr) || svr.getAddress()[3] == (byte) 0xFF; } protected InetAddress switchWINS () {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Aug 14 14:26:22 UTC 2022 - 38.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashSet.java
* part of the smeared hash of the element not covered by the hashtable mask, whereas the low bits * are the "next" pointer (pointing to the next entry in the bucket chain), which will always be * less than or equal to the hashtable mask. * * <pre> * hash = aaaaaaaa * mask = 00000fff * next = 00000bbb * entry = aaaaabbb * </pre> *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 24.9K bytes - Viewed (0) -
cmd/bucket-replication-utils.go
ResetStatusesMap map[string]string // map of ARN-> stringified reset id and timestamp for all the targets } // Equal returns true if replication state is identical for version purge statuses and (replica)tion statuses. func (rs *ReplicationState) Equal(o ReplicationState) bool { return rs.ReplicaStatus == o.ReplicaStatus && rs.ReplicationStatusInternal == o.ReplicationStatusInternal &&
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 26.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/Config.java
*/ public static boolean getBoolean( String key, boolean def ) { String b = getProperty( key ); if( b != null ) { def = b.toLowerCase().equals( "true" ); } return def; } /** * Retrieve an array of <tt>InetAddress</tt> created from a property * value containting a <tt>delim</tt> separated list of hostnames and/or
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 11.3K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/LoadingCache.java
* returns {@code null}, returns a map containing null keys or values, or fails to return an entry * for each requested key. * * <p>Note that duplicate elements in {@code keys}, as determined by {@link Object#equals}, will * be ignored. * * @throws ExecutionException if a checked exception was thrown while loading the value. ({@code * ExecutionException} is thrown <a
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Aug 06 17:12:03 UTC 2022 - 8.3K bytes - Viewed (0) -
src/cmd/api/api_test.go
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jan 04 17:31:12 UTC 2024 - 7.1K bytes - Viewed (0)