Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 188 for 120 (0.17 sec)

  1. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

      }
    
      public void testSortIndexed() {
        testSort(new byte[] {}, 0, 0, new byte[] {});
        testSort(new byte[] {2}, 0, 1, new byte[] {2});
        testSort(new byte[] {2, 1, 0}, 0, 2, new byte[] {1, 2, 0});
        testSort(new byte[] {2, GREATEST, 1, LEAST}, 1, 4, new byte[] {2, LEAST, 1, GREATEST});
      }
    
      public void testSortDescending() {
        testSortDescending(new byte[] {}, new byte[] {});
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/Cache.java

       * {@code k} to value {@code v} in the specified map. The behavior of this operation is undefined
       * if the specified map is modified while the operation is in progress.
       *
       * @since 12.0
       */
      void putAll(Map<? extends K, ? extends V> m);
    
      /** Discards any cached value for key {@code key}. */
      void invalidate(@CompatibleWith("K") Object key);
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            System.arraycopy("file1".getBytes("UnicodeLittleUnmarked"), 0, buffer, notifyOffset + 12, 10);
    
            // Second notification at offset 120 (80 + 40)
            notifyOffset = 120;
            SMBUtil.writeInt4(44, buffer, notifyOffset); // NextEntryOffset
            SMBUtil.writeInt4(2, buffer, notifyOffset + 4); // Action (REMOVED)
            SMBUtil.writeInt4(10, buffer, notifyOffset + 8);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                Type2Message.writeULong(truncatedMessage, 8, Type2Message.NTLMSSP_TYPE2);
                // Set empty target name buffer
                Type2Message.writeUShort(truncatedMessage, 12, 0); // length
                Type2Message.writeUShort(truncatedMessage, 14, 0); // max length
                Type2Message.writeULong(truncatedMessage, 16, 48); // offset (past the end)
                // Set flags
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/BloomFilter.java

      }
    
      /**
       * Creates a new {@code BloomFilter} that's a copy of this instance. The new instance is equal to
       * this instance but shares no mutable state.
       *
       * @since 12.0
       */
      public BloomFilter<T> copy() {
        return new BloomFilter<>(bits.copy(), numHashFunctions, funnel, strategy);
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 19:23:59 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/ImmutableCollectionsExplained">immutable collections</a>.
     *
     * @author Louis Wasserman
     * @since 12.0
     */
    @GwtIncompatible // hasn't been tested yet
    public abstract class ImmutableSortedMultiset<E> extends ImmutableMultiset<E>
        implements SortedMultiset<E> {
      // TODO(lowasser): GWT compatibility
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  7. internal/grid/grid_test.go

    		}
    		t.Log("Roundtrip:", time.Since(start))
    	})
    
    	t.Run("localToRemoteHuge", func(t *testing.T) {
    		testPayload := bytes.Repeat([]byte("?"), 1<<20)
    
    		start := time.Now()
    		resp, err := remoteConn.Request(t.Context(), handlerTest, testPayload)
    		errFatal(err)
    		if string(resp) != string(testPayload) {
    			t.Errorf("want %q, got %q", testPayload, string(resp))
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 36.1K bytes
    - Viewed (0)
  8. src/bytes/bytes_test.go

    		}) != ct.expected {
    			t.Errorf("ContainsFunc(%q, func(%q)) = %v, want %v",
    				ct.b, ct.r, !ct.expected, ct.expected)
    		}
    	}
    }
    
    var makeFieldsInput = func() []byte {
    	x := make([]byte, 1<<20)
    	// Input is ~10% space, ~10% 2-byte UTF-8, rest ASCII non-space.
    	r := rand.New(rand.NewSource(99))
    	for i := range x {
    		switch r.Intn(10) {
    		case 0:
    			x[i] = ' '
    		case 1:
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Dec 23 23:54:14 UTC 2025
    - 62.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/MoreObjects.java

         * value. The order of calling this method, relative to the {@code add()}/{@code addValue()}
         * methods, is not significant.
         *
         * @since 18.0 (since 12.0 as {@code Objects.ToStringHelper.omitNullValues()}).
         */
        @CanIgnoreReturnValue
        public ToStringHelper omitNullValues() {
          omitNullValues = true;
          return this;
        }
    
        /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

      // we use integers as keys; make sure the range covers some values that ARE cached by
      // Integer.valueOf(int), and some that are not cached. (127 is the highest cached value.)
      static final int WARMUP_MIN = 120;
      static final int WARMUP_MAX = 135;
      static final int WARMUP_SIZE = WARMUP_MAX - WARMUP_MIN;
    
      public void testSize_populated() {
        for (LoadingCache<Object, Object> cache : caches()) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 15.7K bytes
    - Viewed (0)
Back to top