Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1071 - 1080 of 1,615 for LENGTH (0.05 sec)

  1. android/guava/src/com/google/common/cache/CacheBuilder.java

       * write operations. Expired entries are cleaned up as part of the routine maintenance described
       * in the class javadoc.
       *
       * @param duration the length of time after an entry is created that it should be automatically
       *     removed
       * @return this {@code CacheBuilder} instance (for chaining)
       * @throws IllegalArgumentException if {@code duration} is negative
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/MoreObjects.java

        }
    
        private static boolean isEmpty(Object value) {
          // Put types estimated to be the most frequent first.
          if (value instanceof CharSequence) {
            return ((CharSequence) value).length() == 0;
          } else if (value instanceof Collection) {
            return ((Collection<?>) value).isEmpty();
          } else if (value instanceof Map) {
            return ((Map<?, ?>) value).isEmpty();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/NbtAddress.java

            if ( Character.isDigit(this.calledName.charAt(0)) ) {
                int i, len, dots;
                char[] data;
    
                i = dots = 0; /* quick IP address validation */
                len = this.calledName.length();
                data = this.calledName.toCharArray();
                while ( i < len && Character.isDigit(data[ i++ ]) ) {
                    if ( i == len && dots == 3 ) {
                        // probably an IP address
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 15.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            while (iterator.hasNext()) {
                String currentAuthMethod = (String) iterator.next();
                if (currentAuthMethod.startsWith("NTLM")) {
                    if (currentAuthMethod.length() == 4) {
                        authMethod = "NTLM";
                        break;
                    }
                    if (currentAuthMethod.indexOf(' ') != 4) continue;
                    authMethod = "NTLM";
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 20.4K bytes
    - Viewed (0)
  5. misc/cgo/gmp/gmp.go

    func (z *Int) Bytes() []byte {
    	b := make([]byte, (z.Len()+7)/8)
    	n := C.size_t(len(b))
    	C.mpz_export(unsafe.Pointer(&b[0]), &n, 1, 1, 1, 0, &z.i[0])
    	return b[0:n]
    }
    
    // Len returns the length of z in bits.  0 is considered to have length 1.
    func (z *Int) Len() int {
    	z.doinit()
    	return int(C.mpz_sizeinbase(&z.i[0], 2))
    }
    
    // Set sets z = x and returns z.
    func (z *Int) Set(x *Int) *Int {
    	z.doinit()
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  6. docs/zh/docs/advanced/custom-response.md

    `Response` 类接受如下参数:
    
    * `content` - 一个 `str` 或者 `bytes`。
    * `status_code` - 一个 `int` 类型的 HTTP 状态码。
    * `headers` - 一个由字符串组成的 `dict`。
    * `media_type` - 一个给出媒体类型的 `str`,比如 `"text/html"`。
    
    FastAPI(实际上是 Starlette)将自动包含 Content-Length 的头。它还将包含一个基于 media_type 的 Content-Type 头,并为文本类型附加一个字符集。
    
    
    ```Python hl_lines="1  18"
    {!../../docs_src/response_directly/tutorial002.py!}
    ```
    
    ### `HTMLResponse`
    
    如上文所述,接受文本或字节并返回 HTML 响应。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        assertTrue(set instanceof RegularImmutableSet);
        assertEquals(
            "Input size " + inputSize + " and set size " + setSize,
            tableSize,
            ((RegularImmutableSet<Integer>) set).table.length);
      }
    
      public void testCopyOf_copiesImmutableSortedSet() {
        ImmutableSortedSet<String> sortedSet = ImmutableSortedSet.of("a");
        ImmutableSet<String> copy = ImmutableSet.copyOf(sortedSet);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  8. src/main/webapp/js/admin/adminlte.min.js.map

    controlSidebar = $(SELECTOR_CONTROL_SIDEBAR_CONTENT).outerHeight()\n    }\n\n    const heights = {\n      window: $(window).height(),\n      header: $(SELECTOR_HEADER).length > 0 ? $(SELECTOR_HEADER).outerHeight() : 0,\n      footer: $(SELECTOR_FOOTER).length > 0 ? $(SELECTOR_FOOTER).outerHeight() : 0,\n      sidebar: $(SELECTOR_SIDEBAR).length > 0 ? $(SELECTOR_SIDEBAR).height() : 0,\n      controlSidebar\n    }\n\n    const max = this._max(heights)\n    let offset = this._config.panelAutoHeight\n\n   ...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 132.4K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/autoscaling/v2beta2/generated.proto

      // apiVersion is the API version of the referent
      // +optional
      optional string apiVersion = 3;
    }
    
    // ExternalMetricSource indicates how to scale on a metric not associated with
    // any Kubernetes object (for example length of queue in cloud
    // messaging service, or QPS from loadbalancer running outside of cluster).
    message ExternalMetricSource {
      // metric identifies the target metric by name and selector
      optional MetricIdentifier metric = 1;
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

            Object proxy, Method method, @Nullable Object[] args) {
          Invokable<?, ?> invokable = interfaceType.method(method);
          ImmutableList<Parameter> params = invokable.getParameters();
          for (int i = 0; i < args.length; i++) {
            Parameter param = params.get(i);
            if (!isNullable(param)) {
              checkNotNull(args[i]);
            }
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 08 17:31:55 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top