Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1101 - 1110 of 1,156 for done (0.09 sec)

  1. android/guava-tests/test/com/google/common/primitives/IntsTest.java

      }
    
      public void testToArray() {
        // need explicit type parameter to avoid javac warning!?
        List<Integer> none = Arrays.<Integer>asList();
        assertThat(Ints.toArray(none)).isEqualTo(EMPTY);
    
        List<Integer> one = Arrays.asList((int) 1);
        assertThat(Ints.toArray(one)).isEqualTo(ARRAY1);
    
        int[] array = {(int) 0, (int) 1, (int) 0xdeadbeef};
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/DoublesTest.java

      }
    
      public void testToArray() {
        // need explicit type parameter to avoid javac warning!?
        List<Double> none = Arrays.<Double>asList();
        assertThat(Doubles.toArray(none)).isEqualTo(EMPTY);
    
        List<Double> one = Arrays.asList((double) 1);
        assertThat(Doubles.toArray(one)).isEqualTo(ARRAY1);
    
        double[] array = {(double) 0, (double) 1, Math.PI};
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/FloatsTest.java

      }
    
      public void testToArray() {
        // need explicit type parameter to avoid javac warning!?
        List<Float> none = Arrays.<Float>asList();
        assertThat(Floats.toArray(none)).isEqualTo(EMPTY);
    
        List<Float> one = Arrays.asList((float) 1);
        assertThat(Floats.toArray(one)).isEqualTo(ARRAY1);
    
        float[] array = {(float) 0, (float) 1, (float) 3};
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/LongsTest.java

      }
    
      public void testToArray() {
        // need explicit type parameter to avoid javac warning!?
        List<Long> none = Arrays.<Long>asList();
        assertThat(Longs.toArray(none)).isEqualTo(EMPTY);
    
        List<Long> one = Arrays.asList((long) 1);
        assertThat(Longs.toArray(one)).isEqualTo(ARRAY1);
    
        long[] array = {(long) 0, (long) 1, 0x0FF1C1AL};
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/authorization/v1/generated.proto

      // Version is the API Version of the Resource.  "*" means all.
      // +optional
      optional string version = 4;
    
      // Resource is one of the existing resource types.  "*" means all.
      // +optional
      optional string resource = 5;
    
      // Subresource is one of the existing resource types.  "" means none.
      // +optional
      optional string subresource = 6;
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  6. docs/changelogs/changelog_3x.md

        code][https_server_sample].
    
     *  **OkHttp now supports prior knowledge cleartext HTTP/2.** Enable this by setting
        `Protocol.H2_PRIOR_KNOWLEDGE` as the lone protocol on an `OkHttpClient.Builder`. This mode
        only supports `http:` URLs and is best suited in closed environments where HTTPS is
        inappropriate.
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  7. cmd/signature-v4.go

    	newSignature := getSignature(signingKey, stringToSign)
    
    	// Verify if signature match.
    	if !compareSignatureV4(newSignature, signV4Values.Signature) {
    		return ErrSignatureDoesNotMatch
    	}
    
    	// Return error none.
    	return ErrNone
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/Collections2Test.java

        assertTrue("Expected another permutation, but there was none.", permutations.hasNext());
        assertEquals(expectedPermutation, permutations.next());
      }
    
      private <T> void assertNoMorePermutations(Iterator<List<T>> permutations) {
        assertFalse("Expected no more permutations, but there was one.", permutations.hasNext());
        try {
          permutations.next();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  9. docs/it/docs/index.md

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: bool = Optional[None]
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Optional[str] = None):
        return {"item_id": item_id, "q": q}
    
    
    @app.put("/items/{item_id}")
    def update_item(item_id: int, item: Item):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  10. cmd/local-locker_test.go

    			Quorum:    &quorum,
    		}
    		ok, err := l.Unlock(ctx, arg)
    		if err != nil {
    			t.Fatal(err)
    		}
    		if !ok {
    			t.Fatal("did not get write lock")
    		}
    	}
    
    	// All should be gone now...
    	// Each Lock has m entries
    	if len(l.lockMap) != 0 {
    		t.Fatalf("lockmap len, got %d, want %d + %d", len(l.lockMap), 0, 0)
    	}
    	if len(l.lockUID) != 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top