- Sort Score
- Result 10 results
- Languages All
Results 431 - 440 of 1,764 for Methode (0.06 sec)
-
guava/src/com/google/common/io/ByteStreams.java
/** * Copies all bytes from the input stream to the output stream. Does not close or flush either * stream. * * <p><b>Java 9 users and later:</b> this method should be treated as deprecated; use the * equivalent {@link InputStream#transferTo} method instead. * * @param from the input stream to read from * @param to the output stream to write to * @return the number of bytes copied
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 29.7K bytes - Viewed (0) -
src/bytes/buffer.go
"errors" "io" "unicode/utf8" ) // smallBufferSize is an initial allocation minimal capacity. const smallBufferSize = 64 // A Buffer is a variable-sized buffer of bytes with [Buffer.Read] and [Buffer.Write] methods. // The zero value for Buffer is an empty buffer ready to use. type Buffer struct { buf []byte // contents are the bytes buf[off : len(buf)] off int // read at &buf[off], write at &buf[len(buf)]
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Oct 29 16:47:05 UTC 2024 - 15.7K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
return; } fail("Should get not equal to equal object error"); } /** * Test for an invalid hashCode method, i.e., one that returns different value for objects that * are equal according to the equals method */ public void testInvalidHashCode() { Object a = new InvalidHashCodeObject(1, 2); Object b = new InvalidHashCodeObject(1, 2);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 12.9K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Ints.java
* that of {@code ((Integer) a).compareTo(b)}. * * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use the * equivalent {@link Integer#compare} method instead. * * @param a the first {@code int} to compare * @param b the second {@code int} to compare
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 31K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java
*/ public Enumeration<?> propertyNames() { return Collections.enumeration(storage.keySet()); } /** * Calls the map method put. Provided for parallelism with the getProperty method. * Enforces use of strings for property keys and values. The value returned is the result of the map call to put. * * @param key the key to be placed into this property list.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 38.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/CharMatcherTest.java
// as extremely straightforward pass-throughs to the JDK methods. // We're testing the is(), isNot(), anyOf(), noneOf() and inRange() methods // below by testing their text-processing methods. // The organization of this test class is unusual, as it's not done by // method, but by overall "scenario". Also, the variety of actual tests we
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 18:32:41 UTC 2024 - 30.1K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java
Session.class.getClassLoader(), new Class[] {Session.class}, (Object proxy, Method method, Object[] args) -> { if ("getSystemProperties".equals(method.getName())) { return request.getSystemProperties().entrySet().stream() .collect(Collectors.toMap(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
} } } else { /* * We'll call the user callback or collect the values only when all inputs complete, * regardless of whether some failed. This lets us avoid calling expensive methods like * Future.get() when we don't need to (specifically, for whenAllComplete().call*()), and it * lets all futures share the same listener. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 13:13:32 UTC 2024 - 16.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
/** * Returns a collection that simulates concurrent modification by having its size method return * incorrect values. This is useful for testing methods that must treat the return value from * size() as a hint only. * * @param delta the difference between the true size of the collection and the values returned by * the size method */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 17.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
val response = chain.proceed(chain.request()) val code = response.code if (code != HTTP_TEMP_REDIRECT && code != HTTP_PERM_REDIRECT) return response val method = response.request.method if (method == "GET" || method == "HEAD") return response val location = response.header("Location") ?: return response return response.newBuilder() .removeHeader("Location")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 131.7K bytes - Viewed (0)