Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for 0x8 (0.01 sec)

  1. src/archive/zip/writer_test.go

    		flags   uint16
    	}{
    		{
    			name:    "hi, hello",
    			comment: "in the world",
    			flags:   0x8,
    		},
    		{
    			name:    "hi, こんにちわ",
    			comment: "in the world",
    			flags:   0x808,
    		},
    		{
    			name:    "hi, こんにちわ",
    			comment: "in the world",
    			nonUTF8: true,
    			flags:   0x8,
    		},
    		{
    			name:    "hi, hello",
    			comment: "in the 世界",
    			flags:   0x808,
    		},
    		{
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

            }
    
            @Test
            @DisplayName("Multi-channel capability should be 0x8")
            void testGlobalCapMultiChannel() {
                assertEquals(0x8, Smb2Constants.SMB2_GLOBAL_CAP_MULTI_CHANNEL, "Multi-channel capability must be 0x8");
            }
    
            @Test
            @DisplayName("Persistent handles capability should be 0x10")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

        }
    
        @Test
        @DisplayName("Should return correct share capability constants")
        void testShareCapabilityConstants() {
            // Then
            assertEquals(0x8, Smb2TreeConnectResponse.SMB2_SHARE_CAP_DFS);
            assertEquals(0x10, Smb2TreeConnectResponse.SMB2_SHARE_CAP_CONTINUOUS_AVAILABILITY);
            assertEquals(0x20, Smb2TreeConnectResponse.SMB2_SHARE_CAP_SCALEOUT);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Huffman.kt

          0x5,
          0x25,
          0x26,
          0x27,
          0x6,
          0x74,
          0x75,
          0x28,
          0x29,
          0x2a,
          0x7,
          0x2b,
          0x76,
          0x2c,
          0x8,
          0x9,
          0x2d,
          0x77,
          0x78,
          0x79,
          0x7a,
          0x7b,
          0x7ffe,
          0x7fc,
          0x3ffd,
          0x1ffd,
          0xffffffc,
          0xfffe6,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

        void testOplockLevelConstants() {
            assertEquals((byte) 0x0, Smb2CreateRequest.SMB2_OPLOCK_LEVEL_NONE);
            assertEquals((byte) 0x1, Smb2CreateRequest.SMB2_OPLOCK_LEVEL_II);
            assertEquals((byte) 0x8, Smb2CreateRequest.SMB2_OPLOCK_LEVEL_EXCLUSIVE);
            assertEquals((byte) 0x9, Smb2CreateRequest.SMB2_OPLOCK_LEVEL_BATCH);
            assertEquals((byte) 0xFF, Smb2CreateRequest.SMB2_OPLOCK_LEVEL_LEASE);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  6. src/archive/zip/struct.go

    func (h *FileHeader) isZip64() bool {
    	return h.CompressedSize64 >= uint32max || h.UncompressedSize64 >= uint32max
    }
    
    func (h *FileHeader) hasDataDescriptor() bool {
    	return h.Flags&0x8 != 0
    }
    
    func msdosModeToFileMode(m uint32) (mode fs.FileMode) {
    	if m&msdosDir != 0 {
    		mode = fs.ModeDir | 0777
    	} else {
    		mode = 0666
    	}
    	if m&msdosReadOnly != 0 {
    		mode &^= 0222
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 28 21:41:09 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        /**
         * Level II oplock
         */
        public static final byte SMB2_OPLOCK_LEVEL_II = 0x1;
        /**
         * Exclusive oplock
         */
        public static final byte SMB2_OPLOCK_LEVEL_EXCLUSIVE = 0x8;
        /**
         * Batch oplock
         */
        public static final byte SMB2_OPLOCK_LEVEL_BATCH = 0x9;
        /**
         * Lease-based oplock
         */
        public static final byte SMB2_OPLOCK_LEVEL_LEASE = (byte) 0xFF;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            assertEquals(0x2, Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_DIR_NAME);
            assertEquals(0x4, Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_ATTRIBUTES);
            assertEquals(0x8, Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_SIZE);
            assertEquals(0x10, Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_LAST_WRITE);
            assertEquals(0x20, Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_LAST_ACCESS);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

        }
    
        @Test
        void testGetFlag() {
            // Test getting individual flags
            message.setFlags(0b1010); // Set flags: 8 (0x8) and 2 (0x2)
            assertTrue(message.getFlag(0b1000), "Flag 0b1000 should be set.");
            assertTrue(message.getFlag(0b0010), "Flag 0b0010 should be set.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  10. src/archive/zip/writer.go

    		// even when compressing an empty string.
    		fh.Method = Store
    		fh.Flags &^= 0x8 // we will not write a data descriptor
    
    		// Explicitly clear sizes as they have no meaning for directories.
    		fh.CompressedSize = 0
    		fh.CompressedSize64 = 0
    		fh.UncompressedSize = 0
    		fh.UncompressedSize64 = 0
    
    		ow = dirWriter{}
    	} else {
    		fh.Flags |= 0x8 // we will write a data descriptor
    
    		fw = &fileWriter{
    			zipw:      w.cw,
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 19.4K bytes
    - Viewed (0)
Back to top