- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 460 for fOo (0.03 sec)
-
guava-testlib/src/com/google/common/testing/GcFinalization.java
* leaks, by ensuring that objects are no longer strongly referenced: * * {@snippet : * // Helper function keeps victim stack-unreachable. * private WeakReference<Foo> fooWeakRef() { * Foo x = ....; * WeakReference<Foo> weakRef = new WeakReference<>(x); * // ... use x ... * x = null; // Hint to the JIT that x is stack-unreachable * return weakRef; * } * public void testFooLeak() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.5K bytes - Viewed (0) -
docs/es/docs/tutorial/body.md
```JSON { "name": "Foo", "description": "An optional description", "price": 45.2, "tax": 3.5 } ``` ...dado que `description` y `tax` son opcionales (con un valor por defecto de `None`), este “`object`” JSON también sería válido: ```JSON { "name": "Foo", "price": 45.2 } ``` ## Decláralo como un parámetro
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/MoreObjectsTest.java
import org.jspecify.annotations.NullUnmarked; /** Tests for {@link MoreObjects}. */ @GwtCompatible @NullUnmarked public class MoreObjectsTest extends TestCase { public void testFirstNonNull_withNonNull() { String s1 = "foo"; String s2 = MoreObjects.firstNonNull(s1, "bar"); assertSame(s1, s2); Long n1 = 42L; Long n2 = MoreObjects.firstNonNull(null, n1); assertSame(n1, n2); Boolean b1 = true;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
return this; } /** * Sets distinct values for {@code type}, so that when a class {@code Foo} is tested for {@link * Object#equals} and {@link Object#hashCode}, and its construction requires a parameter of {@code * type}, the distinct values of {@code type} can be passed as parameters to create {@code Foo} * instances that are unequal. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java
return true; // BAD!! } @Override public String get() { return "foo"; // BAD!! } @Override public String get(long time, TimeUnit unit) { return "foo"; // BAD!! } @Override public void addListener(Runnable runnable, Executor executor) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java
return true; // BAD!! } @Override public String get() { return "foo"; // BAD!! } @Override public String get(long time, TimeUnit unit) { return "foo"; // BAD!! } @Override public void addListener(Runnable runnable, Executor executor) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/PatternFilenameFilterTest.java
public void testSyntaxException() { assertThrows(PatternSyntaxException.class, () -> new PatternFilenameFilter("(")); } public void testAccept() { File dir = new File("foo"); FilenameFilter filter = new PatternFilenameFilter("a+"); assertTrue(filter.accept(dir, "a")); assertTrue(filter.accept(dir, "aaaa")); assertFalse(filter.accept(dir, "b")); // Show that dir is ignored
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.1K bytes - Viewed (0) -
docs/en/docs/tutorial/handling-errors.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.4K bytes - Viewed (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
assertThat(reader.readLine()).isEqualTo("hello world") val request = server.takeRequest() assertThat(request.requestLine).isEqualTo( "GET /a/deep/path?key=foo%20bar HTTP/1.1", ) assertThat(request.path).isEqualTo("/a/deep/path?key=foo%20bar") val requestUrl = request.requestUrl assertThat(requestUrl!!.scheme).isEqualTo("http") assertThat(requestUrl.host).isEqualTo(server.hostName)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 03 13:16:34 UTC 2025 - 22.3K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/LegacyRepositorySystemTest.java
server.setUsername("jason"); server.setPassword("abc123"); ArtifactRepository repository = repositorySystem.createArtifactRepository("repository", "http://foo", null, null, null); repositorySystem.injectAuthentication(Arrays.asList(repository), Arrays.asList(server)); Authentication authentication = repository.getAuthentication(); assertNotNull(authentication);
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0)