Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 331 for 0x02 (0.31 sec)

  1. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            buffer[66] = (byte) 0x4C;
            buffer[67] = (byte) 0x4D;
            buffer[68] = (byte) 0x53;
            buffer[69] = (byte) 0x53;
            buffer[70] = (byte) 0x50;
            buffer[71] = (byte) 0x00;
    
            return buffer;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/HashCode.java

       */
      public abstract long asLong();
    
      /**
       * If this hashcode has enough bits, returns {@code asLong()}, otherwise returns a {@code long}
       * value with {@code asBytes()} as the least-significant bytes and {@code 0x00} as the remaining
       * most-significant bytes.
       *
       * @since 14.0 (since 11.0 as {@code Hashing.padToLong(HashCode)})
       */
      public abstract long padToLong();
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. src/archive/zip/struct.go

    	s_IFREG  = 0x8000
    	s_IFBLK  = 0x6000
    	s_IFDIR  = 0x4000
    	s_IFCHR  = 0x2000
    	s_IFIFO  = 0x1000
    	s_ISUID  = 0x800
    	s_ISGID  = 0x400
    	s_ISVTX  = 0x200
    
    	msdosDir      = 0x10
    	msdosReadOnly = 0x01
    )
    
    // Mode returns the permission and mode bits for the [FileHeader].
    func (h *FileHeader) Mode() (mode fs.FileMode) {
    	switch h.CreatorVersion >> 8 {
    	case creatorUnix, creatorMacOSX:
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 28 21:41:09 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

            }
    
            @Test
            @DisplayName("Should construct with config and command")
            void testConstructorWithConfigAndCommand() {
                int command = 0x01;
                TestServerMessageBlock2Response resp = new TestServerMessageBlock2Response(mockConfig, command);
                assertNotNull(resp);
                assertSame(mockConfig, resp.getConfig());
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

            int bytesWritten = transaction.writeParameterWordsWireFormat(dst, 0);
    
            // Verify the bytes written
            assertTrue(bytesWritten > 0);
    
            // For secondary, first byte should be 0x00 (Reserved)
            assertEquals(0, dst[0]);
    
            // Verify reserved bytes
            assertEquals(0, dst[1]);
            assertEquals(0, dst[2]);
    
            // Verify total parameter count (4 bytes at position 3)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbFileTest.java

                // Act
                var inputStream = smbFile.getInputStream();
    
                // Assert
                assertNotNull(inputStream);
                verify(smbFile).openUnshared(0, // SmbConstants.O_RDONLY = 0x01, but SmbFileInputStream uses 0
                        SmbFile.O_RDONLY, SmbConstants.DEFAULT_SHARING, // 7 = FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE
                        SmbConstants.ATTR_NORMAL, // 128
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

            int n, srcHashCode;
            NodeStatusRequest request;
            NodeStatusResponse response = new NodeStatusResponse(addr);
            request = new NodeStatusRequest(new Name(NbtAddress.ANY_HOSTS_NAME, 0x00, null));
            request.addr = addr.getInetAddress();
    
            n = RETRY_COUNT;
            while (n-- > 0) {
                try {
                    send(request, response, RETRY_TIMEOUT);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            assertArrayEquals(expectedBytes, actualBytes);
    
            // Verify it's actually UTF-16LE (each ASCII char should be followed by 0x00)
            int pathStart = Smb2Constants.SMB2_HEADER_LENGTH + 8;
            for (int i = 0; i < testPath.length(); i++) {
                char c = testPath.charAt(i);
                if (c < 128) { // ASCII character
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Ascii.java

    import com.google.common.annotations.GwtCompatible;
    import java.nio.charset.StandardCharsets;
    
    /**
     * Static methods pertaining to ASCII characters (those in the range of values {@code 0x00} through
     * {@code 0x7F}), and to strings containing such characters.
     *
     * <p>ASCII utilities also exist in other classes of this package:
     *
     * <ul>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  10. 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)
Back to top