- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 488 for Chan (0.15 sec)
-
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableEnumSet.java
package com.google.common.collect; import java.util.Set; /** * GWT emulation of {@link ImmutableEnumSet}. The type parameter is not bounded by {@code Enum<E>} * to avoid code-size bloat. * * @author Hayward Chan */ @ElementTypesAreNonnullByDefault final class ImmutableEnumSet<E> extends ForwardingImmutableSet<E> { static <E> ImmutableSet<E> asImmutable(Set<E> delegate) { switch (delegate.size()) { case 0:
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 23 18:43:40 GMT 2024 - 1.3K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableList.java
import static java.util.Collections.singletonList; import java.util.List; /** * GWT emulated version of {@link SingletonImmutableList}. * * @author Hayward Chan */ @ElementTypesAreNonnullByDefault final class SingletonImmutableList<E> extends ForwardingImmutableList<E> { final transient List<E> delegate;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 23 18:43:40 GMT 2024 - 1.4K bytes - Viewed (0) -
cmd/consolelogger.go
func (sys *HTTPConsoleLoggerSys) HasLogListeners() bool { return sys != nil && sys.pubsub.Subscribers() > 0 } // Subscribe starts console logging for this node. func (sys *HTTPConsoleLoggerSys) Subscribe(subCh chan log.Info, doneCh <-chan struct{}, node string, last int, logKind madmin.LogMask, filter func(entry log.Info) bool) error { // Enable console logging for remote client. if !sys.HasLogListeners() { logger.AddSystemTarget(GlobalContext, sys)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 17:57:52 GMT 2024 - 5.5K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableSet.java
import static com.google.common.base.Preconditions.checkNotNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * GWT emulation of {@link SingletonImmutableSet}. * * @author Hayward Chan */ @ElementTypesAreNonnullByDefault final class SingletonImmutableSet<E> extends ImmutableSet<E> { // This reference is used both by the custom field serializer, and by the
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 23 18:43:40 GMT 2024 - 1.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingMultimapTest.java
import com.google.common.testing.EqualsTester; import com.google.common.testing.ForwardingWrapperTester; import junit.framework.TestCase; /** * Unit test for {@link ForwardingMultimap}. * * @author Hayward Chan */ public class ForwardingMultimapTest extends TestCase { @SuppressWarnings("rawtypes") public void testForwarding() { new ForwardingWrapperTester() .testForwarding( Multimap.class,
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 20:09:59 GMT 2024 - 1.8K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableCollection.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * A GWT-only class only used by GWT emulations. It is used to consolidate the definitions of method * delegation to save code size. * * @author Hayward Chan */ // TODO: Make this class GWT serializable. @ElementTypesAreNonnullByDefault class ForwardingImmutableCollection<E> extends ImmutableCollection<E> { final transient Collection<E> delegate;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 23 18:43:40 GMT 2024 - 1.9K bytes - Viewed (0) -
cni/pkg/monitoring/monitoring.go
package monitoring import ( "fmt" "net" "net/http" "istio.io/istio/pkg/log" "istio.io/istio/pkg/monitoring" "istio.io/istio/pkg/network" ) func SetupMonitoring(port int, path string, stop <-chan struct{}) { if port <= 0 { return } mux := http.NewServeMux() var listener net.Listener var err error if listener, err = net.Listen("tcp", fmt.Sprintf(":%d", port)); err != nil {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Jun 09 07:54:01 GMT 2023 - 1.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/Platform.java
import com.google.common.annotations.GwtCompatible; import java.util.Locale; /** * Methods factored out so that they can be emulated differently in GWT. * * <p>This class is emulated in GWT. * * @author Hayward Chan */ @GwtCompatible final class Platform { static <T> T[] clone(T[] array) { return array.clone(); } // Class.cast is not supported in GWT. This method is a no-op in GWT.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Aug 04 01:39:13 GMT 2022 - 1.3K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableEnumMap.java
import java.util.Map; import java.util.Map.Entry; /** * GWT emulation of {@link ImmutableEnumMap}. The type parameter is not bounded by {@code Enum<E>} * to avoid code-size bloat. * * @author Hayward Chan */ @ElementTypesAreNonnullByDefault final class ImmutableEnumMap<K, V> extends ForwardingImmutableMap<K, V> { static <K, V> ImmutableMap<K, V> asImmutable(Map<K, V> map) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 23 18:43:40 GMT 2024 - 1.3K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableSet.java
import java.util.Set; import org.checkerframework.checker.nullness.qual.Nullable; /** * GWT implementation of {@link ImmutableSet} that forwards to another {@code Set} implementation. * * @author Hayward Chan */ @ElementTypesAreNonnullByDefault @SuppressWarnings("serial") // Serialization only done in GWT. public abstract class ForwardingImmutableSet<E> extends ImmutableSet<E> { private final transient Set<E> delegate;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 23 18:43:40 GMT 2024 - 2.2K bytes - Viewed (0)