Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 85 for 0x1234 (0.12 sec)

  1. src/test/java/jcifs/smb/SSPContextTest.java

        class ParameterizedInit {
            static Stream<Arguments> validRanges() {
                byte[] src = new byte[] { 0, 1, 2, 3 };
                return Stream.of(Arguments.of(src, 0, 0, new byte[] {}), Arguments.of(src, 0, 4, new byte[] { 0, 1, 2, 3 }),
                        Arguments.of(src, 1, 2, new byte[] { 1, 2 }), Arguments.of(src, 3, 1, new byte[] { 3 }));
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SIDTest.java

         *
         * @throws SmbException if the SID string is invalid
         */
        @Test
        void testStringConstructorWithHex() throws SmbException {
            SID sid = new SID("S-1-0x12-21-1");
            assertEquals(1, sid.revision);
            assertEquals(0x12, sid.identifier_authority[5]);
            assertEquals(2, sid.sub_authority_count);
            assertEquals(21, sid.sub_authority[0]);
            assertEquals(1, sid.sub_authority[1]);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/SetViewTest.java

        Set<Integer> set2 = newHashSet(2, 3);
        Set<Integer> union = union(set1, set2);
        assertThat(union).containsExactly(1, 2, 3);
        set1.add(0);
        assertThat(union).containsExactly(0, 1, 2, 3);
        set2.remove(3);
        assertThat(union).containsExactly(0, 1, 2);
      }
    
      public void testIntersection_isView() {
        Set<Integer> set1 = newHashSet(1, 2);
        Set<Integer> set2 = newHashSet(2, 3);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java

            byte[] testBytes2 = Arrays.copyOf(testBytes1, 16);
            byte[] testBytes3 = new byte[] { 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20 };
    
            Smb2LeaseKey key1 = new Smb2LeaseKey(testBytes1);
            Smb2LeaseKey key2 = new Smb2LeaseKey(testBytes2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

        ImmutableLongArray.of().forEach(i -> fail());
        ImmutableLongArray.of(0, 1, 3).subArray(1, 1).forEach(i -> fail());
    
        AtomicLong count = new AtomicLong(0);
        ImmutableLongArray.of(0, 1, 2, 3)
            .forEach(i -> assertThat(i).isEqualTo(count.getAndIncrement()));
        assertThat(count.get()).isEqualTo(4);
      }
    
      public void testStream() {
        ImmutableLongArray.of().stream().forEach(i -> fail());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java

            searchRenderData.setExecTime("");
            assertEquals("", searchRenderData.getExecTime());
    
            // Test with formatted time string
            searchRenderData.setExecTime("0.123 sec");
            assertEquals("0.123 sec", searchRenderData.getExecTime());
        }
    
        public void test_setAndGetPageSize() {
            // Test with zero
            searchRenderData.setPageSize(0);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        ImmutableDoubleArray.of().forEach(i -> fail());
        ImmutableDoubleArray.of(0, 1, 3).subArray(1, 1).forEach(i -> fail());
    
        AtomicInteger count = new AtomicInteger(0);
        ImmutableDoubleArray.of(0, 1, 2, 3)
            .forEach(i -> assertThat(i).isEqualTo((double) count.getAndIncrement()));
        assertThat(count.get()).isEqualTo(4);
      }
    
      public void testStream() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

            for (int i = 0; i < 24; i++) {
                buffer[offset + i] = (byte) (0xFF - i);
            }
    
            // Add context length at offset
            buffer[offset + 24] = 0x12;
            buffer[offset + 25] = 0x34;
            buffer[offset + 26] = 0x56;
            buffer[offset + 27] = 0x78;
    
            // Decode
            int bytesConsumed = response.decode(buffer, offset, 28);
    
            // Verify
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dtyp/ACETest.java

            testBuffer[3] = 0x00; // Size high byte
            testBuffer[4] = (byte) 0xA9; // Access mask byte 0
            testBuffer[5] = 0x00; // Access mask byte 1
            testBuffer[6] = 0x12; // Access mask byte 2
            testBuffer[7] = 0x00; // Access mask byte 3
    
            // Add minimal SID data (S-1-1-0 - Everyone)
            testBuffer[8] = 0x01; // Revision
            testBuffer[9] = 0x01; // Sub-authority count
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        setUp(parameters.first, parameters.second)
        val expectedByteCount = if (windows) 10L else 0L
        val afterRemoveFileContents = if (windows) "a1234" else null
    
        set("a", "a1234", "a1234")
        val a = cache.edit("a")!!
        a.setString(0, "a123")
        cache.maxSize = 8 // Smaller than the sum of active edits!
        cache.flush() // Force trimToSize().
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 75.7K bytes
    - Viewed (0)
Back to top