Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 251 for 0x200 (0.02 sec)

  1. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                assertEquals("Expected structureSize = 24", exception.getMessage());
            }
    
            @ParameterizedTest
            @DisplayName("Should read different oplock levels correctly")
            @ValueSource(bytes = { 0x00, 0x01, 0x02, 0x08, (byte) 0xFF })
            void testReadDifferentOplockLevels(byte oplockLevel) throws Exception {
                byte[] buffer = createValidOplockBreakBuffer(oplockLevel, createTestData(16));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/CharStreams.java

     * @author Bin Zhu
     * @author Colin Decker
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class CharStreams {
    
      // 2K chars (4K bytes)
      private static final int DEFAULT_BUF_SIZE = 0x800;
    
      /** Creates a new {@code CharBuffer} for buffering reads or writes. */
      static CharBuffer createBuffer() {
        return CharBuffer.allocate(DEFAULT_BUF_SIZE);
      }
    
      private CharStreams() {}
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 30 17:25:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

            void setup() throws GeneralSecurityException {
                digest = new Smb2SigningDigest(sessionKey, Smb2Constants.SMB2_DIALECT_0202, null);
                data = new byte[128];
                Arrays.fill(data, (byte) 0x00);
    
                // Set up mock messages
                request = mock(CommonServerMessageBlock.class);
                response = mock(CommonServerMessageBlock.class);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/NetServerEnum2.java

            subCommand = NET_SERVER_ENUM2; // not really true be used by upper logic
            name = "\\PIPE\\LANMAN";
    
            maxParameterCount = 8;
            maxDataCount = 16384;
            maxSetupCount = (byte) 0x00;
            setupCount = 0;
            timeout = 5000;
        }
    
        @Override
        void reset(final int key, final String lastName) {
            super.reset();
            this.lastName = lastName;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbResourceTest.java

            }
    
            @Test
            @DisplayName("getAttributes should return file attributes")
            void testGetAttributes() throws CIFSException {
                // Given
                int expectedAttributes = 0x20; // FILE_ATTRIBUTE_ARCHIVE
                when(mockResource.getAttributes()).thenReturn(expectedAttributes);
    
                // When
                int attributes = mockResource.getAttributes();
    
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

                System.arraycopy(buffer, tokenOffset, actualToken, 0, tokenSize);
                assertArrayEquals(token, actualToken);
            }
        }
    
        @ParameterizedTest
        @CsvSource({ "0x00, 0x00000000", "0x01, 0x00000001", "0x03, 0x0000000F", "0xFF, 0x7FFFFFFF" })
        @DisplayName("Should handle various security modes and capabilities")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java

            boolean isPermanent;
            int j;
            boolean addrFound = false;
    
            try {
                for (int i = 0; i < numberOfNames; srcIndex += 18, i++) {
                    for (j = srcIndex + 14; src[j] == 0x20; j--) {
                        ;
                    }
                    n = new String(src, srcIndex, j - srcIndex + 1, Name.OEM_ENCODING);
                    hexCode = src[srcIndex + 15] & 0xFF;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java

            this.domain = domain;
            this.serverTypes = serverTypes;
            this.name = "\\PIPE\\LANMAN";
    
            this.maxParameterCount = 8;
            this.maxDataCount = 16384;
            this.maxSetupCount = (byte) 0x00;
            this.setupCount = 0;
            this.timeout = 5000;
        }
    
        @Override
        public void reset(final int key, final String lastN) {
            super.reset();
            this.lastName = lastN;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java

        void testEncodeWithManyDialects() {
            // Create an array with many dialects
            int[] manyDialects = new int[100];
            for (int i = 0; i < manyDialects.length; i++) {
                manyDialects[i] = 0x0200 + i;
            }
    
            ValidateNegotiateInfoRequest request =
                    new ValidateNegotiateInfoRequest(DEFAULT_CAPABILITIES, defaultClientGuid, DEFAULT_SECURITY_MODE, manyDialects);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFile.java

         * with {@code setAttributes()} is an archived file
         */
        public static final int ATTR_ARCHIVE = 0x20;
    
        // extended file attribute encoding(others same as above)
        static final int ATTR_COMPRESSED = 0x800;
        static final int ATTR_NORMAL = 0x080;
        static final int ATTR_TEMPORARY = 0x100;
    
        static final int ATTR_GET_MASK = 0x7FFF; /* orig 0x7fff */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
Back to top