Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 423 for toYaml (0.08 sec)

  1. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        getAll(cache, asList(46));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).contains(0);
      }
    
      public void testEviction_invalidateAll() {
        // test that .invalidateAll() resets total weight state correctly
        IdentityLoader<Integer> loader = identityLoader();
        LoadingCache<Integer, Integer> cache =
            CacheBuilder.newBuilder().concurrencyLevel(1).maximumSize(10).build(loader);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Chars.java

       *
       * @param arrays zero or more {@code char} arrays
       * @return a single array containing all the values from the source arrays, in order
       * @throws IllegalArgumentException if the total number of elements in {@code arrays} does not fit
       *     in an {@code int}
       */
      public static char[] concat(char[]... arrays) {
        long length = 0;
        for (char[] array : arrays) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

            }
            if (done) {
              break;
            }
          }
        }
      }
    
      /**
       * Multiple threads using same array of counters successfully update a number of times equal to
       * total count
       */
      public void testCountingInMultipleThreads() throws InterruptedException {
        final AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i = 0; i < SIZE; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        val frame3 = peer.takeFrame()
        assertThat(frame3.type).isEqualTo(Http2.TYPE_RST_STREAM)
        assertThat(connection.readBytes.acknowledged).isEqualTo(0L)
        assertThat(connection.readBytes.total).isEqualTo(2048L)
      }
    
      @Test fun receiveGoAwayHttp2() {
        // Write the mocking script.
        peer.sendFrame().settings(Settings())
        peer.acceptFrame() // ACK
        peer.acceptFrame() // SYN_STREAM 3
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  5. cmd/erasure-metadata-utils.go

    	}
    	if partSize == 0 {
    		return 0, errPartSizeZero
    	}
    	if partIndex < 1 {
    		return 0, errPartSizeIndex
    	}
    	if totalSize == -1 {
    		return -1, nil
    	}
    	if totalSize > 0 {
    		// Compute the total count of parts
    		partsCount := totalSize/partSize + 1
    		// Return the part's size
    		switch {
    		case int64(partIndex) < partsCount:
    			currPartSize = partSize
    		case int64(partIndex) == partsCount:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. src/archive/tar/common.go

    type sparseEntry struct{ Offset, Length int64 }
    
    func (s sparseEntry) endOffset() int64 { return s.Offset + s.Length }
    
    // A sparse file can be represented as either a sparseDatas or a sparseHoles.
    // As long as the total size is known, they are equivalent and one can be
    // converted to the other form and back. The various tar formats with sparse
    // file support represent sparse files in the sparseDatas form. That is, they
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 13 21:03:27 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  7. cmd/erasure-metadata_test.go

    	// Setup.
    	fi := newFileInfo("test-object", 8, 8)
    	fi.Erasure.Index = 1
    	if !fi.IsValid() {
    		t.Fatalf("unable to get xl meta")
    	}
    
    	// Add some parts for testing.
    	// Total size of all parts is 5,242,899 bytes.
    	for _, partNum := range []int{1, 2, 4, 5, 7} {
    		partNumString := strconv.Itoa(partNum)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:02:50 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. src/main/resources/esclient.xml

    			 "node.name":"search_engine",
    			 "discovery.seed_hosts":"search_engine",
    			 "cluster.initial_cluster_manager_nodes":"search_engine",
    			 "node.roles":"cluster_manager,data,ingest,ml",
    			 -->
    			 "indices.breaker.total.limit":"100%",
    			 "action.auto_create_index":"-*"}
    		</property>
    		<!-- Dictionaries -->
    		<postConstruct name="addConfigFile">
    			<arg>"fess"</arg>
    			<arg>"mapping.txt"</arg>
    		</postConstruct>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Oct 21 12:20:52 UTC 2024
    - 16K bytes
    - Viewed (0)
  9. fastapi/openapi/models.py

    
    # Ref: https://json-schema.org/draft/2020-12/json-schema-core.html#name-json-schema-documents
    # A JSON Schema MUST be an object or a boolean.
    SchemaOrBool = Union[Schema, bool]
    
    
    class Example(TypedDict, total=False):
        summary: Optional[str]
        description: Optional[str]
        value: Optional[Any]
        externalValue: Optional[AnyUrl]
    
        if PYDANTIC_V2:  # type: ignore [misc]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 22:49:33 UTC 2024
    - 15K bytes
    - Viewed (0)
  10. docs/ru/docs/deployment/docker.md

    ```{ .dockerfile .annotate }
    # (1)
    FROM python:3.9 as requirements-stage
    
    # (2)
    WORKDIR /tmp
    
    # (3)
    RUN pip install poetry
    
    # (4)
    COPY ./pyproject.toml ./poetry.lock* /tmp/
    
    # (5)
    RUN poetry export -f requirements.txt --output requirements.txt --without-hashes
    
    # (6)
    FROM python:3.9
    
    # (7)
    WORKDIR /code
    
    # (8)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
Back to top