- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 318 for has_value (0.84 sec)
-
android/guava-tests/test/com/google/common/io/LineBufferTest.java
bufferHelper("mixed\nline\rendings\r\n", "mixed\n", "line\r", "endings\r\n"); } private static final ImmutableSet<Integer> CHUNK_SIZES = ImmutableSet.of(1, 2, 3, Integer.MAX_VALUE); private static void bufferHelper(String input, String... expect) throws IOException { List<String> expectProcess = Arrays.asList(expect); List<String> expectRead = Lists.transform(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
out.reset(); } public void testReset() throws Exception { byte[] data = newPreFilledByteArray(100); FileBackedOutputStream out = new FileBackedOutputStream(Integer.MAX_VALUE); ByteSource source = out.asByteSource(); out.write(data); assertTrue(Arrays.equals(data, source.read())); out.reset(); assertTrue(Arrays.equals(new byte[0], source.read()));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/LineBufferTest.java
bufferHelper("mixed\nline\rendings\r\n", "mixed\n", "line\r", "endings\r\n"); } private static final ImmutableSet<Integer> CHUNK_SIZES = ImmutableSet.of(1, 2, 3, Integer.MAX_VALUE); private static void bufferHelper(String input, String... expect) throws IOException { List<String> expectProcess = Arrays.asList(expect); List<String> expectRead = Lists.transform(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LinearTransformationTest.java
// to loss of precision with this value of the slope. } public void testMappingWithSlope_maximalSlope() { double x1 = 1.2; double y1 = 3.4; double slope = Double.MAX_VALUE; LinearTransformation transformation = LinearTransformation.mapping(x1, y1).withSlope(slope); assertThat(transformation.isVertical()).isFalse(); assertThat(transformation.isHorizontal()).isFalse();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 7.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IterablesTest.java
} public void testTryFind() { Iterable<String> list = newArrayList("cool", "pants"); assertThat(tryFind(list, equalTo("cool"))).hasValue("cool"); assertThat(tryFind(list, equalTo("pants"))).hasValue("pants"); assertThat(tryFind(list, Predicates.alwaysTrue())).hasValue("cool"); assertThat(tryFind(list, Predicates.alwaysFalse())).isAbsent(); assertCanIterateAgain(list); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 46.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
assertTrue(MinMaxPriorityQueue.isEvenLevel((1 << 31) - 2)); assertTrue(MinMaxPriorityQueue.isEvenLevel(Integer.MAX_VALUE - 1)); assertThrows(IllegalStateException.class, () -> MinMaxPriorityQueue.isEvenLevel((1 << 31) - 1)); assertThrows( IllegalStateException.class, () -> MinMaxPriorityQueue.isEvenLevel(Integer.MAX_VALUE)); assertThrows(IllegalStateException.class, () -> MinMaxPriorityQueue.isEvenLevel(1 << 31)); assertThrows(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 36K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
} } @Nested @DisplayName("Test Implementation Tests") class TestImplementationTests { @ParameterizedTest @ValueSource(bytes = { -1, 0, 1, 3, 7, Byte.MAX_VALUE, Byte.MIN_VALUE }) @DisplayName("Should handle various information class values") void testVariousInformationClassValues(byte classValue) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
*/ @Test public void testSecurityBufferIntegerOverflow() { byte[] buffer = createBasicNegotiateResponseBuffer(); // Set security buffer offset close to Integer.MAX_VALUE to test overflow protection SMBUtil.writeInt2(32767, buffer, 56); // Large offset (will be added to header start) SMBUtil.writeInt2(1000, buffer, 58); // Some length
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
.teamcity/.mvn/wrapper/maven-wrapper.jar
org.apache.maven.wrapper.cli; public synchronized class ParsedCommandLineOpt { private final java.util.List values; public void ParsedCommandLineOpt(); public String getValue(); public java.util.List getValues(); public void addArgument(String); public boolean hasValue(); } org/apache/maven/wrapper/cli/ProjectPropertiesCom.class package org.apache.maven.wrapper.cli; public synchronized class ProjectPropertiesCom extends AbstractPropertiesCo { public void ProjectPropertiesCom(); protected String getPropertyOption();...
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Wed Feb 26 01:48:39 UTC 2020 - 49.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
IllegalArgumentException expected = assertThrows( IllegalArgumentException.class, () -> builder.addAll(nCopies(Integer.MAX_VALUE - 50, "a"))); assertThat(expected) .hasMessageThat() .contains("cannot store more than Integer.MAX_VALUE elements"); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 23.6K bytes - Viewed (0)