- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 91 for setDist (0.2 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/TestEntity.java
/** * @author shinsuke * */ public class TestEntity { private String title; private String body; private List<String> list; public List<String> getList() { return list; } public void setList(final List<String> list) { this.list = list; } public String getTitle() { return title; } public void setTitle(final String title) {
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/apitesting/fuzzer/valuefuzz.go
case reflect.Float32, reflect.Float64: obj.SetFloat(obj.Float()*2.0 + 1.0) case reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64, reflect.Int: obj.SetInt(obj.Int() + 1) case reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uint: obj.SetUint(obj.Uint() + 1) default: } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 25 16:23:43 UTC 2022 - 2.3K bytes - Viewed (0) -
pkg/proxy/ipvs/ipset/testing/fake_test.go
} setList, err := fake.ListSets() if err != nil { t.Errorf("Unexpected error: %v", err) } if len(setList) != 2 { t.Errorf("Expected 2 sets, got %d", len(setList)) } expectedSets := sets.NewString("foo", "bar") if !expectedSets.Equal(sets.NewString(setList...)) { t.Errorf("Unexpected sets mismatch, expected: %v, got: %v", expectedSets, setList) } // Destroy a given set
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 4.4K bytes - Viewed (0) -
src/math/big/bits_test.go
x := NewInt(0) for _, b := range bits { badj := b - min // propagate carry if necessary for x.Bit(badj) != 0 { x.SetBit(x, badj, 0) badj++ } x.SetBit(x, badj, 1) } // create corresponding float z := new(Float).SetInt(x) // normalized if e := int64(z.exp) + int64(min); MinExp <= e && e <= MaxExp { z.exp = int32(e) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 5.1K bytes - Viewed (0) -
pkg/config/analysis/analyzers/authz/authorizationpolicies.go
for _, setList := range podLabelsMap { if hasMatchingPodsRunningIn(selector, setList) { return true } } return false } func hasMatchingPodsRunningIn(selector klabels.Selector, setList []klabels.Set) bool { hasMatchingPods := false for _, labels := range setList { if selector.Matches(labels) { hasMatchingPods = true break
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Sep 11 20:57:29 UTC 2023 - 6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java
assertTrue( "addAll(n, allPresent) should return true", getList().addAll(0, MinimalCollection.of(e0()))); expectAdded(0, e0()); } @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX) @CollectionSize.Require(absent = ZERO) public void testAddAllAtIndex_unsupportedAllPresent() { try { getList().addAll(0, MinimalCollection.of(e0())); fail("addAll(n, allPresent) should throw");
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 6.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java
assertTrue( "addAll(n, allPresent) should return true", getList().addAll(0, MinimalCollection.of(e0()))); expectAdded(0, e0()); } @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX) @CollectionSize.Require(absent = ZERO) public void testAddAllAtIndex_unsupportedAllPresent() { try { getList().addAll(0, MinimalCollection.of(e0())); fail("addAll(n, allPresent) should throw");
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 6.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveTester.java
E duplicate = arrayAndDuplicate.duplicate; int firstIndex = getList().indexOf(duplicate); int initialSize = getList().size(); assertTrue("remove(present) should return true", getList().remove(duplicate)); assertTrue( "After remove(duplicate), a list should still contain the duplicate element", getList().contains(duplicate)); assertFalse(
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 09 20:10:38 UTC 2018 - 2.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAtIndexTester.java
public void testRemoveAtIndex_unsupported() { try { getList().remove(0); fail("remove(i) should throw"); } catch (UnsupportedOperationException expected) { } expectUnchanged(); } @ListFeature.Require(SUPPORTS_REMOVE_WITH_INDEX) public void testRemoveAtIndex_negative() { try { getList().remove(-1); fail("remove(-1) should throw");
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 09 20:10:38 UTC 2018 - 4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java
*/ public void testAddAtIndex_unsupportedPresent() { try { getList().add(0, e0()); fail("add(n, present) should throw"); } catch (UnsupportedOperationException expected) { } expectUnchanged(); } @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX) public void testAddAtIndex_supportedNotPresent() { getList().add(0, e3()); expectAdded(0, e3()); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 5.6K bytes - Viewed (0)