Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 3,763 for Int (0.01 sec)

  1. android/guava/src/com/google/common/hash/HashCode.java

       */
      @CanIgnoreReturnValue
      public int writeBytesTo(byte[] dest, int offset, int maxLength) {
        maxLength = min(maxLength, bits() / 8);
        Preconditions.checkPositionIndexes(offset, offset + maxLength, dest.length);
        writeBytesToImpl(dest, offset, maxLength);
        return maxLength;
      }
    
      abstract void writeBytesToImpl(byte[] dest, int offset, int maxLength);
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

         * `input` does not have a scheme that starts at `pos`.
         */
        private fun schemeDelimiterOffset(
          input: String,
          pos: Int,
          limit: Int,
        ): Int {
          if (limit - pos < 2) return -1
    
          val c0 = input[pos]
          if ((c0 < 'a' || c0 > 'z') && (c0 < 'A' || c0 > 'Z')) return -1 // Not a scheme start char.
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

          }
        }
      }
    
      private static class Sink extends AbstractStreamingHasher {
        final int chunkSize;
        final int bufferSize;
        final ByteArrayOutputStream out = new ByteArrayOutputStream();
    
        int processCalled = 0;
        boolean remainingCalled = false;
    
        Sink(int chunkSize, int bufferSize) {
          super(chunkSize, bufferSize);
          this.chunkSize = chunkSize;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java

        // information levels
    
        static final int SMB_INFO_STANDARD = 1;
        static final int SMB_INFO_QUERY_EA_SIZE = 2;
        static final int SMB_INFO_QUERY_EAS_FROM_LIST = 3;
        static final int SMB_FIND_FILE_DIRECTORY_INFO = 0x101;
        static final int SMB_FIND_FILE_FULL_DIRECTORY_INFO = 0x102;
        static final int SMB_FILE_NAMES_INFO = 0x103;
        static final int SMB_FILE_BOTH_DIRECTORY_INFO = 0x104;
    
        private int sid;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

        private static final int SHARING_DENY_READ_EXECUTE       = 0x30;
        private static final int SHARING_DENY_NONE               = 0x40;
    
        private static final int DO_NOT_CACHE  = 0x1000; // bit 12
        private static final int WRITE_THROUGH = 0x4000; // bit 14
    
        private static final int OPEN_FN_CREATE = 0x10;
        private static final int OPEN_FN_FAIL_IF_EXISTS = 0x00;
        private static final int OPEN_FN_OPEN = 0x01;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.7K bytes
    - Viewed (0)
  6. utils/utils_test.go

    	tests := []struct {
    		name     string
    		input    []int
    		trimLen  int
    		expected []int
    	}{
    		{
    			name:     "Trim two elements from end",
    			input:    []int{1, 2, 3, 4, 5},
    			trimLen:  2,
    			expected: []int{1, 2, 3},
    		},
    		{
    			name:     "Trim entire slice",
    			input:    []int{1, 2, 3},
    			trimLen:  3,
    			expected: []int{},
    		},
    		{
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbRandomAccessFile.java

        public final void readFully ( byte b[], int off, int len ) throws SmbException {
            int n = 0, count;
    
            do {
                count = this.read(b, off + n, len - n);
                if ( count < 0 )
                    throw new SmbEndOfFileException();
                n += count;
            }
            while ( n < len );
        }
    
    
        @Override
        public int skipBytes ( int n ) throws SmbException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

                }
                return match + ".adoc";
            }
        }
    
        private static class Error {
            private final int lineNumber;
            private final String line;
            private final String message;
    
            private Error(int lineNumber, String line, String message) {
                this.lineNumber = lineNumber;
                this.line = line;
                this.message = message;
            }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Aug 21 08:08:05 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

            private BufferedReader br;
    
            private final List<String> list = new LinkedList<>();
    
            private final int maxLineBuffer;
    
            public InputStreamThread(final InputStream is, final String charset, final int maxOutputLineBuffer) {
                try {
                    br = new BufferedReader(new InputStreamReader(is, charset));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Hashing.java

       * hereby disclaims copyright to this source code.
       */
      static int smear(int hashCode) {
        return (int) (C2 * Integer.rotateLeft((int) (hashCode * C1), 15));
      }
    
      static int smearedHash(@CheckForNull Object o) {
        return smear((o == null) ? 0 : o.hashCode());
      }
    
      private static final int MAX_TABLE_SIZE = Ints.MAX_POWER_OF_TWO;
    
      static int closedTableSize(int expectedEntries, double loadFactor) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top