Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 304 for 0x200 (0.19 seconds)

  1. 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;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  2. 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")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  3. 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 */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 112.2K bytes
    - Click Count (0)
  4. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 35K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            ByteBuffer buffer = ByteBuffer.allocate(response.byteCount);
            buffer.put(encryptionKey);
            buffer.put(domainNameBytes);
            buffer.put((byte) 0x00); // Null terminator
    
            byte[] byteData = buffer.array();
    
            // Call the method
            int bytesRead = response.readBytesWireFormat(byteData, 0);
    
            // Assertions
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

            assertEquals(0x10, SecurityInfo.LABEL_SECURITY_INFO);
        }
    
        @Test
        @DisplayName("Test ATTRIBUTE_SECURITY_INFO constant value")
        void testAttributeSecurityInfo() {
            assertEquals(0x20, SecurityInfo.ATTRIBUTE_SECURITY_INFO);
        }
    
        @Test
        @DisplayName("Test SCOPE_SECURITY_INFO constant value")
        void testScopeSecurityInfo() {
            assertEquals(0x40, SecurityInfo.SCOPE_SECURITY_INFO);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  7. 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);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/net/PercentEscaper.java

          cp >>>= 2;
          dest[2] = upperHexDigits[cp & 0xF];
          cp >>>= 4;
          dest[1] = upperHexDigits[0xC | cp];
          return dest;
        } else if (cp <= 0xffff) {
          // Three byte UTF-8 characters [cp >= 0x800 && cp <= 0xffff]
          // Start with "%E-%--%--" and fill in the blanks
          char[] dest = new char[9];
          dest[0] = '%';
          dest[1] = 'E';
          dest[3] = '%';
          dest[6] = '%';
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 8.6K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/netbios/SessionServicePacket.java

         * Creates a new session service packet instance.
         */
        public SessionServicePacket() {
            // Default constructor
        }
    
        // session service packet types
        static final int SESSION_MESSAGE = 0x00;
        static final int SESSION_REQUEST = 0x81;
        /**
         * NetBIOS positive session response packet type.
         */
        public static final int POSITIVE_SESSION_RESPONSE = 0x82;
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

        }
    
        @Override
        int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            dst[dstIndex] = (byte) 0x00;
            dstIndex++;
            // name length without counting null termination
            namelen_index = dstIndex;
            dstIndex += 2;
            writeInt4(flags0, dst, dstIndex);
            dstIndex += 4;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 6.5K bytes
    - Click Count (0)
Back to Top