Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 404 for closest (0.16 sec)

  1. schema/schema.go

    		cacheStore:       cacheStore,
    		namer:            namer,
    		initialized:      make(chan struct{}),
    	}
    	// When the schema initialization is completed, the channel will be closed
    	defer close(schema.initialized)
    
    	// Load exist schema cache, return if exists
    	if v, ok := cacheStore.Load(schemaCacheKey); ok {
    		s := v.(*Schema)
    		// Wait for the initialization of other goroutines to complete
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Oct 10 06:50:29 GMT 2023
    - 13.7K bytes
    - Viewed (0)
  2. src/bytes/buffer.go

    	// allocated slice, but this pattern causes b to escape onto the heap.
    	//
    	// Instead use the append-make pattern with a nil slice to ensure that
    	// we allocate buffers rounded up to the closest size class.
    	c := len(b) + n // ensure enough space for n elements
    	if c < 2*cap(b) {
    		// The growth rate has historically always been 2x. In the future,
    		// we could rely purely on append to determine the growth rate.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/query-params-str-validations.md

    Imagine that you want the parameter to be `item-query`.
    
    Like in:
    
    ```
    http://127.0.0.1:8000/items/?item-query=foobaritems
    ```
    
    But `item-query` is not a valid Python variable name.
    
    The closest would be `item_query`.
    
    But you still need it to be exactly `item-query`...
    
    Then you can declare an `alias`, and that alias is what will be used to find the parameter value:
    
    === "Python 3.10+"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 25.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/MediaType.java

        return mediaType;
      }
    
      /*
       * The following constants are grouped by their type and ordered alphabetically by the constant
       * name within that type. The constant name should be a sensible identifier that is closest to the
       * "common name" of the media. This is often, but not necessarily the same as the subtype.
       *
       * Be sure to declare all constants with the type and subtype in all lowercase. For types that
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Aug 07 16:17:10 GMT 2023
    - 46.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/Closer.java

     *
     * <pre>{@code
     * Closer closer = Closer.create();
     * try {
     *   InputStream in = closer.register(openInputStream());
     *   OutputStream out = closer.register(openOutputStream());
     *   // do stuff
     * } catch (Throwable e) {
     *   // ensure that any checked exception types other than IOException that could be thrown are
     *   // provided here, e.g. throw closer.rethrow(e, CheckedException.class);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  6. internal/http/close.go

    )
    
    // DrainBody close non nil response with any response Body.
    // convenient wrapper to drain any remaining data on response body.
    //
    // Subsequently this allows golang http RoundTripper
    // to reuse the same connection for future requests.
    func DrainBody(respBody io.ReadCloser) {
    	// Callers should close resp.Body when done reading from it.
    	// If resp.Body is not closed, the Client's underlying RoundTripper
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  7. internal/ioutil/ioutil.go

    		w.wLimit -= int64(n1)
    		return n, err
    	}
    	n1, err = w.Writer.Write(p)
    	w.wLimit -= int64(n1)
    	return n, err
    }
    
    // Close closes the LimitWriter. It behaves like io.Closer.
    func (w *LimitWriter) Close() error {
    	if closer, ok := w.Writer.(io.Closer); ok {
    		return closer.Close()
    	}
    	return nil
    }
    
    // LimitedWriter takes an io.Writer and returns an ioutil.LimitWriter.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  8. src/main/webapp/js/admin/jquery-3.6.3.min.map

    Plain Text
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Fri Feb 17 12:13:41 GMT 2023
    - 135.2K bytes
    - Viewed (0)
  9. src/main/webapp/js/jquery-3.6.3.min.map

    Plain Text
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Fri Feb 17 12:13:41 GMT 2023
    - 135.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/Closeables.java

       *
       * @param inputStream the input stream to be closed, or {@code null} in which case this method
       *     does nothing
       * @since 17.0
       */
      public static void closeQuietly(@CheckForNull InputStream inputStream) {
        try {
          close(inputStream, true);
        } catch (IOException impossible) {
          throw new AssertionError(impossible);
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 4.7K bytes
    - Viewed (0)
Back to top