Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 871 - 880 of 4,955 for newA (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java

        if (mockWebServer != null) throw new IllegalStateException();
    
        mockWebServer = new MockWebServer();
        mockWebServer.setDispatcher(this);
        mockWebServer.start(slackApi.port);
      }
    
      public HttpUrl newAuthorizeUrl(String scopes, String team, Listener listener) {
        if (mockWebServer == null) throw new IllegalStateException();
    
        ByteString state = randomToken();
        synchronized (this) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Aug 12 07:26:27 GMT 2021
    - 3.8K bytes
    - Click Count (1)
  2. guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

            throw new RuntimeException("Wrong length: " + x);
          }
        }
      }
    
      private static String oldRepeat(String string, int count) {
        // If this multiplication overflows, a NegativeArraySizeException or
        // OutOfMemoryError is not far behind
        int len = string.length();
        int size = len * count;
        char[] array = new char[size];
        for (int i = 0; i < size; i += len) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java

                    k3(),
                    (k, v) -> {
                      throw new AssertionFailedError();
                    }));
        expectUnchanged();
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testComputeIfPresent_supportedPresent() {
        assertEquals(
            "computeIfPresent(present, function) should return new value",
            v3(),
            getMap()
                .computeIfPresent(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 31 14:51:04 GMT 2024
    - 6.1K bytes
    - Click Count (0)
  4. android/guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

        String upperString = testString.toUpperCase();
        CharSequence testSeq = new StringBuilder(testString);
        CharSequence upperSeq = new StringBuilder(upperString);
        CharSequence[] lhs = new CharSequence[] {testString, testSeq, testString, testSeq};
        CharSequence[] rhs = new CharSequence[] {upperString, upperString, upperSeq, upperSeq};
    
        boolean dummy = false;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4.8K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/JdkBackedImmutableMap.java

            }
            if (duplicates == null) {
              duplicates = new HashMap<>();
            }
            duplicates.put(key, value);
            dupCount++;
          }
        }
        if (duplicates != null) {
          @SuppressWarnings({"rawtypes", "unchecked"})
          Entry<K, V>[] newEntryArray = new Entry[n - dupCount];
          for (int inI = 0, outI = 0; inI < n; inI++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

            storage.putAll(m);
        }
    
        public String put(String key, List<String> commentLines, List<String> valueLines) {
            commentLines = new ArrayList<>(commentLines);
            valueLines = new ArrayList<>(valueLines);
            String escapedKey = escapeKey(key);
            StringBuilder sb = new StringBuilder();
            // int lastLine = valueLines.size() - 1;
            if (valueLines.isEmpty()) {
                valueLines.add(escapedKey + "=");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 38.4K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

            storage.putAll(m);
        }
    
        public String put(String key, List<String> commentLines, List<String> valueLines) {
            commentLines = new ArrayList<>(commentLines);
            valueLines = new ArrayList<>(valueLines);
            String escapedKey = escapeKey(key);
            StringBuilder sb = new StringBuilder();
            // int lastLine = valueLines.size() - 1;
            if (valueLines.isEmpty()) {
                valueLines.add(escapedKey + "=");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/distribution/InternalElasticsearchDistributionTypes.java

        public static ElasticsearchDistributionType DEB = new DebElasticsearchDistributionType();
        public static ElasticsearchDistributionType RPM = new RpmElasticsearchDistributionType();
        public static ElasticsearchDistributionType DOCKER = new DockerElasticsearchDistributionType();
        public static ElasticsearchDistributionType DOCKER_UBI = new DockerUbiElasticsearchDistributionType();
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Aug 20 19:11:05 GMT 2021
    - 1.5K bytes
    - Click Count (0)
  9. .teamcity/scripts/CheckWrapper.java

            String originalHead = stdout("git", "rev-parse", "HEAD").trim();
    
            List<String> commits;
            try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in, StandardCharsets.UTF_8))) {
                commits = br.lines()
                    .map(String::trim)
                    .filter(s -> !s.isEmpty())
                    .collect(Collectors.toList());
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jan 20 03:53:25 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/netbios/Lmhosts.java

                        } else {
                            populate(new InputStreamReader(new SmbFileInputStream(url)));
                        }
                    } else if (line.startsWith("#BEGIN_ALTERNATE")) {
                        alt++;
                    } else if (line.startsWith("#END_ALTERNATE") && alt > 0) {
                        alt--;
                        throw new IOException("no lmhosts alternate includes loaded");
                    }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6K bytes
    - Click Count (0)
Back to Top