- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 1,649 for were (0.02 seconds)
-
android/guava/src/com/google/common/escape/CharEscaperBuilder.java
import java.util.HashMap; import java.util.Map; import java.util.Map.Entry; import org.jspecify.annotations.Nullable; /** * Simple helper class to build a "sparse" array of objects based on the indexes that were added to * it. The array will be from 0 to the maximum index given. All non-set indexes will contain null * (so it's not really a sparse array, just a pseudo sparse array). The builder can also return a
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 3.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MoreCollectors.java
return (Collector) ONLY_ELEMENT; } /** * This atrocity is here to let us report several of the elements in the stream if there were more * than one, not just two. */ @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types @IgnoreJRERequirement // see enclosing class (whose annotation Animal Sniffer ignores here...) private static final class ToOptionalState<T extends @Nullable Object> {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 18 16:22:33 GMT 2026 - 6.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java
buffer[bufferIndex + 36] = 0x00; // reserved int bytesRead = response.readParameterWordsWireFormat(buffer, bufferIndex); // Verify the correct number of bytes were read (37 bytes total) assertEquals(37, bytesRead); // Verify values through reflection
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 16.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/SerializableTester.java
* {@linkplain Object#equals equal} to the original, nor is it required to return even an object * of the same class. For example, if sublists of {@code MyList} instances were serializable, * those sublists might implement a private {@code MySubList} type but serialize as a plain {@code * MyList} to save space. So long as {@code MyList} has all the public supertypes of {@codeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 4.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/SerializableTester.java
* {@linkplain Object#equals equal} to the original, nor is it required to return even an object * of the same class. For example, if sublists of {@code MyList} instances were serializable, * those sublists might implement a private {@code MySubList} type but serialize as a plain {@code * MyList} to save space. So long as {@code MyList} has all the public supertypes of {@codeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 4.1K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java
PrintWriter writer = new PrintWriter(buffer); writer.print(problems.size()); writer.print((problems.size() == 1) ? " problem was " : " problems were "); writer.print("encountered while building the effective model"); if (modelId != null && !modelId.isEmpty()) { writer.print(" for "); writer.print(modelId); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 5.4K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java
// Instead, we verify the interaction with the DcerpcHandle and the return value. // The fact that the constructor completes without exception and sets 'opened' to true // implies the correct parameters were used internally. } @Test void constructor_shouldThrowSmbExceptionOnOpenFailure() throws IOException { // Arrange int access = 1; int rid = 100;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java
* with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a * href="https://bugs.openjdk.org/browse/JDK-6409434">JDK-6409434</a> is fixed. It's unclear * whether nulls were to be permitted or forbidden, but presumably the eventual fix will be to * permit them, as it seems more likely that code would depend on that behavior than on the other.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java
private static final long K1 = 0x0f0e0d0c0b0a0908L; private static final HashFunction SIP_WITH_KEY = sipHash24(K0, K1); private static final HashFunction SIP_WITHOUT_KEY = sipHash24(); // These constants were originally ported from https://www.131002.net/siphash/siphash24.c. See: // https://github.com/nahi/siphash-java-inline/blob/master/src/test/java/org/jruby/util/SipHashInlineTest.java private static final long[] EXPECTED =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 6.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/SipHashFunctionTest.java
private static final long K1 = 0x0f0e0d0c0b0a0908L; private static final HashFunction SIP_WITH_KEY = sipHash24(K0, K1); private static final HashFunction SIP_WITHOUT_KEY = sipHash24(); // These constants were originally ported from https://www.131002.net/siphash/siphash24.c. See: // https://github.com/nahi/siphash-java-inline/blob/master/src/test/java/org/jruby/util/SipHashInlineTest.java private static final long[] EXPECTED =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 6.8K bytes - Click Count (0)