- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 782 for FIRST (0.01 sec)
-
android/guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java
int sortedSet(int reps) { int dummy = 0; if (mutable) { for (int i = 0; i < reps; i++) { dummy += new TreeSet<Integer>(input).first(); } } else { for (int i = 0; i < reps; i++) { dummy += ImmutableSortedSet.copyOf(input).first(); } } return dummy; } private static final Ordering<Integer> ORDERING = Ordering.natural();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClusterException.java
final Collection<? extends Throwable> exceptions; private ClusterException(Collection<? extends Throwable> exceptions) { super( exceptions.size() + " exceptions were thrown. The first exception is listed as a cause.", exceptions.iterator().next()); ArrayList<? extends Throwable> temp = new ArrayList<>(exceptions); this.exceptions = Collections.unmodifiableCollection(temp); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
int written = cmd.writeSetupWireFormat(buf, 0); assertEquals(2, written, "setup packet should write 2 bytes"); assertEquals(SmbComTransaction.TRANS2_QUERY_FS_INFORMATION, buf[0], "first byte should be subCommand"); assertEquals((byte) 0x00, buf[1], "second byte should be zero"); } @Test @DisplayName("writeParametersWireFormat writes the information level as 2-byte little endian")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/QueuePeekTester.java
public void testPeek_size1() { assertEquals("size1Queue.peek() should return first element", e0(), getQueue().peek()); expectUnchanged(); } @CollectionFeature.Require(KNOWN_ORDER) @CollectionSize.Require(SEVERAL) public void testPeek_sizeMany() { assertEquals("sizeManyQueue.peek() should return first element", e0(), getQueue().peek()); expectUnchanged(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameTest.java
Name name = new Name(mockConfig, "TEST", 0x20, null); byte[] dst = new byte[100]; int length = name.writeWireFormat(dst, 0); // Check first byte is 0x20 assertEquals(0x20, dst[0]); // Check encoded name (TEST -> encoded as pairs) // T = 0x54 -> upper nibble: 0x5 -> 0x46 (F), lower nibble: 0x4 -> 0x45 (E)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java
TreeMultiset<String> ms = TreeMultiset.create(); ms.add("c", 1); ms.add("a", 3); ms.add("b", 2); SortedSet<String> elementSet = ms.elementSet(); assertEquals("a", elementSet.first()); assertEquals("c", elementSet.last()); assertEquals(Ordering.natural(), elementSet.comparator()); assertThat(elementSet.headSet("b")).containsExactly("a");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpFilterTest.java
assertDoesNotThrow(() -> filter.destroy()); } @Test void testDoFilter_noAuthorizationHeader_shouldChallengeClient() throws Exception { // Initialize filter first initializeFilter(); // Test request without Authorization header should challenge client when(request.getHeader("Authorization")).thenReturn(null);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 12.8K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Booleans.java
* {@code ((Boolean) a).compareTo(b)}. * * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use the * equivalent {@link Boolean#compare} method instead. * * @param a the first {@code boolean} to compare * @param b the second {@code boolean} to compare * @return a positive number if only {@code a} is {@code true}, a negative number if only {@code * b} is true, or zero if {@code a == b}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 20.5K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Booleans.java
* {@code ((Boolean) a).compareTo(b)}. * * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use the * equivalent {@link Boolean#compare} method instead. * * @param a the first {@code boolean} to compare * @param b the second {@code boolean} to compare * @return a positive number if only {@code a} is {@code true}, a negative number if only {@code * b} is true, or zero if {@code a == b}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/jcifs/audit/SecurityAuditLogger.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 26.6K bytes - Viewed (0)