Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 251 for Edge (0.04 sec)

  1. 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;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. 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
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

            // Third invocation
            curtainFinallyHook.hook(assistantDirector);
    
            // All invocations should complete successfully
            assertTrue(true);
        }
    
        // Test with null assistant director (edge case)
        public void test_hook_withNullAssistantDirector() {
            // Hook should handle null parameter gracefully
            curtainFinallyHook.hook(null);
    
            // Verify no NullPointerException is thrown
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

            assertEquals(0L, response.getOffset(), "Offset should be initialized to 0");
        }
    
        /* ------------------------------------------------------------------ */
        /* 2. Parameter word reading - happy path & edge cases                */
        /* ------------------------------------------------------------------ */
    
        /**
         * Provides test cases for {@link SmbComSeekResponse#readParameterWordsWireFormat(byte[], int)}.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            auth.handle(new Callback[] { pc });
            assertEquals("secret", new String(pc.getPassword()));
        }
    
        @Test
        @DisplayName("handle: empty user/domain edge yields '@' and null password")
        void testHandleWithEmptyUserAndDomainEdge() throws Exception {
            // Default constructor results in empty strings for user and domain, null for password
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. 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
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/GraphBuilder.java

     * @since 20.0
     */
    @Beta
    @DoNotMock
    public final class GraphBuilder<N> extends AbstractGraphBuilder<N> {
    
      /** Creates a new instance with the specified edge directionality. */
      private GraphBuilder(boolean directed) {
        super(directed);
      }
    
      /** Returns a {@link GraphBuilder} for building directed graphs. */
      public static GraphBuilder<Object> directed() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java

            assertNotNull(newInstance);
    
            // Verify default values work for new instance
            assertEquals("warm", newInstance.getLastaDiSmartDeployMode());
        }
    
        // Test edge cases for mail configuration
        public void xtest_mailConfiguration_edgeCases() {
            // Test with empty host and port
            FessEnv.SimpleImpl emptyMailEnv = new FessEnv.SimpleImpl() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ACETest.java

                assertFalse((writeOnly & ACE.FILE_READ_DATA) != 0, "Write should not include FILE_READ_DATA");
            }
        }
    
        @Nested
        @DisplayName("Boundary Conditions and Edge Cases")
        class BoundaryConditionsTests {
    
            @Test
            @DisplayName("Should handle signed/unsigned integer boundaries")
            void shouldHandleSignedUnsignedBoundaries() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

        putEdge(N1, N2);
    
        assertThat(graphAsMutableGraph.putEdge(N2, N1)).isFalse();
      }
    
      /**
       * Tests that the method {@code putEdge} will silently add the missing nodes to the graph, then
       * add the edge connecting them. We are not using the proxy methods here as we want to test {@code
       * putEdge} when the end-points are not elements of the graph.
       */
      @Test
      public void putEdge_nodesNotInGraph() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top