Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 377 for parseList (0.24 sec)

  1. internal/s3select/sql/value_test.go

    			fields: fields{
    				value: []byte("9223372036854775808"),
    			},
    			// Seems to be what strconv.ParseInt returns
    			want:   math.MaxInt64,
    			wantOK: false,
    		},
    		{
    			name: "min-underflow",
    			fields: fields{
    				value: []byte("-9223372036854775809"),
    			},
    			// Seems to be what strconv.ParseInt returns
    			want:   math.MinInt64,
    			wantOK: false,
    		},
    		{
    			name: "zerospace",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  2. src/regexp/syntax/parse_test.go

    // license that can be found in the LICENSE file.
    
    package syntax
    
    import (
    	"fmt"
    	"strings"
    	"testing"
    	"unicode"
    )
    
    type parseTest struct {
    	Regexp string
    	Dump   string
    }
    
    var parseTests = []parseTest{
    	// Base cases
    	{`a`, `lit{a}`},
    	{`a.`, `cat{lit{a}dot{}}`},
    	{`a.b`, `cat{lit{a}dot{}lit{b}}`},
    	{`ab`, `str{ab}`},
    	{`a.b.c`, `cat{lit{a}dot{}lit{b}dot{}lit{c}}`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 16:02:30 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/api_object_versioner.go

    	accessor, err := meta.Accessor(obj)
    	if err != nil {
    		return 0, err
    	}
    	version := accessor.GetResourceVersion()
    	if len(version) == 0 {
    		return 0, nil
    	}
    	return strconv.ParseUint(version, 10, 64)
    }
    
    // ParseResourceVersion takes a resource version argument and converts it to
    // the etcd version. For watch we should pass to helper.Watch(). Because resourceVersion is
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 11 15:19:32 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/main/java/org/gradle/util/internal/DefaultGradleVersion.java

            for (int i = 0; i < majorVersionParts.length && i < otherMajorVersionParts.length; i++) {
                int part = Integer.parseInt(majorVersionParts[i]);
                int otherPart = Integer.parseInt(otherMajorVersionParts[i]);
    
                if (part > otherPart) {
                    return 1;
                }
                if (otherPart > part) {
                    return -1;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. src/net/http/pprof/pprof.go

    	} else {
    		b = bufio.NewReader(strings.NewReader(r.URL.RawQuery))
    	}
    
    	for {
    		word, err := b.ReadSlice('+')
    		if err == nil {
    			word = word[0 : len(word)-1] // trim +
    		}
    		pc, _ := strconv.ParseUint(string(word), 0, 64)
    		if pc != 0 {
    			f := runtime.FuncForPC(uintptr(pc))
    			if f != nil {
    				fmt.Fprintf(&buf, "%#x %s\n", pc, f.Name())
    			}
    		}
    
    		// Wait until here to check for err; the last
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:34:05 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/process/internal/util/MergeOptionsUtil.java

            String normalized = heapSize.trim().toLowerCase();
            try {
                if (normalized.endsWith("m")) {
                    return Integer.parseInt(normalized.substring(0, normalized.length() - 1));
                }
                if (normalized.endsWith("g")) {
                    return Integer.parseInt(normalized.substring(0, normalized.length() - 1)) * 1024;
                }
            } catch (NumberFormatException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/TestLocking.java

            for (int ai = 0; ai < args.length; ai++) {
                if (args[ai].equals("-t")) {
                    ai++;
                    t.numThreads = Integer.parseInt(args[ai]);
                } else if (args[ai].equals("-i")) {
                    ai++;
                    t.numIter = Integer.parseInt(args[ai]);
                } else if (args[ai].equals("-d")) {
                    ai++;
                    t.delay = Long.parseLong(args[ai]);
                } else {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/validation/CustomSizeValidator.java

            final String minKey = constraintAnnotation.minKey();
            if (StringUtil.isNotBlank(minKey)) {
                min = Integer.parseInt(fessConfig.get(minKey));
            }
            final String maxKey = constraintAnnotation.maxKey();
            if (StringUtil.isNotBlank(maxKey)) {
                max = Integer.parseInt(fessConfig.get(maxKey));
            }
            message = constraintAnnotation.message();
            validateParameters();
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

            }
            final int[] values = new int[2];
            values[0] = Integer.parseInt(froms[0]);
            if (values[0] < 0 || values[0] > 23) {
                throw new FessSystemException("Invalid format: " + time);
            }
            values[1] = Integer.parseInt(froms[1]);
            if (values[1] < 0 || values[1] > 59) {
                throw new FessSystemException("Invalid format: " + time);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. schema/field.go

    		field.DataType = Uint
    		if field.HasDefaultValue && !skipParseDefaultValue {
    			if field.DefaultValueInterface, err = strconv.ParseUint(field.DefaultValue, 0, 64); err != nil {
    				schema.err = fmt.Errorf("failed to parse %s as default value for uint, got error: %v", field.DefaultValue, err)
    			}
    		}
    	case reflect.Float32, reflect.Float64:
    		field.DataType = Float
    		if field.HasDefaultValue && !skipParseDefaultValue {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
Back to top