- Sort Score
- Result 10 results
- Languages All
Results 4391 - 4400 of 5,353 for Return (0.05 sec)
-
guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
return of("a").iterator(); } }.test(); } @GwtIncompatible // slow (~30s) public void testIterator_general() { new IteratorTester<String>( 5, UNMODIFIABLE, asList("a", "b", "c"), IteratorTester.KnownOrder.KNOWN_ORDER) { @Override protected Iterator<String> newTargetIterator() { return of("a", "b", "c").iterator(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
void shouldImplementFileSystemInformation() { assertTrue(FileSystemInformation.class.isAssignableFrom(FileFsSizeInformation.class)); } @Test @DisplayName("Should return correct file system information class") void shouldReturnCorrectFileSystemInformationClass() { assertEquals(FileSystemInformation.FS_SIZE_INFO, fileFsSizeInfo.getFileSystemInformationClass()); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.9K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
der.writeObject(applicationWrapper); } finally { der.close(); } return collector.toByteArray(); } @Test @DisplayName("Round-trip: all fields set encodes and parses back correctly") void testRoundTripAllFields() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java
if (previous != null) { throw new AssertionError(); } } return this; } @CanIgnoreReturnValue RoundToDoubleTester roundUnnecessaryShouldThrow() { unnecessaryShouldThrow = true; return this; } void test() { assertThat(expectedValues.keySet())
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 10.9K bytes - Viewed (0) -
tests/callbacks_test.go
got = append(got, getFuncName(funcs.Index(i))) } return fmt.Sprint(got) == fmt.Sprint(fnames), fmt.Sprintf("expects %v, got %v", fnames, got) } func getFuncName(fc interface{}) string { reflectValue, ok := fc.(reflect.Value) if !ok { reflectValue = reflect.ValueOf(fc) } fnames := strings.Split(runtime.FuncForPC(reflectValue.Pointer()).Name(), ".") return fnames[len(fnames)-1] } func c1(*gorm.DB) {}
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Mar 26 03:33:36 UTC 2024 - 7.2K bytes - Viewed (0) -
clause/expression.go
func eqNil(value interface{}) bool { if valuer, ok := value.(driver.Valuer); ok && !eqNilReflect(valuer) { value, _ = valuer.Value() } return value == nil || eqNilReflect(value) } func eqNilReflect(value interface{}) bool { reflectValue := reflect.ValueOf(value) return reflectValue.Kind() == reflect.Ptr && reflectValue.IsNil()
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Oct 10 06:45:48 UTC 2023 - 8.3K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/guide/GetExample.java
String run(String url) throws IOException { Request request = new Request.Builder() .url(url) .build(); try (Response response = client.newCall(request).execute()) { return response.body().string(); } } public static void main(String[] args) throws IOException { GetExample example = new GetExample();
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 1.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SingletonImmutableMapWithUnhashableValueMapInterfaceTest.java
extends RegularImmutableMapWithUnhashableValuesMapInterfaceTest { @Override protected Map<Integer, UnhashableObject> makePopulatedMap() { Unhashables unhashables = new Unhashables(); return ImmutableMap.of(0, unhashables.e0()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TablesTransposeColumnTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 1.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ArrayTableRowMapTest.java
@NullUnmarked public class ArrayTableRowMapTest extends RowMapTests { public ArrayTableRowMapTest() { super(true, false, false, false); } @Override Table<String, Integer, Character> makeTable() { return ArrayTable.create(asList("foo", "bar", "dog"), asList(1, 2, 3)); } @Override protected Map<String, Map<Integer, Character>> makeEmptyMap() { throw new UnsupportedOperationException(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.3K bytes - Viewed (0)