Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 3,007 for int8 (0.01 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt

    import okhttp3.HttpUrl
    import okio.ByteString
    
    /** An HTTP request that came into the mock web server. */
    public class RecordedRequest(
      /**
       * The index of the socket connection that carried this request. If two recorded requests share a
       * connection index, they also shared a socket connection.
       */
      public val connectionIndex: Int,
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableMap.java

        }
    
        @SuppressWarnings({"unchecked", "rawtypes"})
        Builder(int initialCapacity) {
          this.alternatingKeysAndValues = new @Nullable Object[2 * initialCapacity];
          this.size = 0;
          this.entriesUsed = false;
        }
    
        private void ensureCapacity(int minCapacity) {
          if (minCapacity * 2 > alternatingKeysAndValues.length) {
            alternatingKeysAndValues =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 41.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

            }
    
            @ParameterizedTest
            @DisplayName("Should handle various tflags values")
            @ValueSource(ints = { 0, 1, 255, 256, 32767, 65535 })
            void testTflagsValues(int tflagsValue) {
                byte[] testBuffer = new byte[8];
                ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 100, 255, 256, 65535 })
        @DisplayName("Test readBytesWireFormat with various invalid structure sizes")
        void testReadBytesWireFormatVariousInvalidSizes(int invalidSize) {
            response = new Smb2QueryDirectoryResponse(mockConfig, (byte) 0x03);
            byte[] buffer = new byte[1024];
            int bufferIndex = 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/CharSource.java

       *
       * <p>Since Strings are immutable and built into the jdk we can optimize some operations
       *
       * <ul>
       *   <li>use {@link StringReader} instead of {@link CharSequenceReader}. It is faster since it can
       *       use {@link String#getChars(int, int, char[], int)} instead of copying characters one by
       *       one with {@link CharSequence#charAt(int)}.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/CharSource.java

       *
       * <p>Since Strings are immutable and built into the jdk we can optimize some operations
       *
       * <ul>
       *   <li>use {@link StringReader} instead of {@link CharSequenceReader}. It is faster since it can
       *       use {@link String#getChars(int, int, char[], int)} instead of copying characters one by
       *       one with {@link CharSequence#charAt(int)}.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

            void testEncodeVariousHashAlgoCounts(int algoCount) {
                int[] hashAlgos = new int[algoCount];
                for (int i = 0; i < algoCount; i++) {
                    hashAlgos[i] = i + 1;
                }
                byte[] salt = { 0x01, 0x02 };
                PreauthIntegrityNegotiateContext context = new PreauthIntegrityNegotiateContext(mockConfig, hashAlgos, salt);
    
                int bytesWritten = context.encode(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

        }
    
        @ParameterizedTest
        @ValueSource(ints = { FileSystemInformation.SMB_INFO_ALLOCATION, FileSystemInformation.FS_SIZE_INFO,
                FileSystemInformation.FS_FULL_SIZE_INFO })
        void testConstructorWithDifferentInformationLevels(int informationLevel) {
            // Test constructor with different information levels
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/transport/Transport.java

         * @return number of bytes read
         * @throws IOException if an I/O error occurs
         */
        public static int readn(final InputStream in, final byte[] b, final int off, final int len) throws IOException {
            int i = 0, n = -5;
    
            if (off + len > b.length) {
                throw new IOException("Buffer too short, bufsize " + b.length + " read " + len);
            }
    
            while (i < len) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/HexdumpTest.java

            assertEquals(64, result.length()); // 32 bytes * 2 chars per byte
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 1, 16, 32, 64, 128, 256 })
        @DisplayName("Should handle various data sizes")
        void testVariousDataSizes(int size) {
            // Given
            byte[] data = createTestData(size);
    
            // When
            String result = Hexdump.toHexString(data);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top