Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 268 for edge (0.03 sec)

  1. src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java

                assertNotNull(msg);
                assertTrue(msg instanceof samr.SamrConnect2);
                assertTrue(msg instanceof DcerpcMessage);
            }
        }
    
        @Nested
        @DisplayName("Edge case handling")
        class EdgeCases {
    
            @Test
            @DisplayName("should handle null system name")
            void testNullSystemNameDoesNotThrow() {
                // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_function_test.cc

          const tensorflow::FunctionDef& fdef,
          const std::vector<EdgeSpec>& e_edges,  // expected edges
          const std::vector<EdgeSpec>& c_edges,  // expected ctrl edges
          bool is_exact_edges = true) {
        // Build a set of edges from fdef
        std::set<EdgeSpec> a_edges;  // actual edges
        // Get edges from inputs to body nodes and between body nodes
        for (const NodeDef& node_def : fdef.node_def()) {
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (1)
  3. src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java

     * parameter word (the session identifier) is written in little‑endian form
     * and that the {@code toString} helper contains the expected values.
     *
     * <p>The tests also exercise edge cases such as negative (wrap‑around) session
     * identifiers and confirm that the writer does not alter any internal state.
     *</p>
     */
    @ExtendWith(MockitoExtension.class)
    class SmbComFindClose2Test {
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java

            NdrHyper decoded = new NdrHyper(0);
            decoded.decode(buf);
            assertEquals(original, decoded.value, "Decoded value should match encoded value");
        }
    
        /**
         * Parameterised test for a selection of edge and typical values.
         */
        @ParameterizedTest(name = "Encode and decode {0}")
        @ValueSource(longs = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java

    /**
     * Tests for SMBProtocolDowngradeException covering all constructors and behaviors.
     */
    @ExtendWith(MockitoExtension.class)
    class SMBProtocolDowngradeExceptionTest {
    
        /**
         * Provides messages including edge cases (null and empty) for parameterized testing.
         */
        static Stream<Arguments> messages() {
            return Stream.of(Arguments.of((String) null), Arguments.of(""), Arguments.of("unexpected downgrade"));
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbNamedPipeTest.java

            assertSame(handle, handle.unwrap(SmbPipeHandle.class), "unwrap should return same instance for interface type");
        }
    
        @ParameterizedTest
        @DisplayName("getPipeType echoes constructor input (edge values)")
        @ValueSource(ints = { 0, SmbPipeResource.PIPE_TYPE_RDONLY, SmbPipeResource.PIPE_TYPE_WRONLY, SmbPipeResource.PIPE_TYPE_DCE_TRANSACT })
        void getPipeTypeEchoesInput(int pipeType) throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbTreeInternalTest.java

        @Test
        @DisplayName("send with explicit null varargs propagates exception from implementation")
        void send_nullVarargsArray_throws() throws Exception {
            // Arrange: passing explicit null vararg array is edge scenario
            when(tree.send(eq(request), isNull())).thenThrow(new CIFSException("null params"));
    
            // Act + Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/https/HandlerTest.java

                // Then
                assertEquals(443, httpsPort);
                assertEquals(80, httpPort);
                assertNotEquals(httpsPort, httpPort);
            }
        }
    
        @Nested
        @DisplayName("Edge Cases")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle reflection access to protected method")
            void testProtectedMethodAccess() throws Exception {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

        }
    
        /**
         * When lastWriteTime is zero the encoded unsigned time must be all 1s.
         */
        @Test
        @DisplayName("edge: writeParameterWordsWireFormat with lastWriteTime=0")
        void testWriteParameterWordsZeroUTime() {
            SmbComClose close = new SmbComClose(42, 0L);
            byte[] buffer = new byte[6];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

     *     #from(ValueGraph)}.
     * @since 20.0
     */
    @Beta
    public final class ValueGraphBuilder<N, V> extends AbstractGraphBuilder<N> {
    
      /** Creates a new instance with the specified edge directionality. */
      private ValueGraphBuilder(boolean directed) {
        super(directed);
      }
    
      /** Returns a {@link ValueGraphBuilder} for building directed graphs. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top