- Sort Score
- Num 10 results
- Language All
Results 531 - 540 of 933 for behaviour (0.59 seconds)
-
android/guava/src/com/google/common/graph/GraphBuilder.java
* * <p>{@code Graph}s built by this class also guarantee that each collection-returning accessor * returns a <b>(live) unmodifiable view</b>; see <a * href="https://github.com/google/guava/wiki/GraphsExplained#accessor-behavior">the external * documentation</a> for details. * * <p>Examples of use: * * {@snippet : * // Building a mutable graph * MutableGraph<String> graph = GraphBuilder.undirected().allowsSelfLoops(true).build();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 7.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/TableCollectors.java
checkNotNull(columnFunction, "columnFunction"); checkNotNull(valueFunction, "valueFunction"); checkNotNull(mergeFunction, "mergeFunction"); /* * No mutable Table exactly matches the insertion order behavior of ImmutableTable.Builder, but * the Builder can't efficiently support merging of duplicate values. Getting around this * requires some work. */ return Collector.of(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 11 19:03:19 GMT 2025 - 7.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/ShareEnumIteratorTest.java
SmbResource r2 = it.next(); assertNotNull(r2); assertEquals("bar/", r2.getName(), "Second child name should match with trailing slash"); // End of iteration behavior assertFalse(it.hasNext(), "No more elements expected"); assertNull(it.next(), "next() returns null when exhausted in this implementation"); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
assertDoesNotThrow(() -> impl.releaseBuffer(null)); // Subsequent get should still work assertEquals(4, impl.getBuffer().length); } // Capacity behavior: when full, additional releases are dropped; only cached buffers are returned @Test @DisplayName("Cache capacity respected: extra releases dropped; retrieval order by first free slot")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java
// Call shutdown without setting listener try { scriptExecutor.shutdown(); fail("Expected NullPointerException"); } catch (NullPointerException e) { // Expected behavior when no listener is set } } @Test public void test_addShutdownListener_replacesExisting() { // Add first listenerCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 10.5K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/ValueGraphBuilder.java
* * <p>{@code ValueGraph}s built by this class also guarantee that each collection-returning accessor * returns a <b>(live) unmodifiable view</b>; see <a * href="https://github.com/google/guava/wiki/GraphsExplained#accessor-behavior">the external * documentation</a> for details. * * <p>Examples of use: * * {@snippet : * // Building a mutable value graph * MutableValueGraph<String, Double> graph =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 7.8K bytes - Click Count (0) -
src/main/java/jcifs/netbios/UniAddress.java
* <a href="../../resolver.html">Setting Name Resolution Properties</a> * and the <code>jcifs.resolveOrder</code> property. Changing * jCIFS name resolution properties can greatly affect the behavior of * the client and may be necessary for proper operation. * <p> * This class should be used in favor of {@code InetAddress} to resolve * hostnames on LANs and WANs that support a mixture of NetBIOS/WINS and
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.3K bytes - Click Count (0) -
src/test/java/jcifs/context/CIFSContextWrapperTest.java
when(mockDelegate.getConfig()).thenReturn(mockConfiguration); when(mockConfiguration.isTraceResourceUsage()).thenReturn(false); // Default to false or true based on expected behavior cifsContextWrapper = new CIFSContextWrapper(mockDelegate); } @Test void testConstructor() { // Verify that the delegate is correctly set assertNotNull(cifsContextWrapper);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
System.arraycopy(outputBuffer, 0, actualData, 0, testData.length); assertArrayEquals(testData, actualData); } @Test void testReadDataWireFormatNullOutputBuffer() { // Test behavior when outputBuffer is null (edge case) TransTransactNamedPipeResponse nullBufferResponse = new TransTransactNamedPipeResponse(mockConfig, null); byte[] buffer = new byte[100];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.5K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java
} else if (exception instanceof NullPointerException) { // Empty input causes null ASN1 object, which is expected behavior assertTrue(exception.getMessage() == null || exception.getMessage().contains("Cannot invoke \"Object.getClass()\""), "NullPointerException should be from null ASN1 object."); } }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9K bytes - Click Count (0)