Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 251 for Edge (0.02 sec)

  1. android/guava-tests/test/com/google/common/graph/GraphsTest.java

    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /**
     * Tests for {@link Graphs}. Tests assume that the implementation of the method {@code addEdge} adds
     * the missing nodes to the graph, then adds the edge between them.
     */
    @RunWith(JUnit4.class)
    @NullUnmarked
    public class GraphsTest {
      private static final Integer N1 = 1;
      private static final Integer N2 = 2;
      private static final Integer N3 = 3;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.h

                                                        TF_Status* status);
    
    // This method is used to add a new input edge to 'dst', which must be a While
    // op. The While op's "T" attribute must have already been updated to include
    // the new edge. This is used to construct tf.while_loop gradients.
    TF_CAPI_EXPORT extern void TF_AddWhileInputHack(TF_Graph* graph,
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/query/BooleanQueryCommandTest.java

            assertNotNull(result);
            assertTrue(result instanceof BoolQueryBuilder);
        }
    
        // Test to ensure high coverage of edge cases
        public void test_convertBooleanQuery_multipleShouldClauses() {
            BooleanQuery.Builder boolQueryBuilder = new BooleanQuery.Builder();
    
            // Add multiple SHOULD clauses
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  4. android/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)
  5. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

                lock.encode(buffer, 0);
    
                assertEquals(0x11, SMBUtil.readInt4(buffer, 16));
            }
        }
    
        @Nested
        @DisplayName("Edge Cases and Boundary Tests")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle encoding at buffer boundary")
            void testEncodingAtBufferBoundary() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SpnegoContextTest.java

    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSException;
    import jcifs.Configuration;
    
    /**
     * Tests for SpnegoContext focusing on delegation, error handling, and edge cases.
     */
    @ExtendWith(MockitoExtension.class)
    class SpnegoContextTest {
    
        @Mock
        Configuration config;
    
        @Mock
        SSPContext mechContext;
    
        private ASN1ObjectIdentifier[] mechs;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

            void testGetReferrals() {
                assertNotNull(buffer.getReferrals());
                assertEquals(3, buffer.getReferrals().length);
            }
        }
    
        @Nested
        @DisplayName("Edge Cases and Boundary Tests")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle maximum values")
            void testMaximumValues() {
                byte[] testBuffer = new byte[8];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

                assertNotNull(result);
                assertTrue(result.contains("SmbInfoAllocation")); // Note: toString() uses this name
            }
        }
    
        @Nested
        @DisplayName("Edge Cases and Error Handling")
        class EdgeCasesTests {
    
            @Test
            @DisplayName("Should handle null buffer in decode")
            void testNullBuffer() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

                assertEquals(0x1, EncryptionNegotiateContext.CIPHER_AES128_CCM);
                assertEquals(0x2, EncryptionNegotiateContext.CIPHER_AES128_GCM);
            }
        }
    
        @Nested
        @DisplayName("Edge Case Tests")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle maximum supported ciphers")
            void testMaximumCiphers() throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt

        response2.body.close()
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(0)
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(0)
      }
    
      /**
       * Regression test for an edge case where closing response body in the HTTP engine doesn't release
       * the corresponding stream allocation. This test keeps those response bodies alive and reads
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 12.2K bytes
    - Viewed (1)
Back to top