Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1171 - 1180 of 2,711 for create (0.03 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/HttpsServer.java

    import okhttp3.Response;
    import okhttp3.mockwebserver.MockResponse;
    import okhttp3.mockwebserver.MockWebServer;
    import okhttp3.tls.HandshakeCertificates;
    import okhttp3.tls.HeldCertificate;
    
    /**
     * Create an HTTPS server with a self-signed certificate that OkHttp trusts.
     */
    public class HttpsServer {
      public void run() throws Exception {
        HeldCertificate localhostCertificate = new HeldCertificate.Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 02 14:04:37 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/collect/HashMultisetAddPresentBenchmark.java

      @BeforeExperiment
      void setUp() {
        Random random = new Random();
        multisets.clear();
        for (int i = 0; i < ARRAY_SIZE; i++) {
          HashMultiset<Integer> multiset = HashMultiset.<Integer>create();
          multisets.add(multiset);
          queries[i] = random.nextInt();
          multiset.add(queries[i]);
        }
      }
    
      @Benchmark
      int add(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/SloppyTearDown.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Simple utility for when you want to create a {@link TearDown} that may throw an exception but
     * should not fail a test when it does. (The behavior of a {@code TearDown} that throws an exception
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Parser.java

     *
     * @since 4.0.0
     */
    @Experimental
    public interface Parser {
        /**
         * Parses the given ParserRequest to create an {@link InvokerRequest}.
         * This method does interpret tool arguments.
         *
         * @param parserRequest the request containing all necessary information for parsing
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jan 31 20:56:58 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/opensearch/extension/analysis/FlexiblePorterStemFilterFactory.java

            step4 = settings.getAsBoolean("step4", true);
            step5 = settings.getAsBoolean("step5", true);
            step6 = settings.getAsBoolean("step6", true);
        }
    
        @Override
        public TokenStream create(final TokenStream tokenStream) {
            return new FlexiblePorterStemFilter(tokenStream, step1, step2, step3, step4, step5, step6);
        }
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiPartOfSpeechFilterFactory.java

            if (wordList != null) {
                stopTags.addAll(wordList);
            } else {
                stopTags.addAll(JapaneseAnalyzer.getDefaultStopTags());
            }
        }
    
        @Override
        public TokenStream create(TokenStream tokenStream) {
            return new JapanesePartOfSpeechStopFilter(tokenStream, stopTags);
        }
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

            };
    
            for (long[] times : timeValues) {
                // Given
                FileBasicInfo info = new FileBasicInfo(times[0], // create time
                        times[1], // last access time
                        times[2], // last write time
                        times[3], // change time
                        TEST_ATTRIBUTES);
    
                // When & Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CartesianList.java

    @GwtCompatible
    final class CartesianList<E> extends AbstractList<List<E>> implements RandomAccess {
    
      private final transient ImmutableList<List<E>> axes;
      private final transient int[] axesSizeProduct;
    
      static <E> List<List<E>> create(List<? extends List<? extends E>> lists) {
        ImmutableList.Builder<List<E>> axesBuilder = new ImmutableList.Builder<>(lists.size());
        for (List<? extends E> list : lists) {
          List<E> copy = ImmutableList.copyOf(list);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

      protected final CountDownLatch listenerLatch = new CountDownLatch(1);
    
      protected volatile boolean throwException = false;
    
      protected final ListenableFutureTask<Integer> task =
          ListenableFutureTask.create(
              new Callable<Integer>() {
                @Override
                public Integer call() throws Exception {
                  runLatch.countDown();
                  taskLatch.await();
                  if (throwException) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/SecureCredentialStorageTest.java

            char[] plaintext = "TestData".toCharArray();
    
            // Encrypt with first storage
            byte[] encrypted = storage.encryptCredentials(plaintext);
    
            // Create new storage with different salt
            SecureCredentialStorage storage2 = new SecureCredentialStorage(masterPassword.clone());
    
            try {
                // Should fail because keys are different
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top