- Sort Score
- Num 10 results
- Language All
Results 1651 - 1660 of 3,731 for get2 (0.09 seconds)
-
android/guava-tests/test/com/google/common/base/OptionalTest.java
} public void testOf() { assertThat(Optional.of("training").get()).isEqualTo("training"); } public void testOf_null() { assertThrows(NullPointerException.class, () -> Optional.of(null)); } public void testFromNullable() { Optional<String> optionalName = Optional.fromNullable("bob"); assertThat(optionalName.get()).isEqualTo("bob"); } public void testFromNullable_null() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 10.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java
List<E> samplesList = asList(samples.e0(), samples.e1(), samples.e2(), samples.e3(), samples.e4()); sort(samplesList, comparator); E firstInclusive = samplesList.get(0); E lastInclusive = samplesList.get(samplesList.size() - 1); return SortedMultisetTestSuiteBuilder.using( new ForwardingTestMultisetGenerator<E>(delegate) { @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 11.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
try { Field field = findField(obj.getClass(), fieldName); field.setAccessible(true); return field.get(obj); } catch (Exception e) { throw new RuntimeException("Failed to get field " + fieldName, e); } } private Field findField(Class<?> clazz, String fieldName) throws NoSuchFieldException { Class<?> current = clazz;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
oldFileNameField.setAccessible(true); assertEquals(oldFileName, oldFileNameField.get(smbComRename)); Field newFileNameField = SmbComRename.class.getDeclaredField("newFileName"); newFileNameField.setAccessible(true); assertEquals(newFileName, newFileNameField.get(smbComRename)); Field searchAttributesField = SmbComRename.class.getDeclaredField("searchAttributes");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (0) -
internal/config/dns/etcd_dns.go
if record.Key == "" { continue } srvRecords[record.Key] = append(srvRecords[record.Key], record) } } return srvRecords, nil } // Get - Retrieves DNS records for a bucket. func (c *CoreDNS) Get(bucket string) ([]SrvRecord, error) { var srvRecords []SrvRecord for _, domainName := range c.domainNames { key := msgPath(fmt.Sprintf("%s.%s.", bucket, domainName), c.prefixPath)Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 8K bytes - Click Count (0) -
internal/config/identity/openid/jwt.go
} pk.add(key.Kid, pkey) } return nil } func (pk *publicKeys) add(keyID string, key any) { pk.Lock() defer pk.Unlock() pk.pkMap[keyID] = key } func (pk *publicKeys) get(kid string) any { pk.RLock() defer pk.RUnlock() return pk.pkMap[kid] } // PopulatePublicKey - populates a new publickey from the JWKS URL. func (r *Config) PopulatePublicKey(arn arn.ARN) error {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.4K bytes - Click Count (0) -
android-test/src/test/kotlin/okhttp/android/test/AndroidLoggingTest.kt
assertThat(logs.map { it.type }).containsOnly(Log.INFO) assertThat( logs.map { it.msg.replace( "\\d+".toRegex(), "", ) }, ).containsExactly( "--> GET http://google.com/robots.txt", "<-- HTTP FAILED: java.net.UnknownHostException: shortcircuit. ${request.url} (ms)", ) // We should consider if these logs should retain Exceptions
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Aug 21 14:27:04 GMT 2025 - 3.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java
if (getList().size() != expectedList.size()) { fail("size mismatch: " + reportContext(expectedList)); } for (int i = 0; i < expectedList.size(); i++) { E expected = expectedList.get(i); E actual = getList().get(i); if (expected != actual && (expected == null || !expected.equals(actual))) { fail("mismatch at index " + i + ": " + reportContext(expectedList)); } } } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.9K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/repository/legacy/metadata/ArtifactMetadata.java
String getBaseVersion(); Object getKey(); /** * Get the filename of this metadata on the local repository. * * @param repository the remote repository it came from * @return the filename */ String getLocalFilename(ArtifactRepository repository); /** * Get the filename of this metadata on the remote repository. * * @return the filename */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3K bytes - Click Count (0) -
tensorflow/c/c_test.c
// A create function. This will never actually get called in this test, it's // just nice to know that it compiles. void* create(TF_OpKernelConstruction* ctx) { TF_DataType type; TF_Status* s = TF_NewStatus(); TF_OpKernelConstruction_GetAttrType(ctx, "foobar", &type, s); TF_DeleteStatus(s); return NULL; } // A compute function. This will never actually get called in this test, it's
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Apr 24 20:50:35 GMT 2024 - 2.8K bytes - Click Count (0)