Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 2,830 for rint (0.05 sec)

  1. android/guava/src/com/google/common/primitives/Shorts.java

       *     such index exists.
       */
      public static int indexOf(short[] array, short target) {
        return indexOf(array, target, 0, array.length);
      }
    
      // TODO(kevinb): consider making this public
      private static int indexOf(short[] array, short target, int start, int end) {
        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i;
          }
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Shorts.java

       *     such index exists.
       */
      public static int indexOf(short[] array, short target) {
        return indexOf(array, target, 0, array.length);
      }
    
      // TODO(kevinb): consider making this public
      private static int indexOf(short[] array, short target, int start, int end) {
        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i;
          }
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDescResponse.java

            return 0;
        }
    
        @Override
        int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            length = readInt4(buffer, bufferIndex);
            return 4;
        }
    
        @Override
        int readDataWireFormat(final byte[] buffer, int bufferIndex, final int len) {
            final int start = bufferIndex;
    
            if (errorCode != 0) {
                return 4;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  4. cmd/server-startup-msg_test.go

    	if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		t.Fatal(err)
    	}
    
    	apiEndpoints := []string{"http://127.0.0.1:9000"}
    	printServerCommonMsg(apiEndpoints)
    }
    
    // Tests print cli access message.
    func TestPrintCLIAccessMsg(t *testing.T) {
    	ctx, cancel := context.WithCancel(t.Context())
    	defer cancel()
    
    	obj, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/RelationshipTester.java

        }
      }
    
      private Item<T> getItem(int groupNumber, int itemNumber) {
        return new Item<>(groups.get(groupNumber).get(itemNumber), groupNumber, itemNumber);
      }
    
      static final class Item<T> {
        final T value;
        final int groupNumber;
        final int itemNumber;
    
        Item(T value, int groupNumber, int itemNumber) {
          this.value = value;
          this.groupNumber = groupNumber;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java

            return 0;
        }
    
        @Override
        protected int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            // observed two zero bytes here with at least win98
            return 2;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
         */
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            SMBUtil.writeInt2(36, dst, dstIndex);
            SMBUtil.writeInt2(this.dialects.length, dst, dstIndex + 2);
            dstIndex += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponse.java

            return 0;
        }
    
        @Override
        protected int readParametersWireFormat(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
    
            int elemStart = start;
    
            FileNotifyInformationImpl i = new FileNotifyInformationImpl();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponse.java

         */
        @Override
        public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
            this.chunksWritten = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.chunkBytesWritten = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.totalBytesWritten = SMBUtil.readInt4(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/EnumMultiset.java

      }
    
      // Modification Operations
      @CanIgnoreReturnValue
      @Override
      public int add(E element, int occurrences) {
        checkIsE(element);
        checkNonnegative(occurrences, "occurrences");
        if (occurrences == 0) {
          return count(element);
        }
        int index = element.ordinal();
        int oldCount = counts[index];
        long newCount = (long) oldCount + occurrences;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top