Search Options

Results per page
Sort
Preferred Languages
Advance

Results 851 - 860 of 1,653 for length (0.05 sec)

  1. guava/src/com/google/common/collect/DenseImmutableTable.java

          return super.writeReplace();
        }
      }
    
      @WeakOuter
      private final class RowMap extends ImmutableArrayMap<R, ImmutableMap<C, V>> {
        private RowMap() {
          super(rowCounts.length);
        }
    
        @Override
        ImmutableMap<R, Integer> keyToIndex() {
          return rowKeyToIndex;
        }
    
        @Override
        ImmutableMap<C, V> getValue(int keyIndex) {
          return new Row(keyIndex);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

        for (Method method : lockLikeObject.getClass().getMethods()) {
          Class<?>[] parameterTypes = method.getParameterTypes();
          if (method.getName().equals(methodName) && (parameterTypes.length == arguments.length)) {
            for (int i = 0; i < arguments.length; i++) {
              if (!parameterTypes[i].isAssignableFrom(arguments[i].getClass())) {
                continue METHODS;
              }
            }
            return method;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/Kerb5Context.java

         */
        @Override
        public void verifyMIC ( byte[] data, byte[] mic ) throws CIFSException {
            try {
                this.gssContext.verifyMIC(mic, 0, mic.length, data, 0, data.length, new MessageProp(false));
            }
            catch ( GSSException e ) {
                throw new CIFSException("Failed to verify MIC", e);
            }
        }
    
    
        /**
         * {@inheritDoc}
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Aug 02 08:22:42 UTC 2018
    - 13.9K bytes
    - Viewed (0)
  4. internal/grid/grid.go

    // When replacing PutByteBuffer should also be replaced
    // There is no minimum size.
    var GetByteBuffer = func() []byte {
    	b := *internalByteBuffer.Get().(*[]byte)
    	return b[:0]
    }
    
    // GetByteBufferCap returns a length 0 byte buffer with at least the given capacity.
    func GetByteBufferCap(wantSz int) []byte {
    	if wantSz < defaultBufferSize {
    		b := GetByteBuffer()[:0]
    		if cap(b) >= wantSz {
    			return b
    		}
    		PutByteBuffer(b)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/SpecialRandom.java

     *
     * <p>TODO: Remove this class once Caliper has a better way.
     *
     * @author Nicholaus Shupe
     */
    public final class SpecialRandom extends Random {
      public static SpecialRandom valueOf(String s) {
        return (s.length() == 0) ? new SpecialRandom() : new SpecialRandom(Long.parseLong(s));
      }
    
      private final boolean hasSeed;
      private final long seed;
    
      public SpecialRandom() {
        this.hasSeed = false;
        this.seed = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.4K bytes
    - Viewed (0)
  6. internal/logger/target/types/types.go

    // Constants for target types
    const (
    	_ TargetType = iota
    	TargetConsole
    	TargetHTTP
    	TargetKafka
    )
    
    // TargetStats contains statistics for a target.
    type TargetStats struct {
    	// QueueLength is the queue length if any messages are queued.
    	QueueLength int
    
    	// TotalMessages is the total number of messages sent in the lifetime of the target
    	TotalMessages int64
    
    	// FailedMessages should log message count that failed to send.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Nov 10 18:20:21 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

        Optional<String> empty = Optional.empty();
        Optional<String> abc = Optional.of("abc");
        Optional<String> z = Optional.of("z");
    
        Comparator<Optional<String>> comparator = emptiesFirst(comparing(String::length));
        testComparator(comparator, empty, z, abc);
    
        // Just demonstrate that no explicit type parameter is required
        Comparator<Optional<String>> unused = emptiesFirst(naturalOrder());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/NtlmChallenge.java

            this.challenge = challenge;
            this.dc = dc;
        }
    
    
        @Override
        public String toString () {
            return "NtlmChallenge[challenge=0x" + Hexdump.toHexString(this.challenge, 0, this.challenge.length * 2) + ",dc=" + this.dc.toString() + "]";
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

        }
    
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            dst[dstIndex++] = (byte)0x00;
            // name length without counting null termination
            namelen_index = dstIndex;
            dstIndex += 2;
            writeInt4( flags0, dst, dstIndex );
            dstIndex += 4;
            writeInt4( rootDirectoryFid, dst, dstIndex );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java

          }
    
          int[] deltas = new int[3];
          for (Future<int[]> future : futures) {
            int[] taskDeltas = future.get();
            for (int i = 0; i < deltas.length; i++) {
              deltas[i] += taskDeltas[i];
            }
          }
    
          List<Integer> actualCounts =
              transform(
                  keys,
                  new Function<String, Integer>() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top