Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 256 for Bit (0.01 sec)

  1. src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java

        private long byteOffset;
        private long lengthInBytes;
    
        /**
         * Constructs a LockingAndXRange with large file support.
         *
         * @param largeFile whether to use large file support (64-bit offsets)
         */
        public LockingAndXRange(final boolean largeFile) {
            this.largeFile = largeFile;
        }
    
        /**
         * Returns the process ID associated with this lock range.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NtStatusTest.java

            int[] errorStatuses =
                    { NtStatus.NT_STATUS_ACCESS_DENIED, NtStatus.NT_STATUS_OBJECT_NAME_NOT_FOUND, NtStatus.NT_STATUS_SHARING_VIOLATION };
    
            // When/Then - All error codes should have high bit set (0xC prefix)
            for (int status : errorStatuses) {
                assertTrue((status & (int) 0xC0000000L) == (int) 0xC0000000L,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java

          assertThat(cache.asMap().values()).contains(value2);
          assertThat(cache.asMap().entrySet()).containsExactly(immutableEntry(key2, value2));
        }
      }
    
      // fails in Maven with 64-bit JDK: https://github.com/google/guava/issues/1568
    
      // A simple type whose .toString() will return the same value each time, but without maintaining
      // a strong reference to that value.
      static class Key {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

                  adjustDynamicTableByteCount()
                }
                b == 0x10 || b == 0 -> {
                  // 000?0000 - Ignore never indexed bit.
                  readLiteralHeaderWithoutIndexingNewName()
                }
                else -> {
                  // 000?NNNN - Ignore never indexed bit.
                  val index = readInt(b, PREFIX_4_BITS)
                  readLiteralHeaderWithoutIndexingIndexedName(index - 1)
                }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

                assertEquals(FileSystemInformation.FS_SIZE_INFO, fileFsSizeInfo.getFileSystemInformationClass());
            }
    
            @Test
            @DisplayName("Should decode 64-bit values correctly")
            void testDecode64BitValues() throws SMBProtocolDecodingException {
                byte[] buffer = new byte[24];
                // alloc (8 bytes) - 0x0000000100000000 (4294967296)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

    import java.nio.file.attribute.PosixFileAttributes;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link FileBackedOutputStream}.
     *
     * <p>For a tiny bit more testing, see {@link FileBackedOutputStreamAndroidIncompatibleTest}.
     *
     * @author Chris Nokleberg
     */
    @NullUnmarked
    public class FileBackedOutputStreamTest extends IoTestCase {
    
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 30 16:30:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java

        }
    
        @Test
        void testExpiration() throws InterruptedException {
            // Registration should not be expired initially with long timeout
            assertFalse(registration.isExpired(60000));
    
            // Wait a bit to ensure some time has passed
            Thread.sleep(50);
            // Should be expired with very short timeout (shorter than sleep time)
            assertTrue(registration.isExpired(10));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/dependencies/index.md

    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[13,18] *}
    
    Although you use `Depends` in the parameters of your function the same way you use `Body`, `Query`, etc, `Depends` works a bit differently.
    
    You only give `Depends` a single parameter.
    
    This parameter must be something like a function.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

        private Smb2EncryptionContext encryptionContext;
    
        @BeforeEach
        void setUp() {
            // Initialize test keys
            testEncryptionKey = new byte[16]; // 128-bit key
            testDecryptionKey = new byte[16]; // 128-bit key
            new SecureRandom().nextBytes(testEncryptionKey);
            new SecureRandom().nextBytes(testDecryptionKey);
    
            // Create encryption context with required parameters
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

              "maxIntermediateCas < 0: $maxIntermediateCas"
            }
            this.maxIntermediateCas = maxIntermediateCas
          }
    
        /**
         * Configure the certificate to generate a 256-bit ECDSA key, which provides about 128 bits of
         * security. ECDSA keys are noticeably faster than RSA keys.
         *
         * This is the default configuration and has been since this API was introduced in OkHttp
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 21.6K bytes
    - Viewed (0)
Back to top