Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 213 for example2 (0.16 sec)

  1. src/go/printer/nodes.go

    // values (V) can be placed in the type column (T) instead. The i'th entry
    // in the result slice is true if the type column in spec[i] must be kept.
    //
    // For example, the declaration:
    //
    //		const (
    //			foobar int = 42 // comment
    //			x          = 7  // comment
    //			foo
    //	             bar = 991
    //		)
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  2. src/regexp/syntax/parse.go

    	return re
    }
    
    // factor factors common prefixes from the alternation list sub.
    // It returns a replacement list that reuses the same storage and
    // frees (passes to p.reuse) any removed *Regexps.
    //
    // For example,
    //
    //	ABC|ABD|AEF|BCX|BCY
    //
    // simplifies by literal prefix extraction to
    //
    //	A(B(C|D)|EF)|BC(X|Y)
    //
    // which simplifies by character class introduction to
    //
    //	A(B[CD]|EF)|BC[XY]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    func allowedAtRootSchema(field string) bool {
    	for _, v := range allowedFieldsAtRootSchema {
    		if field == v {
    			return true
    		}
    	}
    	return false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (0)
  4. cmd/test-utils_test.go

    func isSameType(obj1, obj2 interface{}) bool {
    	return reflect.TypeOf(obj1) == reflect.TypeOf(obj2)
    }
    
    // TestServer encapsulates an instantiation of a MinIO instance with a temporary backend.
    // Example usage:
    //
    //	s := StartTestServer(t,"Erasure")
    //	defer s.Stop()
    type TestServer struct {
    	Root         string
    	Disks        EndpointServerPools
    	AccessKey    string
    	SecretKey    string
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch.go

    // The place for a item in `left` is found by:
    // scan from the place of last insertion in `right` to the end of `right`,
    // the place is before the first item that is greater than the item we want to insert.
    // example usage: using server-only items as left and patch items as right. We insert server-only items
    // to patch list. We use the order of live object as record for comparison.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 23:34:23 UTC 2023
    - 75.5K bytes
    - Viewed (0)
  6. src/cmd/cgo/out.go

    		}
    		fmt.Fprintf(fgcc, "_cgo_r;\n")
    	}
    	fmt.Fprintf(fgcc, "}\n")
    	fmt.Fprintf(fgcc, "\n")
    }
    
    // packedAttribute returns host compiler struct attribute that will be
    // used to match gc's struct layout. For example, on 386 Windows,
    // gcc wants to 8-align int64s, but gc does not.
    // Use __gcc_struct__ to work around https://gcc.gnu.org/PR52991 on x86,
    // and https://golang.org/issue/5603.
    func (p *Package) packedAttribute() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  7. src/runtime/map.go

    		h.noverflow++
    		return
    	}
    	// Increment with probability 1/(1<<(h.B-15)).
    	// When we reach 1<<15 - 1, we will have approximately
    	// as many overflow buckets as buckets.
    	mask := uint32(1)<<(h.B-15) - 1
    	// Example: if h.B == 18, then mask == 7,
    	// and rand() & 7 == 0 with probability 1/8.
    	if uint32(rand())&mask == 0 {
    		h.noverflow++
    	}
    }
    
    func (h *hmap) newoverflow(t *maptype, b *bmap) *bmap {
    	var ovf *bmap
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/MapMakerInternalMap.java

         * cause a concurrent read operation to see inconsistent data. This is made easier by the
         * nature of the read operations in Map. For example, no operation can reveal that the table
         * has grown but the threshold has not yet been updated, so there are no atomicity requirements
         * for this with respect to reads.
         *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

                                    const std::vector<Value>& operands) {
      // Use this to clone an op and lift it outside its parent function. The
      // original while body is unchanged. Example:
      // Original:
      //    %x = tf.while(%a, %b)
      //    ...
      //    while_body:
      //       call(f=@sc_fw, %arg0, %arg1)
      // Lifted:
      //    call(f=@sc_fw, %a, %b)
      //    %x = tf.while(%a, %b)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  10. src/runtime/pprof/pprof_test.go

    	}
    	buf := make([]byte, 10*1024)
    	for i := 0; i < N; i++ {
    		runtime.Stack(buf, true)
    	}
    }
    
    // TestTryAdd tests the cases that are hard to test with real program execution.
    //
    // For example, the current go compilers may not always inline functions
    // involved in recursion but that may not be true in the future compilers. This
    // tests such cases by using fake call sequences and forcing the profile build
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
Back to top