Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for predefined (0.14 sec)

  1. android/guava/src/com/google/common/io/Files.java

       *
       * @param file the file to read from
       * @param charset the charset used to decode the input stream; see {@link StandardCharsets} for
       *     helpful predefined constants
       * @return the buffered reader
       */
      public static BufferedReader newReader(File file, Charset charset) throws FileNotFoundException {
        checkNotNull(file);
        checkNotNull(charset);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  2. pkg/proxy/util/nfacct/nfacct_linux_test.go

    }
    
    // newRequest creates a request object with the given cmd, flags, predefined response and error.
    // It additionally records the created request object.
    func (fh *fakeHandler) newRequest(cmd int, flags uint16) request {
    	var response [][]byte
    	if fh.responses != nil && len(fh.responses) > 0 {
    		response = fh.responses[0]
    		// remove the response from the list of predefined responses and add it to request object for mocking.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 06:47:50 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/Files.java

       *
       * @param file the file to read from
       * @param charset the charset used to decode the input stream; see {@link StandardCharsets} for
       *     helpful predefined constants
       * @return the buffered reader
       */
      public static BufferedReader newReader(File file, Charset charset) throws FileNotFoundException {
        checkNotNull(file);
        checkNotNull(charset);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  4. src/encoding/gob/type.go

    func (t *CommonType) safeString(seen map[typeId]bool) string {
    	return t.Name
    }
    
    func (t *CommonType) name() string { return t.Name }
    
    // Create and check predefined types
    // The string for tBytes is "bytes" not "[]byte" to signify its specialness.
    
    var (
    	// Primordial types, needed during initialization.
    	// Always passed as pointers so the interface{} type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/tls.go

    )
    
    // Match by source labels, the listener port where traffic comes in, the gateway on which the rule is being
    // bound, etc. All these can be checked statically, since we are generating the configuration for a proxy
    // with predefined labels, on a specific port.
    func matchTLS(match *v1alpha3.TLSMatchAttributes, proxyLabels labels.Instance, gateways sets.String, port int, proxyNamespace string) bool {
    	if match == nil {
    		return true
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  6. src/runtime/pprof/pprof.go

    // or network connections.
    //
    // A Profile's methods can be called from multiple goroutines simultaneously.
    //
    // Each Profile has a unique name. A few profiles are predefined:
    //
    //	goroutine    - stack traces of all current goroutines
    //	heap         - a sampling of memory allocations of live objects
    //	allocs       - a sampling of all past memory allocations
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  7. src/text/template/doc.go

    During execution functions are found in two function maps: first in the
    template, then in the global function map. By default, no functions are defined
    in the template but the Funcs method can be used to add them.
    
    Predefined global functions are named as follows.
    
    	and
    		Returns the boolean AND of its arguments by returning the
    		first empty argument or the last argument. That is,
    		"and x y" behaves as "if x then y else x."
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/testing/utils.go

    	return atomic.SwapUint64(&p.reads, 0)
    }
    
    // reproducingTransformer is a custom test-only transformer used purely
    // for testing consistency.
    // It allows for creating predefined objects on TransformFromStorage operations,
    // which allows for precise in time injection of new objects in the middle of
    // read operations.
    type reproducingTransformer struct {
    	wrapped value.Transformer
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 22 07:26:55 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. src/time/example_test.go

    	if err != nil { // Always check errors even if they should not happen.
    		panic(err)
    	}
    
    	// time.Time's Stringer method is useful without any format.
    	fmt.Println("default format:", t)
    
    	// Predefined constants in the package implement common layouts.
    	fmt.Println("Unix format:", t.Format(time.UnixDate))
    
    	// The time zone attached to the time value affects its output.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 01:05:00 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  10. src/encoding/gob/doc.go

    amortizing the cost of compilation.
    
    # Basics
    
    A stream of gobs is self-describing. Each data item in the stream is preceded by
    a specification of its type, expressed in terms of a small set of predefined
    types. Pointers are not transmitted, but the things they point to are
    transmitted; that is, the values are flattened. Nil pointers are not permitted,
    as they have no value. Recursive types work fine, but
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 17.1K bytes
    - Viewed (0)
Back to top