Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 29 of 29 for ok1 (0.17 sec)

  1. src/regexp/syntax/parse.go

    		return
    	}
    	s = s[1:]
    	var ok1 bool
    	if min, s, ok1 = p.parseInt(s); !ok1 {
    		return
    	}
    	if s == "" {
    		return
    	}
    	if s[0] != ',' {
    		max = min
    	} else {
    		s = s[1:]
    		if s == "" {
    			return
    		}
    		if s[0] == '}' {
    			max = -1
    		} else if max, s, ok1 = p.parseInt(s); !ok1 {
    			return
    		} else if max < 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  2. src/encoding/asn1/asn1.go

    			if ok {
    				offset = initOffset
    			} else {
    				err = StructuralError{"explicitly tagged member didn't match"}
    			}
    			return
    		}
    	}
    
    	matchAny, universalTag, compoundType, ok1 := getUniversalType(fieldType)
    	if !ok1 {
    		err = StructuralError{fmt.Sprintf("unknown Go type: %v", fieldType)}
    		return
    	}
    
    	// Special case for strings: all the ASN.1 string types map to the Go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 31.8K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassProcessorTest.groovy

            process(ATestClassWithRunnerThatBreaksAfterRunningSomeTests)
    
            then:
            1 * processor.started({ it.id == 1 }, { it.parentId == null })
    
            1 * processor.started({ it.id == 2 && it.name == 'ok1' && it.className == ATestClassWithRunnerThatBreaksAfterRunningSomeTests.name }, { it.parentId == 1 })
            1 * processor.completed(2, { it.resultType == null })
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 24.8K bytes
    - Viewed (0)
  4. src/math/big/int_test.go

    	},
    }
    
    func TestExp(t *testing.T) {
    	for i, test := range expTests {
    		x, ok1 := new(Int).SetString(test.x, 0)
    		y, ok2 := new(Int).SetString(test.y, 0)
    
    		var ok3, ok4 bool
    		var out, m *Int
    
    		if len(test.out) == 0 {
    			out, ok3 = nil, true
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testerrors/ptr_test.go

    		body: `p := &C.s2{new(C.int)}; C.f2(p)`,
    		fail: true,
    	},
    	{
    		// Passing a pointer to an int field of a Go struct
    		// that (irrelevantly) contains a Go pointer.
    		name: "ok1",
    		c:    `struct s3 { int i; int *p; }; void f3(int *p) {}`,
    		body: `p := &C.struct_s3{i: 0, p: new(C.int)}; C.f3(&p.i)`,
    		fail: false,
    	},
    	{
    		// Passing a pointer to a pointer field of a Go struct.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:49 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  6. src/net/http/request.go

    }
    
    // parseRequestLine parses "GET /foo HTTP/1.1" into its three parts.
    func parseRequestLine(line string) (method, requestURI, proto string, ok bool) {
    	method, rest, ok1 := strings.Cut(line, " ")
    	requestURI, proto, ok2 := strings.Cut(rest, " ")
    	if !ok1 || !ok2 {
    		return "", "", "", false
    	}
    	return method, requestURI, proto, true
    }
    
    var textprotoReaderPool sync.Pool
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2.go

    			// load (and convert) version.
    			version, err := x.getIdx(i)
    			if err == nil {
    				// Only reindex if set.
    				_, ok1 := version.DeleteMarker.MetaSys[ReservedMetadataPrefixLower+ReplicationTimestamp]
    				_, ok2 := version.DeleteMarker.MetaSys[ReservedMetadataPrefixLower+ReplicaTimestamp]
    				if ok1 || ok2 {
    					meta, err := version.MarshalMsg(make([]byte, 0, len(ver.meta)+10))
    					if err == nil {
    						// Override both if fine.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssagen/ssa.go

    			if conv1, ok1 := fpConvOpToSSA32[twoTypes{s.concreteEtype(ft), s.concreteEtype(tt)}]; ok1 {
    				conv = conv1
    			}
    		}
    		if Arch.LinkArch.Family == sys.ARM64 || Arch.LinkArch.Family == sys.Wasm || Arch.LinkArch.Family == sys.S390X || s.softFloat {
    			if conv1, ok1 := uint64fpConvOpToSSA[twoTypes{s.concreteEtype(ft), s.concreteEtype(tt)}]; ok1 {
    				conv = conv1
    			}
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  9. cmd/site-replication.go

    	if objAPI == nil {
    		return errServerNotInitialized
    	}
    
    	err := objAPI.MakeBucket(ctx, bucket, opts)
    	if err != nil {
    		// Check if this is a bucket exists error.
    		_, ok1 := err.(BucketExists)
    		_, ok2 := err.(BucketAlreadyExists)
    		if !ok1 && !ok2 {
    			return wrapSRErr(c.annotateErr(makeBucketWithVersion, err))
    		}
    	} else {
    		// Load updated bucket metadata into memory as new
    		// bucket was created.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
Back to top