Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for ind2 (0.1 sec)

  1. pkg/volume/iscsi/iscsi_util.go

    	}
    	portal := device[0:ind1]
    	ind2 := strings.Index(device, "iqn.")
    	if ind2 < 0 {
    		ind2 = strings.Index(device, "eui.")
    	}
    	if ind2 < 0 {
    		return "", "", fmt.Errorf("iscsi detach disk: no iqn in %s", device)
    	}
    	ind := strings.LastIndex(device, "-lun-")
    	iqn := device[ind2:ind]
    	return portal, iqn, nil
    }
    
    // Remove duplicates or string
    func removeDuplicate(s []string) []string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 22 12:53:01 UTC 2022
    - 34.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/loopbce.go

    // with nxt being (Add inc ind).
    // If it can't parse the induction variable correctly, it returns (nil, nil, nil).
    func parseIndVar(ind *Value) (min, inc, nxt *Value) {
    	if ind.Op != OpPhi {
    		return
    	}
    
    	if n := ind.Args[0]; (n.Op == OpAdd64 || n.Op == OpAdd32 || n.Op == OpAdd16 || n.Op == OpAdd8) && (n.Args[0] == ind || n.Args[1] == ind) {
    		min, nxt = ind.Args[1], n
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 17:37:47 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/scope.go

    // n == 0 for no indentation.
    // If recurse is set, it also writes nested (children) scopes.
    func (s *Scope) WriteTo(w io.Writer, n int, recurse bool) {
    	const ind = ".  "
    	indn := strings.Repeat(ind, n)
    
    	fmt.Fprintf(w, "%s%s scope %p {\n", indn, s.comment, s)
    
    	indn1 := indn + ind
    	for _, name := range s.Names() {
    		fmt.Fprintf(w, "%s%s\n", indn1, s.Lookup(name))
    	}
    
    	if recurse {
    		for _, s := range s.children {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. src/go/types/scope.go

    // n == 0 for no indentation.
    // If recurse is set, it also writes nested (children) scopes.
    func (s *Scope) WriteTo(w io.Writer, n int, recurse bool) {
    	const ind = ".  "
    	indn := strings.Repeat(ind, n)
    
    	fmt.Fprintf(w, "%s%s scope %p {\n", indn, s.comment, s)
    
    	indn1 := indn + ind
    	for _, name := range s.Names() {
    		fmt.Fprintf(w, "%s%s\n", indn1, s.Lookup(name))
    	}
    
    	if recurse {
    		for _, s := range s.children {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. operator/pkg/util/reflect_test.go

    	type EnumType int64
    
    	tests := []struct {
    		inDesc string
    		inV1   any
    		inV2   any
    		want   bool
    	}{
    		{
    			inDesc: "success both are int32 types",
    			inV1:   int32(42),
    			inV2:   int32(43),
    			want:   true,
    		},
    		{
    			inDesc: "fail unmatching int types",
    			inV1:   int16(42),
    			inV2:   int32(43),
    			want:   false,
    		},
    		{
    			inDesc: "fail unmatching int and string type",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/DefaultComponentMetadataHandlerTest.groovy

                extraInfo.asMap() == [(new QName(id1.namespace, id1.name)): "info1 value", (new QName(id2.namespace, id2.name)): "info2 value"]
            }
            capturedDescriptor2 instanceof IvyModuleDescriptor
            with(capturedDescriptor2) {
                extraInfo.asMap() == [(new QName(id1.namespace, id1.name)): "info1 value", (new QName(id2.namespace, id2.name)): "info2 value"]
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  7. platforms/jvm/language-jvm/src/integTest/groovy/org/gradle/api/tasks/bundling/JarIntegrationTest.groovy

        def excludeDuplicatesUseMetaInfOverRegularFiles() {
            createDir('meta-inf1') {
                file 'file.txt'
            }
    
            createDir('meta-inf2') {
                file 'file.txt'
            }
    
            file('meta-inf1/file.txt').text = 'good'
            file('meta-inf2/file.txt').text = 'bad'
    
    
            buildFile << '''
            task jar(type: Jar) {
                duplicatesStrategy = 'exclude'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  8. src/crypto/aes/gcm_ppc64x.s

    	VPERM  IN1, IN1, LEMASK, IN1
    	VPERM  IN2, IN2, LEMASK, IN2
    	VPERM  IN3, IN3, LEMASK, IN3
    #endif
    
    	VXOR IN0, XL, XH
    
    	VPMSUMD IN1, H3L, XL1
    	VPMSUMD IN1, H3, XM1
    	VPMSUMD IN1, H3H, XH1
    
    	VPERM   H2, H, HIPERM, H21L
    	VPERM   IN2, IN3, LOPERM, T0
    	VPERM   H2, H, LOPERM, H21H
    	VPERM   IN2, IN3, HIPERM, T1
    	VPMSUMD IN2, H2, XM2         // H^2.lo·Xi+2.hi+H^2.hi·Xi+2.lo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  9. src/net/mail/message.go

    	// RFC 5322: zone = (FWS ( "+" / "-" ) 4DIGIT) / obs-zone
    	// zone length is always 5 chars unless obsolete (obs-zone)
    	if ind := strings.IndexAny(p.s, "+-"); ind != -1 && len(p.s) >= ind+5 {
    		date = p.s[:ind+5]
    		p.s = p.s[ind+5:]
    	} else {
    		ind := strings.Index(p.s, "T")
    		if ind == 0 {
    			// In this case we have the following date formats:
    			// * Thu, 20 Nov 1997 09:55:06 MDT
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:31:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/utils/lstm_utils.cc

        return failure();
    
      // Reshape recurrent weights to vectors if indy behaviour is enabled.
      // IndyLSTMs are a LSTM variant with diagonal recurrent weight
      // matrices. For optimization purposes these are provided as vectors.
      Value recurrent_to_input_weights =
          indy ? mlir::cast<Value>(
                     CreateFlattenOP(recurrent_weights_array->getResult(0),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 36.2K bytes
    - Viewed (0)
Back to top