Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2501 - 2510 of 2,683 for SIZE (0.52 seconds)

  1. guava-tests/test/com/google/common/graph/EndpointPairTest.java

      @SuppressWarnings({"CollectionSizeTruth", "CollectionContainsTruth"})
      private static void containsExactlySanityCheck(Collection<?> collection, Object... varargs) {
        assertThat(collection.size()).isEqualTo(varargs.length);
        for (Object obj : varargs) {
          assertThat(collection.contains(obj)).isTrue();
        }
        assertThat(ImmutableList.copyOf(collection.iterator())).containsExactlyElementsIn(varargs);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

            if (pendingOps.isEmpty()) {
                return;
            }
    
            log.info("Redistributing {} pending operations from failed channel", pendingOps.size());
    
            // Create a defensive copy to avoid ConcurrentModificationException
            List<CommonServerMessageBlock> operationsCopy = List.copyOf(pendingOps);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt

        when (command) {
          COMMAND_CONNECT -> {
            val toSocket = Socket(toAddress, port)
            val localAddress = toSocket.localAddress.address
            if (localAddress.size != 4) {
              throw ProtocolException("unexpected address: " + toSocket.localAddress)
            }
    
            // Write the reply.
            fromSink.writeByte(VERSION_5)
            fromSink.writeByte(REPLY_SUCCEEDED)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt

          var serverMaxWindowBits: Int? = null
          var serverNoContextTakeover = false
          var unexpectedValues = false
    
          // Parse each header.
          for (i in 0 until responseHeaders.size) {
            if (!responseHeaders.name(i).equals(HEADER_WEB_SOCKET_EXTENSION, ignoreCase = true)) {
              continue // Not a header we're interested in.
            }
            val header = responseHeaders.value(i)
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  5. tensorflow/c/eager/custom_device_testutil.cc

      TFE_Execute(op, op_outputs.data(), num_outputs, s);
      TFE_DeleteOp(op);
      if (TF_GetCode(s) != TF_OK) return;
      std::vector<TFE_TensorHandle*> unwrapped_outputs;
      unwrapped_outputs.reserve(op_outputs.size());
      for (auto* handle : op_outputs) {
        unwrapped_outputs.push_back(handle);
      }
      for (int i = 0; i < *num_outputs; ++i) {
        auto logged_tensor = std::make_unique<LoggedTensor>(unwrapped_outputs[i]);
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Dec 20 23:30:21 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  6. docs/ja/docs/tutorial/request-files.md

    `UploadFile` には次の `async` メソッドがあります。いずれも内部で対応するファイルメソッド(内部の `SpooledTemporaryFile`)を呼び出します。
    
    - `write(data)`: `data`(`str` または `bytes`)を書き込みます。
    - `read(size)`: `size`(`int`)バイト/文字を読み込みます。
    - `seek(offset)`: ファイル内のバイト位置 `offset`(`int`)に移動します。
        - 例: `await myfile.seek(0)` はファイルの先頭に移動します。
        - 一度 `await myfile.read()` を実行して、もう一度内容を読みたい場合に特に便利です。
    - `close()`: ファイルを閉じます。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertThat(cache.getUnchecked(key)).isNotNull();
        assertThat(cache.size()).isEqualTo(1);
        assertThat(countingLoader.getCount()).isEqualTo(2);
    
        CacheTesting.simulateValueReclamation(cache, key);
        cache.refresh(key);
        checkNothingLogged();
        assertThat(cache.size()).isEqualTo(1);
        assertThat(countingLoader.getCount()).isEqualTo(3);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 91K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

                    metaVersionLocations.computeIfAbsent(ga, k -> new ArrayList<>()).add(location);
                }
            }
            if (gasLocations.values().stream().anyMatch(l -> l.size() > 1)) {
                throw new IllegalStateException("Extension conflicts in file " + extensionFile + ": "
                        + gasLocations.entrySet().stream()
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:39:11 GMT 2025
    - 25.5K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemBoundaryTest.java

            assertEquals(0, dest.size());
        }
    
        @Test
        public void test_concatValues_duplicatesRemoved() {
            java.util.List<String> dest = new java.util.ArrayList<>();
            dest.add("existing");
    
            SuggestItem.concatValues(dest, "new", "existing", "new", "another");
    
            assertEquals(3, dest.size());
            assertTrue(dest.contains("existing"));
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Jan 17 05:10:37 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

        while (true) {
          val success = webSocket.send(message)
          if (!success) break
          messageCount++
          val queueSize = webSocket.queueSize()
          assertThat(queueSize).isBetween(0L, messageCount * message.size)
          // Expect to fail before enqueueing 32 MiB.
          assertThat(messageCount).isLessThan(32L)
        }
    
        // Confirm all sent messages were received, followed by a client-initiated close.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 35.5K bytes
    - Click Count (0)
Back to Top