Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 245 for edges (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/SmbResourceLocatorTest.java

                assertEquals("smb://server/share/path/filetxt", loc.getCanonicalURL());
                assertFalse(loc.isRoot());
            }
        }
    
        @Nested
        @DisplayName("Invalid inputs and edge cases")
        class Invalid {
            @Test
            void nullUrlThrows() {
                assertThrows(IllegalArgumentException.class, () -> new DummySmbResourceLocator(null));
            }
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

        @RetainedLocalRef Future<?> localTimer = timer;
        // Try to cancel the timer as an optimization.
        // timer may be null if this call to run was by the timer task since there is no happens-before
        // edge between the assignment to timer and an execution of the timer task.
        if (localTimer != null) {
          localTimer.cancel(false);
        }
    
        delegateRef = null;
        timer = null;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

                int result = response.readBytesWireFormat(buffer, bufferIndex);
                assertEquals(2, result, "Should consistently return 2 on call " + (i + 1));
            }
        }
    
        @Test
        @DisplayName("Test edge case with maximum buffer index")
        void testReadBytesWireFormatMaxBufferIndex() throws SMBProtocolDecodingException {
            byte[] buffer = new byte[65536]; // Large buffer
            int bufferIndex = 65534; // Near the end
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResultTest.java

                assertEquals(1, merged.unmodifiedCount(), "Should have 1 unmodified POM");
                assertEquals(0, merged.errorCount(), "Should have no errors");
            }
        }
    
        @Nested
        @DisplayName("Edge Cases")
        class EdgeCases {
    
            @Test
            @DisplayName("should handle large number of POMs efficiently")
            void shouldHandleLargeNumberOfPOMsEfficiently() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  5. CONTRIBUTING.md

    The build cache has anonymous read access, so you don't need to authenticate in order to use it. You can use a different build cache node by specifying `-Ddevelocity.edge.discovery=false -DcacheNode=us` for a build cache node in the US or `-Ddevelocity.edge.discovery=false -DcacheNode=au` for a build cache node in Australia.
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 27 18:43:39 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

            verify(tree, atLeastOnce()).release();
        }
    
        @ParameterizedTest
        @ValueSource(strings = { "", " ", "*", "?" })
        @DisplayName("Supports various wildcard values without throwing (edge cases)")
        void wildcardEdgeCases(String wildcard) throws Exception {
            // minimal successful first response with a single entry
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            String id1 = SuggestUtil.createSuggestTextId(text);
            String id2 = SuggestUtil.createSuggestTextId(text);
            assertEquals(id1, id2);
        }
    
        // Additional tests for getAsList edge cases
        @Test
        public void testGetAsListWithSingleCharacterString() {
            // Test with single character
            List<String> result = SuggestUtil.getAsList("x");
            assertNotNull(result);
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/util/JvmUtilTest.java

            assertEquals(17, JvmUtil.getJavaVersion());
    
            System.setProperty("java.version", "8.0.332");
            assertEquals(8, JvmUtil.getJavaVersion());
    
            // Edge case: version starts with 1 but not old format
            System.setProperty("java.version", "18.0.1");
            assertEquals(18, JvmUtil.getJavaVersion());
    
            // Test with extra parts
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  9. src/test/java/jcifs/dcerpc/UUIDTest.java

                // Assert
                assertEquals("FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF", result, "toString() should correctly format maximum value UUID");
            }
        }
    
        @Nested
        @DisplayName("Edge Case Tests")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("UUID with mixed case should parse correctly")
            void testMixedCaseUuid() {
                // Arrange
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

                readBytes.setAccessible(true);
                assertEquals(0, readBytes.invoke(cancel, buffer, position));
            }
        }
    
        @Nested
        @DisplayName("Edge Cases")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle empty byte arrays")
            void testWithEmptyArrays() throws Exception {
                // Given
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.8K bytes
    - Click Count (0)
Back to Top