Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2391 - 2400 of 2,835 for 2$ (0.09 sec)

  1. guava-tests/test/com/google/common/io/CloserTest.java

        }
    
        assertTrue(c1.isClosed());
        assertTrue(c2.isClosed());
    
        ImmutableSet<Throwable> suppressed = ImmutableSet.copyOf(thrownException.getSuppressed());
        assertEquals(2, suppressed.size());
    
        assertEquals(ImmutableSet.of(c1Exception, c2Exception), suppressed);
      }
    
      public void testNullCloseable() throws IOException {
        Closer closer = Closer.create();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/UnsignedLong.java

        }
        // The top bit is set, which means that the double value is going to come from the top 53 bits.
        // So we can ignore the bottom 11, except for rounding. We can unsigned-shift right 1, aka
        // unsigned-divide by 2, and convert that. Then we'll get exactly half of the desired double
        // value. But in the specific case where the bottom two bits of the original number are 01, we
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 8.9K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/body.md

    ///
    
    ## Import Pydantic's `BaseModel`
    
    First, you need to import `BaseModel` from `pydantic`:
    
    {* ../../docs_src/body/tutorial001_py310.py hl[2] *}
    
    ## Create your data model
    
    Then you declare your data model as a class that inherits from `BaseModel`.
    
    Use standard Python types for all the attributes:
    
    {* ../../docs_src/body/tutorial001_py310.py hl[5:9] *}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:58:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/first-steps.md

    Вы можете использовать всю функциональность <a href="https://www.starlette.io/" class="external-link" target="_blank">Starlette</a> в `FastAPI`.
    
    ///
    
    ### Шаг 2: создайте экземпляр `FastAPI`
    
    ```Python hl_lines="3"
    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Переменная `app` является экземпляром класса `FastAPI`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. docs/debugging/s3-verify/main.go

    	if err != nil {
    		fmt.Printf("unreadable on target: %s (%s)\n", tgtCtnt.Key, err)
    		return false
    	}
    
    	var sourceFailed, targetFailed bool
    	var wg sync.WaitGroup
    
    	wg.Add(2)
    	go func() {
    		defer wg.Done()
    		srcSize, err := io.Copy(srcSha256, sobj)
    		if err != nil {
    			fmt.Printf("unreadable on source: %s (%s)\n", srcCtnt.Key, err)
    			sourceFailed = true
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 22 15:12:47 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_experimental_test.cc

                        /*expected_shape*/ make_shape({3, kUnknownDim}));
    
      // Infer shape when some dimensions are unknown.
      CheckOutputShapes(
          matmul_op,
          /*input_shapes*/ {make_shape({kUnknownDim, 2}), make_shape({2, 4})},
          /*input_tensors*/ {},
          /*expected_shape*/ make_shape({kUnknownDim, 4}));
    
      // Infer shape when everything is unknown.
      CheckOutputShapes(matmul_op,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Jan 17 22:27:52 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

              Security.insertProviderAt(BouncyCastleProvider(), 1)
              Security.insertProviderAt(BouncyCastleJsseProvider(), 2)
            } else if (platformSystemProperty == CORRETTO_PROPERTY) {
              AmazonCorrettoCryptoProvider.install()
    
              AmazonCorrettoCryptoProvider.INSTANCE.assertHealthy()
            }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

          }
          in 40L until 80L -> {
            result.writeDecimalLong(1)
            result.writeByte(dot)
            result.writeDecimalLong(xy - 40L)
          }
          else -> {
            result.writeDecimalLong(2)
            result.writeByte(dot)
            result.writeDecimalLong(xy - 80L)
          }
        }
        while (byteCount < limit) {
          result.writeByte(dot)
          result.writeDecimalLong(readVariableLengthLong())
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

        checkPublicSuffix("biz", null)
        checkPublicSuffix("domain.biz", "domain.biz")
        checkPublicSuffix("b.domain.biz", "domain.biz")
        checkPublicSuffix("a.b.domain.biz", "domain.biz")
        // TLD with some 2-level rules.
        checkPublicSuffix("com", null)
        checkPublicSuffix("example.com", "example.com")
        checkPublicSuffix("b.example.com", "example.com")
        checkPublicSuffix("a.b.example.com", "example.com")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/Maps.java

     * <p>
     * 本クラスをstatic importすることにより、次のように{@literal Map}のインスタンスを簡潔に初期化することができます。
     * </p>
     *
     * <pre>
     * import static org.codelibs.core.collection.Maps.*;
     *
     * Map&lt;String, Integer&gt; map = map("a", 1).$("b", 2).$("c", 3).$();
     * </pre>
     *
     * @author koichik
     * @param <K>
     *            {@literal Map}のキーの型
     * @param <V>
     *            {@literal Map}の値の型
     */
    public class Maps<K, V> {
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top