Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 543 for 1010 (0.07 sec)

  1. docs/em/docs/tutorial/bigger-applications.md

    ```Python hl_lines="5" title="app/main.py"
    {!../../docs_src/bigger_applications/app/main.py!}
    ```
    
    ### 🔌 `APIRouter`Ⓜ `users` & `items`
    
    🔜, ➡️ 🔌 `router`Ⓜ ⚪️➡️ 🔁 `users` & `items`:
    
    ```Python hl_lines="10-11" title="app/main.py"
    {!../../docs_src/bigger_applications/app/main.py!}
    ```
    
    /// info
    
    `users.router` 🔌 `APIRouter` 🔘 📁 `app/routers/users.py`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/LongMath.java

        checkNonNegative("exponent", k);
        if (-2 <= b && b <= 2) {
          switch ((int) b) {
            case 0:
              return (k == 0) ? 1 : 0;
            case 1:
              return 1;
            case (-1):
              return ((k & 1) == 0) ? 1 : -1;
            case 2:
              return (k < Long.SIZE) ? 1L << k : 0;
            case (-2):
              if (k < Long.SIZE) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  3. cmd/erasure-metadata_test.go

    			TransitionedObjName: inputs[0].remoteObjName,
    			TransitionVersionID: inputs[0].remoteVersionID,
    			TransitionStatus:    inputs[0].status,
    		}
    		ofi := fi
    		if i&(1<<0) != 0 {
    			ofi.TransitionTier = inputs[1].tier
    		}
    		if i&(1<<1) != 0 {
    			ofi.TransitionedObjName = inputs[1].remoteObjName
    		}
    		if i&(1<<2) != 0 {
    			ofi.TransitionVersionID = inputs[1].remoteVersionID
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:02:50 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                final String sessionId2 = crawler2.execute();
    
                assertNotSame(sessionId1, sessionId2);
                assertNotSame(crawler1.crawlerContext, crawler2.crawlerContext);
    
                Thread.sleep(1000);
    
                assertEquals(CrawlerStatus.RUNNING, crawler1.crawlerContext.getStatus());
                assertEquals(CrawlerStatus.RUNNING, crawler2.crawlerContext.getStatus());
    
                crawler1.awaitTermination();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 18K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

        val a3 = "2001:db8::1:0:0:1"
        assertThat(parse("http://[2001:db8:0:0:1:0:0:1]").host).isEqualTo(a3)
        assertThat(parse("http://[2001:0db8:0:0:1:0:0:1]").host).isEqualTo(a3)
        assertThat(parse("http://[2001:db8::1:0:0:1]").host).isEqualTo(a3)
        assertThat(parse("http://[2001:db8::0:1:0:0:1]").host).isEqualTo(a3)
        assertThat(parse("http://[2001:0db8::1:0:0:1]").host).isEqualTo(a3)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

      public void testSlice() throws IOException {
        // Test preconditions
        assertThrows(IllegalArgumentException.class, () -> source.slice(-1, 10));
    
        assertThrows(IllegalArgumentException.class, () -> source.slice(0, -1));
    
        assertCorrectSlice(0, 0, 0, 0);
        assertCorrectSlice(0, 0, 1, 0);
        assertCorrectSlice(100, 0, 10, 10);
        assertCorrectSlice(100, 0, 100, 100);
        assertCorrectSlice(100, 5, 10, 10);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  7. internal/kms/kms.go

    }
    
    var defaultLatencyBuckets = []time.Duration{
    	10 * time.Millisecond,
    	50 * time.Millisecond,
    	100 * time.Millisecond,
    	250 * time.Millisecond,
    	500 * time.Millisecond,
    	1000 * time.Millisecond, // 1s
    	1500 * time.Millisecond,
    	3000 * time.Millisecond,
    	5000 * time.Millisecond,
    	10000 * time.Millisecond, // 10s
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

     *
     * ```java
     * public final OkHttpClient client = new OkHttpClient.Builder()
     *     .readTimeout(1000, TimeUnit.MILLISECONDS)
     *     .writeTimeout(1000, TimeUnit.MILLISECONDS)
     *     .build();
     * ```
     *
     * This example shows a call with a short 500 millisecond read timeout and a 1000 millisecond
     * write timeout. Original configuration is kept, but can be overriden.
     *
     * ```java
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/ppc64.s

    	ADDEX R3, R5, $3, R6            // 7cc32f54
    	ADDEX R3, $3, R5, R6            // 7cc32f54
    	ADDIS $8, R3                    // 3c630008
    	ADD   $524288, R3               // 3c630008
    	ADDIS $1000, R3, R4             // 3c8303e8
    
    	ANDCC $1, R3                    // 70630001
    	ANDCC $1, R3, R4                // 70640001
    	ANDCC $-1, R4                   // 3be0ffff7fe42039
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 29 13:14:38 UTC 2024
    - 51K bytes
    - Viewed (0)
  10. cmd/api-response.go

    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v3/policy"
    	xxml "github.com/minio/xxml"
    )
    
    const (
    	maxObjectList  = 1000  // Limit number of objects in a listObjectsResponse/listObjectsVersionsResponse.
    	maxDeleteList  = 1000  // Limit number of objects deleted in a delete call.
    	maxUploadsList = 10000 // Limit number of uploads in a listUploadsResponse.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
Back to top