Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 254 for 0x11 (0.01 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

            }
    
            @Test
            @DisplayName("Persistent handles capability should be 0x10")
            void testGlobalCapPersistentHandles() {
                assertEquals(0x10, Smb2Constants.SMB2_GLOBAL_CAP_PERSISTENT_HANDLES, "Persistent handles capability must be 0x10");
            }
    
            @Test
            @DisplayName("Directory leasing capability should be 0x20")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

            @Test
            @DisplayName("Should set write flags")
            void testSetWriteFlags() {
                assertDoesNotThrow(() -> request.setWriteFlags(0));
                assertDoesNotThrow(() -> request.setWriteFlags(0x01));
                assertDoesNotThrow(() -> request.setWriteFlags(0xFF));
                assertDoesNotThrow(() -> request.setWriteFlags(Integer.MAX_VALUE));
            }
    
            @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

            }
        }
    
        /* --- flag handling -------------------------------- */
        @Test
        void testFlagSetAndUnset() {
            TestMessage m = new TestMessage();
            int FLAG_A = 0x01;
            int FLAG_B = 0x02;
            assertFalse(m.isFlagSet(FLAG_A));
            m.setFlag(FLAG_A);
            assertTrue(m.isFlagSet(FLAG_A));
            // unset correctly removes the flag
            m.unsetFlag(FLAG_A);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lock/Smb2Lock.java

         */
        public static final int SMB2_LOCKFLAG_UNLOCK = 0x4;
    
        /**
         * Flag indicating the lock should fail immediately if it cannot be granted.
         */
        public static final int SMB2_LOCKFLAG_FAIL_IMMEDIATELY = 0x10;
    
        private final long offset;
        private final long length;
        private final int flags;
    
        /**
         * Constructs an SMB2 lock element with the specified parameters.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/msrpc/srvsvc.java

         * RPC message for getting information about a specific share.
         */
        public static class ShareGetInfo extends DcerpcMessage {
    
            @Override
            public int getOpnum() {
                return 0x10;
            }
    
            /**
             * The return value of the operation.
             */
            public int retval;
            /**
             * The name of the server.
             */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 27K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/msrpc/netdfs.idl

    		[case(200)] DfsEnumArray200 *info200;
    		[case(300)] DfsEnumArray300 *info300;
    	} DfsEnumInfo;
    
    	typedef struct {
    		uint32_t level,
    		[switch_is(level)] DfsEnumInfo e;
    	} DfsEnumStruct;
    
    	[op(0x15)]
    	int NetrDfsEnumEx([in,string,unique] wchar_t dfs_name,
    			[in] uint32_t level,
    			[in] uint32_t prefmaxlen,
    			[in,out,unique] DfsEnumStruct *info,
    			[in,out,unique] uint32_t *totalentries);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

      @BeforeExperiment
      void setUp() {
        testBytes = new byte[size];
        new Random(RANDOM_SEED).nextBytes(testBytes);
      }
    
      @Benchmark
      byte hashing(int reps) {
        byte result = 0x01;
        HashMethod hashMethod = this.hashMethod;
        Algorithm algorithm = this.algorithm;
        for (int i = 0; i < reps; i++) {
          result ^= hashMethod.hash(algorithm, testBytes)[0];
        }
        return result;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

      @BeforeExperiment
      void setUp() {
        testBytes = new byte[size];
        new Random(RANDOM_SEED).nextBytes(testBytes);
      }
    
      @Benchmark
      byte hashing(int reps) {
        byte result = 0x01;
        HashMethod hashMethod = this.hashMethod;
        Algorithm algorithm = this.algorithm;
        for (int i = 0; i < reps; i++) {
          result ^= hashMethod.hash(algorithm, testBytes)[0];
        }
        return result;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

            when(cfg.isTraceResourceUsage()).thenReturn(false);
            stubValidTree(1L, true, true);
    
            byte[] fidBytes = new byte[] { 0x01, 0x02 };
            SmbFileHandleImpl h1 = new SmbFileHandleImpl(cfg, fidBytes, tree, "//u/one", 0x10, 0x20, 0x30, 0x40, 0L);
            String s1 = h1.toString();
            assertTrue(s1.contains("//u/one"));
            assertTrue(s1.contains("0102"), "Expected hex fileId in string");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            // Simulate address = 192.168.1.1 (0xC0A80101)
            src[srcIndex + 2] = (byte) 0xC0;
            src[srcIndex + 3] = (byte) 0xA8;
            src[srcIndex + 4] = (byte) 0x01;
            src[srcIndex + 5] = (byte) 0x01;
    
            // Set 'addrEntry' and 'addrIndex' fields in superclass for the response to be stored
            Field addrEntryField = NameServicePacket.class.getDeclaredField("addrEntry");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
Back to top