- Sort Score
- Result 10 results
- Languages All
Results 2011 - 2020 of 3,649 for Code (0.02 sec)
-
guava-tests/test/com/google/common/collect/MoreCollectorsTest.java
import java.util.NoSuchElementException; import java.util.stream.Stream; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests for {@code MoreCollectors}. * * @author Louis Wasserman */ @GwtCompatible @ElementTypesAreNonnullByDefault public class MoreCollectorsTest extends TestCase { public void testToOptionalEmpty() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 3.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionCreationTester.java
Object unused = getSubjectGenerator().create(array); }); } /** * Returns the {@link Method} instance for {@link #testCreateWithNull_unsupported()} so that tests * can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5045147">Sun bug 5045147</a> is fixed. */ @J2ktIncompatible @GwtIncompatible // reflection
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableAsList.java
import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * An {@link ImmutableAsList} implementation specialized for when the delegate collection is already * backed by an {@code ImmutableList} or array. * * @author Louis Wasserman */ @GwtCompatible(emulated = true) @SuppressWarnings("serial") // uses writeReplace, not default serialization @ElementTypesAreNonnullByDefault
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 3K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeParameter.java
import java.lang.reflect.Type; import java.lang.reflect.TypeVariable; import javax.annotation.CheckForNull; /** * Captures a free type variable that can be used in {@link TypeToken#where}. For example: * * <pre>{@code * static <T> TypeToken<List<T>> listOf(Class<T> elementType) { * return new TypeToken<List<T>>() {} * .where(new TypeParameter<T>() {}, elementType); * } * }</pre> * * @author Ben Yu * @since 12.0
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jan 05 17:43:40 UTC 2022 - 2.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java
* Thread.currentThread().setUncaughtExceptionHandler(UncaughtExceptionHandlers.systemExit()); * ... * </pre> * * <p>The returned handler logs any exception at severity {@code SEVERE} and then shuts down the * process with an exit status of 1, indicating abnormal termination. */ public static UncaughtExceptionHandler systemExit() { return new Exiter(Runtime.getRuntime()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Dec 14 20:35:03 UTC 2023 - 2.8K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilderFactory.java
} /** * Creates a new settings builder instance. * * @return The new settings builder instance, never {@code null}. */ public DefaultSettingsBuilder newInstance() { return new DefaultSettingsBuilder( new org.apache.maven.internal.impl.DefaultSettingsBuilder(),
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.6K bytes - Viewed (0) -
docs/de/docs/advanced/response-cookies.md
Sie können den `Response`-Parameter auch in Abhängigkeiten deklarieren und darin Cookies (und Header) setzen. ## Eine `Response` direkt zurückgeben Sie können Cookies auch erstellen, wenn Sie eine `Response` direkt in Ihrem Code zurückgeben. Dazu können Sie eine Response erstellen, wie unter [Eine Response direkt zurückgeben](response-directly.md){.internal-link target=_blank} beschrieben. Setzen Sie dann Cookies darin und geben Sie sie dann zurück:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.5K bytes - Viewed (0) -
cmd/metacache_gen_test.go
package cmd // Code generated by github.com/tinylib/msgp DO NOT EDIT. import ( "bytes" "testing" "github.com/tinylib/msgp/msgp" ) func TestMarshalUnmarshalmetacache(t *testing.T) { v := metacache{} bts, err := v.MarshalMsg(nil) if err != nil { t.Fatal(err) } left, err := v.UnmarshalMsg(bts) if err != nil { t.Fatal(err) } if len(left) > 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 2.3K bytes - Viewed (0) -
internal/grid/handlers_string.go
// Code generated by "stringer -type=HandlerID -output=handlers_string.go -trimprefix=Handler msg.go handlers.go"; DO NOT EDIT. package grid import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[handlerInvalid-0] _ = x[HandlerLockLock-1] _ = x[HandlerLockRLock-2] _ = x[HandlerLockUnlock-3]
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 09 16:58:30 UTC 2024 - 4.4K bytes - Viewed (0) -
MIGRATION.md
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Tue Mar 05 06:12:02 UTC 2019 - 1.6K bytes - Viewed (0)