Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for isHexes (0.07 sec)

  1. cmd/endpoint-ellipses_test.go

    			}
    			if !reflect.DeepEqual(testCase.indexes, gotIndexes) {
    				t.Errorf("Expected %v, got %v", testCase.indexes, gotIndexes)
    			}
    		})
    	}
    }
    
    // Test tests calculating set indexes.
    func TestGetSetIndexes(t *testing.T) {
    	testCases := []struct {
    		args       []string
    		totalSizes []uint64
    		indexes    [][]uint64
    		success    bool
    	}{
    		// Invalid inputs.
    		{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. tests/migrate_test.go

    		}
    	}
    
    	checkIndex := func(t *testing.T, expected []gorm.Index) {
    		indexes, err := DB.Migrator().GetIndexes(table)
    		if err != nil {
    			t.Fatalf("%v: failed to get indexes, got error: %v", utils.FileWithLineNum(), err)
    		}
    		assert.ElementsMatch(t, expected, indexes)
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java

        @DisplayName("readBytesWireFormat")
        class ReadBytesWireFormat {
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 1, 5, 10 })
            @DisplayName("Reads structure size 4 and returns 4 for various start indexes")
            void returnsFour_whenStructureSizeIsFour(int start) throws Exception {
                // Arrange: build a buffer that has the little-endian value 4 at 'start'
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/HashBiMap.java

        KeySet() {
          super(HashBiMap.this);
        }
    
        @Override
        @ParametricNullness
        K forEntry(int entry) {
          // The cast is safe because we call forEntry only for indexes that contain entries.
          return uncheckedCastNullableTToT(keys[entry]);
        }
    
        @Override
        public boolean contains(@Nullable Object o) {
          return HashBiMap.this.containsKey(o);
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  5. cmd/endpoint-ellipses.go

    	// divisor, it avoids loops.
    	slices.Sort(setCounts)
    
    	return setCounts
    }
    
    // getSetIndexes returns list of indexes which provides the set size
    // on each index, this function also determines the final set size
    // The final set size has the affinity towards choosing smaller
    // indexes (total sets)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  6. cmd/metacache-bucket.go

    func (b *bucketMetacache) cloneCaches() (map[string]metacache, map[string][]string) {
    	b.mu.RLock()
    	defer b.mu.RUnlock()
    	dst := make(map[string]metacache, len(b.caches))
    	maps.Copy(dst, b.caches)
    	// Copy indexes
    	dst2 := make(map[string][]string, len(b.cachesRoot))
    	for k, v := range b.cachesRoot {
    		tmp := make([]string, len(v))
    		copy(tmp, v)
    		dst2[k] = tmp
    	}
    
    	return dst, dst2
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. docs/en/mkdocs.yml

          name: Switch to system preference
      features:
      - content.code.annotate
      - content.code.copy
      - content.footnote.tooltips
      - content.tabs.link
      - content.tooltips
      - navigation.footer
      - navigation.indexes
      - navigation.instant
      - navigation.instant.prefetch
      - navigation.instant.progress
      - navigation.path
      - navigation.tabs
      - navigation.tabs.sticky
      - navigation.top
      - navigation.tracking
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/BloomFilter.java

     */
    @Beta
    public final class BloomFilter<T extends @Nullable Object> implements Predicate<T>, Serializable {
      /**
       * A strategy to translate T instances, to {@code numHashFunctions} bit indexes.
       *
       * <p>Implementations should be collections of pure functions (i.e. stateless).
       */
      interface Strategy extends java.io.Serializable {
    
        /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Strings.java

        }
        return a.subSequence(a.length() - s, a.length()).toString();
      }
    
      /**
       * True when a valid surrogate pair starts at the given {@code index} in the given {@code string}.
       * Out-of-range indexes return false.
       */
      @VisibleForTesting
      static boolean validSurrogatePairAt(CharSequence string, int index) {
        return index >= 0
            && index <= (string.length() - 2)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

        }
    
        /**
         * Indexes a document asynchronously.
         *
         * @param request the index request
         * @return a future for the index response
         */
        @Override
        public ActionFuture<IndexResponse> index(final IndexRequest request) {
            return client.index(request);
        }
    
        /**
         * Indexes a document asynchronously with a callback.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
Back to top