Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2191 - 2200 of 4,415 for Static (0.09 seconds)

  1. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

    import static com.google.common.util.concurrent.Futures.immediateFuture;
    import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
    import static com.google.common.util.concurrent.SneakyThrows.sneakyThrow;
    import static java.util.concurrent.Executors.callable;
    import static java.util.concurrent.Executors.newFixedThreadPool;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 46.8K bytes
    - Click Count (0)
  2. samples/guide/src/main/java/okhttp3/recipes/PreemptiveAuth.java

          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new PreemptiveAuth().run();
      }
    
      static final class BasicAuthInterceptor implements Interceptor {
        private final String credentials;
        private final String host;
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Nov 05 07:46:46 GMT 2018
    - 2.1K bytes
    - Click Count (0)
  3. android/guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java

      int length;
    
      // Number of matching strings
      @Param({"xxxx", "xxXx", "xXxX", "XXXX"})
      String text;
    
      private String input;
    
      private static final Splitter CHAR_SPLITTER = Splitter.on('X');
      private static final Splitter STRING_SPLITTER = Splitter.on("X");
    
      @BeforeExperiment
      @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8
      void setUp() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/GenericCIDetector.java

     * detector result IF there are also any other returned via discovered services.
     */
    public class GenericCIDetector implements CIDetector {
        public static final String NAME = "Generic";
    
        private static final String CI = "CI";
    
        @Override
        public Optional<CIInfo> detectCI() {
            String ciEnv = System.getenv(CI);
            if (ciEnv != null && !"false".equals(ciEnv)) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Apr 13 18:50:07 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/CommonsCliShellOptions.java

    import org.apache.maven.cling.invoker.CommonsCliOptions;
    
    /**
     * Implementation of {@link ShellOptions} (base + shell).
     */
    public class CommonsCliShellOptions extends CommonsCliOptions implements ShellOptions {
        public static CommonsCliShellOptions parse(String[] args) throws ParseException {
            CLIManager cliManager = new CLIManager();
            return new CommonsCliShellOptions(Options.SOURCE_CLI, cliManager, cliManager.parse(args));
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ImmutableMapKeySet.java

      }
    
      @GwtIncompatible
      @J2ktIncompatible
      private static final class KeySetSerializedForm<K> implements Serializable {
        final ImmutableMap<K, ?> map;
    
        KeySetSerializedForm(ImmutableMap<K, ?> map) {
          this.map = map;
        }
    
        Object readResolve() {
          return map.keySet();
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapEqualsTester.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static com.google.common.collect.testing.features.CollectionSize.SEVERAL;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ListMultimap;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  8. guava/src/com/google/common/base/Ticker.java

      public abstract long read();
    
      /**
       * A ticker that reads the current time using {@link System#nanoTime}.
       *
       * @since 10.0
       */
      public static Ticker systemTicker() {
        return SYSTEM_TICKER;
      }
    
      private static final Ticker SYSTEM_TICKER =
          new Ticker() {
            @Override
            @SuppressWarnings("GoodTime") // reading system time without TimeSource
            public long read() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexResponseTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.suggest.index;
    
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertFalse;
    import static org.junit.Assert.assertNotNull;
    import static org.junit.Assert.assertTrue;
    
    import java.util.ArrayList;
    import java.util.List;
    
    import org.junit.Test;
    
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Thu Nov 13 00:40:54 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java

    package jcifs.smb1.smb1;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.io.UnsupportedEncodingException;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the SmbComNegotiate class.
     */
    class SmbComNegotiateTest {
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4K bytes
    - Click Count (0)
Back to Top