Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1131 - 1140 of 4,225 for None (0.04 sec)

  1. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     */
    class HttpUrl private constructor(
      /** Either "http" or "https". */
      @get:JvmName("scheme") val scheme: String,
      /**
       * The decoded username, or an empty string if none is present.
       *
       * | URL                              | `username()` |
       * | :------------------------------- | :----------- |
       * | `http://host/`                   | `""`         |
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Headers.kt

       * the same order. Note that two headers instances may be *semantically* equal but not equal
       * according to this method. In particular, none of the following sets of headers are equal
       * according to this method:
       *
       * 1. Original
       * ```
       * Content-Type: text/html
       * Content-Length: 50
       * ```
       *
       * 2. Different order
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. 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)
  4. cmd/erasure-metadata-utils.go

    // corresponding error value. NB When there is more than one error value that
    // occurs maximum number of times, the error value returned depends on how
    // golang's map orders keys. This doesn't affect correctness as long as quorum
    // value is greater than or equal to simple majority, since none of the equally
    // maximal values would occur quorum or more number of times.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. docs/ru/docs/tutorial/path-params-numeric-validations.md

    Path-параметр всегда является обязательным, поскольку он составляет часть пути.
    
    Поэтому следует объявить его с помощью `...`, чтобы обозначить, что этот параметр обязательный.
    
    Тем не менее, даже если вы объявите его как `None` или установите для него значение по умолчанию, это ни на что не повлияет и параметр останется обязательным.
    
    ///
    
    ## Задайте нужный вам порядок параметров
    
    /// tip | "Подсказка"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/request-files.md

    可在一个*路径操作*中声明多个 `File` 和 `Form` 参数,但不能同时声明要接收 JSON 的 `Body` 字段。因为此时请求体的编码是 `multipart/form-data`,不是 `application/json`。
    
    这不是 **FastAPI** 的问题,而是 HTTP 协议的规定。
    
    ///
    
    ## 可选文件上传
    
    您可以通过使用标准类型注解并将 None 作为默认值的方式将一个文件参数设为可选:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="7  14"
    {!> ../../docs_src/request_files/tutorial001_02_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. tests/query_test.go

    				CheckUser(t, models3[idx], user)
    			})
    		}
    	}
    
    	var none []User
    	if err := DB.Where("name in (?)", []string{}).Find(&none).Error; err != nil || len(none) != 0 {
    		t.Errorf("errors happened when query find with in clause and zero length parameter: %v, length: %v", err, len(none))
    	}
    }
    
    func TestQueryWithAssociation(t *testing.T) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemSupplier.java

            }
            return artifactGeneratorFactories;
        }
    
        protected Map<String, ArtifactGeneratorFactory> createArtifactGeneratorFactories() {
            // by default none, this is extension point
            return new HashMap<>();
        }
    
        private Map<String, ArtifactDecoratorFactory> artifactDecoratorFactories;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 45.7K bytes
    - Viewed (0)
Back to top