Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2131 - 2140 of 2,768 for Add (0.05 seconds)

  1. benchmarks/src/main/java/org/elasticsearch/benchmark/search/aggregations/AggConstructionContentionBenchmark.java

            public SubSearchContext subSearchContext() {
                throw new UnsupportedOperationException();
            }
    
            @Override
            public void addReleasable(Aggregator aggregator) {
                releaseMe.add(aggregator);
            }
    
            @Override
            public MultiBucketConsumer multiBucketConsumer() {
                return multiBucketConsumer;
            }
    
            @Override
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jun 16 08:22:22 GMT 2021
    - 12.3K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/base/OptionalTest.java

        Set<String> presentAsSet = Optional.of("a").asSet();
        assertThrows(UnsupportedOperationException.class, () -> presentAsSet.add("b"));
      }
    
      public void testAsSet_absentIsImmutable() {
        Set<Object> absentAsSet = Optional.absent().asSet();
        assertThrows(UnsupportedOperationException.class, () -> absentAsSet.add("foo"));
      }
    
      public void testTransform_absent() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  3. src/main/java/jcifs/pac/PacDataInputStream.java

                final BigInteger firstBigInt = BigInteger.valueOf(first);
                BigInteger completeBigInt = lastBigInt.add(firstBigInt.shiftLeft(32));
                completeBigInt = completeBigInt.divide(BigInteger.valueOf(10000L));
                completeBigInt = completeBigInt.add(BigInteger.valueOf(-SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601));
                date = new Date(completeBigInt.longValue());
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

        queueSize += data.size.toLong()
        messageAndCloseQueue.add(Message(formatOpcode, data))
        runWriter()
        return true
      }
    
      @Synchronized fun pong(payload: ByteString): Boolean {
        // Don't send pongs after we've failed or sent the close frame.
        if (failed || enqueuedClose && messageAndCloseQueue.isEmpty()) return false
    
        pongQueue.add(payload)
        runWriter()
        return true
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  5. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                if (key.equalsIgnoreCase(entry.getKey())) {
                    values = entry.getValue();
                    values.add(value);
                    break;
                }
            }
            if (values == null) {
                values = new ArrayList<>();
                values.add(value);
                this.requestProperties.put(key, values);
            }
            // 1.3-compatible.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  6. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/DaemonTracker.kt

                override fun afterSuite(suite: TestDescriptor, result: TestResult) {
                    if (suite.parent == null) {
                        forEachJavaProcess { pid, _ ->
                            if (daemonPids.add(pid)) {
                                suspiciousDaemons.getOrPut(suite.toString(), { ConcurrentHashMap.newKeySet() }) += pid
                            }
                        }
                    }
                }
            }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  7. android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java

                public void run() {
                  try {
                    f.get();
                  } catch (Throwable expected) {
                  }
                }
              };
          thread.start();
          blockedThreads.add(thread);
        }
        for (int i = 0; i < numListeners; i++) {
          f.addListener(Runnables.doNothing(), directExecutor());
        }
        for (Thread thread : blockedThreads) {
          AbstractFutureBenchmarks.awaitWaiting(thread);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/testing/TestLogHandler.java

      /** Adds the most recently logged record to our list. */
      @Override
      public void publish(@Nullable LogRecord record) {
        synchronized (lock) {
          if (record != null) {
            list.add(record);
          }
        }
      }
    
      @Override
      public void flush() {}
    
      @Override
      public void close() {}
    
      public void clear() {
        synchronized (lock) {
          list.clear();
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/storage/S3StorageClient.java

                for (final CommonPrefix commonPrefix : response.commonPrefixes()) {
                    final String dirName = getName(commonPrefix.prefix());
                    if (StringUtil.isNotBlank(dirName)) {
                        items.add(new StorageItem(dirName, prefix, true, 0, null, encodeId(commonPrefix.prefix())));
                    }
                }
    
                // Process objects (files)
                for (final S3Object s3Object : response.contents()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

            InputStream is = new ByteArrayInputStream(input.getBytes(StandardCharsets.UTF_8));
    
            List<String> callbackResults = new ArrayList<>();
            Consumer<String> callback = line -> callbackResults.add(line);
    
            InputStreamThread thread = new InputStreamThread(is, StandardCharsets.UTF_8, 10, callback);
            thread.start();
            thread.join(1000);
    
            assertEquals(2, callbackResults.size());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 12K bytes
    - Click Count (0)
Back to Top