Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ok1 (0.03 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/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)
  3. 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)
  4. 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)
Back to top