Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 218 for maxsize (0.2 sec)

  1. src/sync/map_test.go

    					return
    				default:
    				}
    				for n := int64(1); n < mapSize; n++ {
    					if r.Int63n(mapSize) == 0 {
    						m.Store(n, n*i*g)
    					} else {
    						m.Load(n)
    					}
    				}
    			}
    		}(g)
    	}
    
    	iters := 1 << 10
    	if testing.Short() {
    		iters = 16
    	}
    	for n := iters; n > 0; n-- {
    		seen := make(map[int64]bool, mapSize)
    
    		m.Range(func(ki, vi any) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 15:34:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CallTest.kt

          .build()
      private val callback = RecordingCallback()
      private val cache =
        Cache(
          fileSystem = LoggingFilesystem(fileSystem),
          directory = "/cache".toPath(),
          maxSize = Int.MAX_VALUE.toLong(),
        )
    
      @BeforeEach
      fun setUp(
        server: MockWebServer,
        @MockWebServerInstance("server2") server2: MockWebServer,
      ) {
        this.server = server
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (2)
  3. src/net/http/h2_bundle.go

    		}
    		return true
    	})
    	return wr, ok
    }
    
    func (ws *http2priorityWriteScheduler) addClosedOrIdleNode(list *[]*http2priorityNode, maxSize int, n *http2priorityNode) {
    	if maxSize == 0 {
    		return
    	}
    	if len(*list) == maxSize {
    		// Remove the oldest node, then shift left.
    		ws.removeNode((*list)[0])
    		x := (*list)[1:]
    		copy(*list, x)
    		*list = (*list)[:len(x)]
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/FastFallbackTest.kt

        // In the process we made one successful connection attempt.
        assertThat(listener.recordedEventTypes().filter { it == "ConnectStart" }).hasSize(2)
        assertThat(listener.recordedEventTypes().filter { it == "ConnectFailed" }).hasSize(1)
        assertThat(listener.recordedEventTypes().filter { it == "ConnectEnd" }).hasSize(1)
      }
    
      @Test
      fun reachesIpv6WhenIpv4IsDown() {
        serverIpv4.shutdown()
        serverIpv6.enqueue(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/GraphMutationTest.java

          }
          ArrayList<EndpointPair<Integer>> edgeList = new ArrayList<>(graph.edges());
    
          assertThat(graph.nodes()).hasSize(NUM_NODES);
          assertThat(graph.edges()).hasSize(NUM_EDGES);
          AbstractGraphTest.validateGraph(graph);
    
          Collections.shuffle(edgeList, gen);
          int numEdgesToRemove = gen.nextInt(NUM_EDGES);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Aug 18 16:17:46 UTC 2017
    - 4.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/collection_ops_util.h

                                        int64_t max_size, Operation* op,
                                        Type element_dtype, OpBuilder builder,
                                        Value* buffer);
    
    // Same as above, but uses a Value as max_size and check if it is a constant.
    LogicalResult CreateInitBufferValue(ArrayRef<int64_t> element_shape,
                                        Value max_size, Operation* op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 02 20:41:19 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  7. src/net/http/mapping_test.go

    import (
    	"cmp"
    	"fmt"
    	"slices"
    	"strconv"
    	"testing"
    )
    
    func TestMapping(t *testing.T) {
    	var m mapping[int, string]
    	for i := 0; i < maxSlice; i++ {
    		m.add(i, strconv.Itoa(i))
    	}
    	if m.m != nil {
    		t.Fatal("m.m != nil")
    	}
    	for i := 0; i < maxSlice; i++ {
    		g, _ := m.find(i)
    		w := strconv.Itoa(i)
    		if g != w {
    			t.Fatalf("%d: got %s, want %s", i, g, w)
    		}
    	}
    	m.add(4, "4")
    	if m.s != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 17:47:07 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/lifecycle/DefaultLifecyclesTest.java

            assertThat(lifecycles, hasSize(4));
            assertThat(DefaultLifecycles.STANDARD_LIFECYCLES, arrayWithSize(4));
        }
    
        @Test
        void testDefaultLifecycle() {
            final Lifecycle lifecycle = getLifeCycleById("default");
            assertThat(lifecycle.getId(), is("default"));
            assertThat(lifecycle.getPhases(), hasSize(23));
        }
    
        @Test
        void testCleanLifecycle() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 13:45:13 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-include-tf2xla-fallback.mlir

      %max_size = mhlo.constant dense<2> : tensor<i32>
      // NO_FALLBACK: tf.NonMaxSuppressionV4
      // SUPPORTED_FALLBACK_DEVICE-NOT: tf.NonMaxSuppressionV4
      // UNSPECIFIED_FALLBACK_DEVICE: tf.NonMaxSuppressionV4
      // UNSUPPORTED_FALLBACK_DEVICE:  tf.NonMaxSuppressionV4
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 16 19:04:03 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/action/FessLabels.java

        public static final String LABELS_KUROMOJI_FILE = "{labels.kuromojiFile}";
    
        /** The key of the message: Max Size */
        public static final String LABELS_MAX_SIZE = "{labels.maxSize}";
    
        /** The key of the message: Order */
        public static final String LABELS_ORDER = "{labels.order}";
    
        /** The key of the message: Purge Suggest Documents Before */
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Mar 22 11:58:34 UTC 2024
    - 146.4K bytes
    - Viewed (0)
Back to top