- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 87 for testkey (0.16 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java
public void testFirst() { assertEquals(a.getKey(), navigableMap.firstKey()); } @CollectionSize.Require(SEVERAL) public void testLast() { assertEquals(c.getKey(), navigableMap.lastKey()); } @CollectionSize.Require(absent = ZERO) public void testHeadMapExclusive() { assertFalse(navigableMap.headMap(a.getKey()).containsKey(a.getKey())); } @CollectionSize.Require(absent = ZERO)
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 6.1K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
@SuppressWarnings("unchecked") K castKey = (K) key; if (!isExpired(stamped)) { alertListenerIfPresent(castKey, value, RemovalCause.EXPLICIT); return value; } alertListenerIfPresent(castKey, value, RemovalCause.EXPIRED); } return null; } @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 27 19:19:19 UTC 2024 - 21.6K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/renewal/readwriter_test.go
if err := pkiutil.WriteCertAndKey( dirPKI, caName, testCACert, testCAKey); err != nil { t.Fatalf("couldn't write out certificate %s to %s", caName, dirPKI) } // creates a certificate and then embeds it into a kubeconfig file cert := writeTestKubeconfig(t, dirKubernetes, "test", testCACert, testCAKey, time.Time{}, time.Time{}) // Creates a KubeconfigReadWriter
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 15:17:24 UTC 2024 - 9.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/api_object_versioner.go
} accessor.SetResourceVersion(versionString) return nil } // UpdateList implements Versioner func (a APIObjectVersioner) UpdateList(obj runtime.Object, resourceVersion uint64, nextKey string, count *int64) error { if resourceVersion == 0 { return fmt.Errorf("illegal resource version from storage: %d", resourceVersion) } listAccessor, err := meta.ListAccessor(obj)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 11 15:19:32 UTC 2022 - 3.9K bytes - Viewed (0) -
src/os/executable_test.go
case "openbsd", "freebsd", "aix": t.Skipf("%v does not support reading deleted binary name", runtime.GOOS) } t.Parallel() dir := t.TempDir() src := filepath.Join(dir, "testdel.go") exe := filepath.Join(dir, "testdel.exe") err := os.WriteFile(src, []byte(testExecutableDeletion), 0666) if err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:32 UTC 2023 - 3.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/continue_test.go
import ( "encoding/base64" "encoding/json" "errors" "testing" ) func encodeContinueOrDie(apiVersion string, resourceVersion int64, nextKey string) string { out, err := json.Marshal(&continueToken{APIVersion: apiVersion, ResourceVersion: resourceVersion, StartKey: nextKey}) if err != nil { panic(err) } return base64.RawURLEncoding.EncodeToString(out) } func Test_decodeContinue(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 31 17:30:02 UTC 2022 - 3.5K bytes - Viewed (0) -
src/maps/iter_test.go
if !ok || v != v1 { t.Errorf("at iteration %d got %d, %d want %d, %d", cnt, i, v, i, v1) } cnt++ } if cnt != size { t.Errorf("read %d values expected %d", cnt, size) } } } func TestKeys(t *testing.T) { for size := 0; size < 10; size++ { var want []int m := make(map[int]int) for i := range size { m[i] = i want = append(want, i) } var got []int for k := range Keys(m) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:44:19 UTC 2024 - 1.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java
import org.junit.Ignore; /** * Tester for {@code Multimap.entries}. * * @author Louis Wasserman */ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. public class MultimapKeysTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> { @CollectionSize.Require(SEVERAL) public void testKeys() { resetContainer(
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 09 20:10:38 UTC 2018 - 4.3K bytes - Viewed (0) -
cmd/xl-storage-format_test.go
} xlMeta.Stat = StatInfo{ Size: int64(20), ModTime: UTCNow(), } // Set meta data. xlMeta.Meta = make(map[string]string) xlMeta.Meta["testKey1"] = "val1" xlMeta.Meta["testKey2"] = "val2" return xlMeta } func (m *xlMetaV1Object) AddTestObjectCheckSum(partNumber int, algorithm BitrotAlgorithm, hash string) { checksum, err := hex.DecodeString(hash) if err != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 17.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/StandardRowSortedTable.java
return sortedBackingMap().comparator(); } @Override public R firstKey() { return sortedBackingMap().firstKey(); } @Override public R lastKey() { return sortedBackingMap().lastKey(); } @Override public SortedMap<R, Map<C, V>> headMap(R toKey) { checkNotNull(toKey);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Jul 15 15:41:16 UTC 2021 - 4.3K bytes - Viewed (0)