Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 335 for wird (0.01 sec)

  1. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            assertEquals(0x2222, SMBUtil.readInt2(dst2, 0));
            assertEquals(0x3333, SMBUtil.readInt2(dst3, 0));
        }
    
        @Test
        @DisplayName("Test parameter wire format structure")
        void testParameterWireFormatStructure() {
            querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, 0xABCD, 0x12345678);
            byte[] dst = new byte[100];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

        }
    
        @Test
        void testCompleteWireFormatRoundTrip() {
            trans2QueryPathInfo = new Trans2QueryPathInformation(config, TEST_FILENAME, TEST_INFO_LEVEL);
    
            // Test complete wire format writing
            byte[] setupBuffer = new byte[256];
            byte[] paramBuffer = new byte[512];
            byte[] dataBuffer = new byte[256];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/AbstractBaseGraph.java

            throw new UnsupportedOperationException();
          }
    
          // Mostly safe: We check contains(u) before calling successors(u), so we perform unsafe
          // operations only in weird cases like checking for an EndpointPair<ArrayList> in a
          // Graph<LinkedList>.
          @SuppressWarnings("unchecked")
          @Override
          public boolean contains(@Nullable Object obj) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. src/bufio/example_test.go

    	}
    	if err := scanner.Err(); err != nil {
    		fmt.Fprintln(os.Stderr, "shouldn't see an error scanning a string")
    	}
    	// Output:
    	// true
    }
    
    // Use a Scanner to implement a simple word-count utility by scanning the
    // input as a sequence of space-delimited tokens.
    func ExampleScanner_words() {
    	// An artificial input source.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            // Then - nothing should happen (empty implementation)
            verifyNoInteractions(resp);
        }
    
        @Test
        @DisplayName("Should read valid negotiate response from wire format")
        void testReadBytesWireFormatValid() throws Exception {
            // Given
            byte[] buffer = createValidNegotiateResponseBuffer();
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

                int result = (int) method.invoke(cancel, buffer, bufferIndex);
    
                // Then
                assertEquals(0, result);
            }
        }
    
        @Nested
        @DisplayName("Wire Format Tests")
        class WireFormatTests {
    
            private SmbComNtCancel cancel;
            private Configuration mockConfig;
    
            @BeforeEach
            void setUp() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            assertEquals(expectedTime, response.getLastAccessTime());
        }
    
        @Test
        void testReadParameterWordsWireFormatWithData() {
            // Test reading parameter words from wire format
            response = new SmbComQueryInformationResponse(mockConfig, 0L);
    
            // Prepare test data
            byte[] buffer = new byte[256];
            int bufferIndex = 0;
    
            // Set wordCount to non-zero
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            IOException exception = assertThrows(IOException.class, () -> {
                packet.readTrailerWireFormat(bais, readBuffer, 0);
            });
    
            assertEquals("invalid session request wire format", exception.getMessage());
        }
    
        @ParameterizedTest
        @MethodSource("provideNamesForWriteTest")
        @DisplayName("writeTrailerWireFormat should handle various name combinations")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

            int size = request.size();
            int expectedRawSize = Smb2Constants.SMB2_HEADER_LENGTH + 32 + 64;
            int expectedSize = (expectedRawSize + 7) & ~7;
            assertEquals(expectedSize, size);
    
            // Test wire format writing
            byte[] buffer = new byte[512];
            int bytesWritten = request.writeBytesWireFormat(buffer, 64);
    
            // Verify all fields in the buffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

            when(fe3.getFileIndex()).thenReturn(3);
    
            // Track query count to handle multiple queries properly
            final int[] queryCount = { 0 };
    
            // Mock send(create) to wire a query response with fe1, fe2
            doAnswer(inv -> {
                Object arg = inv.getArgument(0);
                if (arg instanceof Smb2CreateRequest) {
                    Smb2CreateRequest create = (Smb2CreateRequest) arg;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
Back to top