Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 77 for 0011 (0.02 sec)

  1. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

            // Assert
            assertNotNull(transPeekNamedPipe);
            assertNull(transPeekNamedPipe.name);
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, -1, Integer.MAX_VALUE, Integer.MIN_VALUE, 0xFFFF })
        @DisplayName("Constructor should handle various FID values")
        void testConstructorWithVariousFids(int fid) {
            // Act
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

                        readings[j] = l.toArray(String[]::new);
                    }
    
                    items.add(new SuggestItem(words, readings, new String[] { field }, 0, 1, -1, tags, roles, null, SuggestItem.Kind.QUERY));
                }
            } catch (final IOException e) {
                throw new SuggesterException("Failed to create SuggestItem from query log.", e);
            }
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/AllocInfoTest.java

                // When - calculate percentage free
                double percentFree = (allocInfo.getFree() * 100.0) / allocInfo.getCapacity();
    
                // Then
                assertEquals(25.0, percentFree, 0.001);
            }
    
            @Test
            @DisplayName("Should support available space check pattern")
            void shouldSupportAvailableSpaceCheckPattern() {
                // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFileInputStream.java

         *             if a network error occurs
         */
    
        @Override
        public int read() throws IOException {
            // need oplocks to cache otherwise use BufferedInputStream
            if (read(this.tmp, 0, 1) == -1) {
                return -1;
            }
            return this.tmp[0] & 0xFF;
        }
    
        /**
         * Reads up to b.length bytes of data from this input stream into an array of bytes.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SIDTest.java

                assertFalse(s2.isEmpty());
                assertTrue(s2.isBlank());
            }
    
            @ParameterizedTest(name = "type {0} -> {1}")
            @CsvSource({ "0, 0", "1, User", "2, Domain group", "3, Domain", "4, Local group", "5, Builtin group", "6, Deleted", "7, Invalid",
                    "8, Unknown" })
            @DisplayName("getType and getTypeText cover all types")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            originalPairs.add(new AvTimestamp(new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 }));
            originalPairs.add(new AvTargetName("TESTNAME".getBytes()));
            originalPairs.add(new AvSingleHost(new byte[] { 0x11, 0x22, 0x33, 0x44 }));
            originalPairs.add(new AvChannelBindings(new byte[] { 0x55, 0x66 }));
    
            byte[] encoded = AvPairs.encode(originalPairs);
            List<AvPair> decodedPairs = AvPairs.decode(encoded);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            // Given
            int securityMode = 0x03;
            int capabilities = 0x0000000F;
            long previousSessionId = 0x123456789ABCDEF0L;
            byte[] token = { (byte) 0x11, (byte) 0x22, (byte) 0x33, (byte) 0x44, (byte) 0x55, (byte) 0x66, (byte) 0x77, (byte) 0x88 };
    
            Smb2SessionSetupRequest req = new Smb2SessionSetupRequest(mockContext, securityMode, capabilities, previousSessionId, token);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            // Write READ response body
            int dataLength = 20;
            int dataRemaining = 0;
            int dataOffsetFromHeader = 80;
    
            // Structure size (17 = 0x11)
            SMBUtil.writeInt2(17, buffer, bodyStart);
            // Data offset (byte - offset from header start)
            buffer[bodyStart + 2] = (byte) dataOffsetFromHeader;
            // Reserved
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/NbtAddressTest.java

        private NameServiceClient mockNameServiceClient;
        @Mock
        private BaseConfiguration mockConfig;
    
        private int testAddressInt = 0xC0A80101; // 192.168.1.1
        private byte[] testMacAddress = new byte[] { 0x00, 0x11, 0x22, 0x33, 0x44, 0x55 };
    
        @BeforeEach
        void setUp() {
            // Setup will be done per test as needed
        }
    
        @Test
        void testConstructorWithMinimalParameters() throws UnknownHostException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

            @DisplayName("Should handle file ID updates")
            void testFileIdUpdates() {
                // Initial file ID
                byte[] initialFileId = new byte[16];
                Arrays.fill(initialFileId, (byte) 0x11);
                request.setFileId(initialFileId);
    
                byte[] buffer1 = new byte[256];
                request.writeBytesWireFormat(buffer1, 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
Back to top