Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1271 - 1280 of 1,848 for lengths (0.03 sec)

  1. android/guava-tests/test/com/google/common/hash/Murmur3Hash128Test.java

      }
    
      /** Returns a {@link HashCode} for a sequence of longs, in big-endian order. */
      private static HashCode toHashCode(long... longs) {
        ByteBuffer bb = ByteBuffer.wrap(new byte[longs.length * 8]).order(ByteOrder.LITTLE_ENDIAN);
        for (long x : longs) {
          bb.putLong(x);
        }
        return HashCode.fromBytes(bb.array());
      }
    
      public void testParanoid() {
        HashFn hf =
            new HashFn() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/DcerpcException.java

     */
    public class DcerpcException extends IOException implements DcerpcError, WinError {
    
        static String getMessageByDcerpcError(final int errcode) {
            int min = 0;
            int max = DCERPC_FAULT_CODES.length;
    
            while (max >= min) {
                final int mid = (min + max) / 2;
    
                if (errcode > DCERPC_FAULT_CODES[mid]) {
                    min = mid + 1;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. cmd/httprange_test.go

    		}
    		o, l, err := rs.GetOffsetLength(resourceSize)
    		if err != nil {
    			t.Errorf("unexpected err: %v", err)
    		}
    		if o != testCase.expOffset || l != testCase.expLength {
    			t.Errorf("Case %d: got bad offset/length: %d,%d expected: %d,%d",
    				i, o, l, testCase.expOffset, testCase.expLength)
    		}
    	}
    
    	unparsableRangeSpecs := []string{
    		"bytes=-",
    		"bytes==",
    		"bytes==1-10",
    		"bytes=",
    		"bytes=aa",
    		"aa",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun May 05 16:56:21 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

      currentThread.name = name
      try {
        block()
      } finally {
        currentThread.name = oldName
      }
    }
    
    /** Returns the Content-Length as reported by the response headers. */
    internal fun Response.headersContentLength(): Long = headers["Content-Length"]?.toLongOrDefault(-1L) ?: -1L
    
    /** Returns an immutable wrap of this. */
    @Suppress("NOTHING_TO_INLINE")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (1)
  5. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                verify(mockBuffer, times(5)).dec_ndr_short(); // max xmit, max recv, addr len, result, final short
                verify(mockBuffer).dec_ndr_long(); // assoc group
                verify(mockBuffer).advance(10); // secondary addr (length 10)
                verify(mockBuffer, times(2)).align(4); // alignment calls
                verify(mockBuffer).dec_ndr_small(); // num results
                verify(mockBuffer).advance(20); // transfer syntax / version
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/collection/ArrayIterator.java

         */
        public ArrayIterator(final T... items) {
            this.items = items;
        }
    
        @Override
        public boolean hasNext() {
            return index < items.length;
        }
    
        @Override
        public T next() {
            try {
                final T o = items[index];
                index++;
                return o;
            } catch (final IndexOutOfBoundsException e) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/lang/GenericsUtil.java

            }
            final Type[] genericParameter = getGenericParameters(type);
            if (genericParameter == null) {
                return null;
            }
            assertArgumentArrayIndex("index", index, genericParameter.length);
            return genericParameter[index];
        }
    
        /**
         * Returns the generic type of the specified type for the given index, or the default class if not found.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsItem.java

         * Checks if the item has been marked for deletion.
         *
         * @return true if the item is marked for deletion, false otherwise.
         */
        public boolean isDeleted() {
            return isUpdated() && newInput.length() == 0;
        }
    
        @Override
        public int hashCode() {
            final int prime = 31;
            final int result = 1;
            return prime * result + input.hashCode();
        }
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/LineReader.java

          // The default implementation of Reader#read(CharBuffer) allocates a
          // temporary char[], so we call Reader#read(char[], int, int) instead.
          int read = (reader != null) ? reader.read(buf, 0, buf.length) : readable.read(cbuf);
          if (read == -1) {
            lineBuf.finish();
            break;
          }
          lineBuf.add(buf, 0, read);
        }
        return lines.poll();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java

        @DisplayName("Message constructor should handle crypto-specific error messages")
        @NullAndEmptySource
        @ValueSource(strings = { "AES encryption not supported", "Missing Bouncy Castle provider", "Invalid key length for AES-128",
                "RC4 cipher not available in this JVM", "DES encryption is deprecated and not supported", "HMAC-SHA256 algorithm not found",
                "RSA key generation failed: key size not supported" })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top