Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 126 for 128 (0.02 sec)

  1. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

    import jcifs.internal.util.SMBUtil;
    
    @DisplayName("Smb2Lock Test")
    class Smb2LockTest {
    
        private Smb2Lock lock;
        private byte[] buffer;
    
        @BeforeEach
        void setUp() {
            buffer = new byte[128];
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create lock with valid parameters")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

            assertEquals(4096, response.getServerData().maxRawSize);
            assertEquals(0x04030201, response.getServerData().sessKey);
            assertEquals(0x80, response.getServerData().scapabilities);
            assertEquals(-128, response.getServerData().serverTimeZone);
            assertEquals(8, response.getServerData().encryptionKeyLength);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

            int bufferIndex = offset;
    
            // Set up test values
            int namedPipeState = 0x02;
            int readDataAvailable = 256;
            int numberOfMessages = 5;
            int messageLength = 128;
            byte[] testData = { (byte) 0xFF, (byte) 0xEE, (byte) 0xDD, (byte) 0xCC, (byte) 0xBB, (byte) 0xAA, (byte) 0x99, (byte) 0x88 };
    
            // Write values to buffer at offset
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                byte[] buffer = new byte[512];
                System.arraycopy(SMBUtil.SMB2_HEADER, 0, buffer, 0, 4);
                SMBUtil.writeInt4(128, buffer, 20); // nextCommand = 128 (not final)
    
                testMessage.setBytesRead(10);
    
                int len = testMessage.decode(buffer, 0, false);
    
                // Length should include padding for alignment
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

                    return null;
                }
            }
        }
    
        File getTouchfile(Artifact artifact) {
            StringBuilder sb = new StringBuilder(128);
            sb.append(artifact.getArtifactId());
            sb.append('-').append(artifact.getBaseVersion());
            if (artifact.getClassifier() != null) {
                sb.append('-').append(artifact.getClassifier());
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Apr 22 22:13:51 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

            // This is a multibyte value. Read 7 bits at a time.
            var result = prefixMask
            var shift = 0
            while (true) {
              val b = readByte()
              if (b and 0x80 != 0) { // Equivalent to (b >= 128) since b is in [0..255].
                result += b and 0x7f shl shift
                shift += 7
              } else {
                result += b shl shift // Last byte.
                break
              }
            }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

              combinedHash = ~combinedHash;
            }
            if (!bits.get(combinedHash % bitSize)) {
              return false;
            }
          }
          return true;
        }
      },
      /**
       * This strategy uses all 128 bits of {@link Hashing#murmur3_128} when hashing. It looks different
       * from the implementation in MURMUR128_MITZ_32 because we're avoiding the multiplication in the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

            void testEncodeSizeMismatch() {
                byte[] buffer = new byte[1024];
                testRequest.setTestSize(64);
                testRequest.setTestLength(128);
    
                IllegalStateException exception = assertThrows(IllegalStateException.class, () -> {
                    testRequest.encode(buffer, 0);
                });
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/rpc.java

         */
        private rpc() {
            // Utility class
        }
    
        /**
         * UUID (Universally Unique Identifier) structure for DCE/RPC.
         * Represents a 128-bit UUID as defined by DCE/RPC specification.
         */
        public static class uuid_t extends NdrObject {
    
            /**
             * Default constructor for uuid_t.
             */
            public uuid_t() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

            }
            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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 21.6K bytes
    - Viewed (0)
Back to top