Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 507 for Positive (0.16 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/MapMaker.java

        checkArgument(
            concurrencyLevel >= 1, "concurrency level (%s) must be at least 1", concurrencyLevel);
        // GWT technically only supports concurrencyLevel == 1, but we silently
        // ignore other positive values.
        return this;
      }
    
      public <K, V> ConcurrentMap<K, V> makeMap() {
        return new ConcurrentHashMap<K, V>(initialCapacity);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. src/math/rand/auto_test.go

    		out = append(out, Int63())
    	}
    
    	// Look for out in Seed(1)'s output.
    	// Strictly speaking, we should look for them in order,
    	// but this is good enough and not significantly more
    	// likely to have a false positive.
    	Seed(1)
    	found := 0
    	for i := 0; i < 1000; i++ {
    		x := Int63()
    		if x == out[found] {
    			found++
    			if found == len(out) {
    				t.Fatalf("found unseeded output in Seed(1) output")
    			}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 16:49:48 UTC 2022
    - 1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/prove.go

    	default:
    		panic("unexpected integer size")
    	}
    
    	// Check if the recorded limits can prove that the value is positive
    
    	if l, has := ft.limits[v.ID]; has && (l.min >= 0 || l.umax <= uint64(max)) {
    		return true
    	}
    
    	// Check if v = x+delta, and we can use x's limits to prove that it's positive
    	if x, delta := isConstDelta(v); x != nil {
    		if l, has := ft.limits[x.ID]; has {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/deadcode_test.go

    	"path/filepath"
    	"testing"
    )
    
    func TestDeadcode(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	t.Parallel()
    
    	tmpdir := t.TempDir()
    
    	tests := []struct {
    		src      string
    		pos, neg []string // positive and negative patterns
    	}{
    		{"reflectcall", nil, []string{"main.T.M"}},
    		{"typedesc", nil, []string{"type:main.T"}},
    		{"ifacemethod", nil, []string{"main.T.M"}},
    		{"ifacemethod2", []string{"main.T.M"}, nil},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:07:26 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. platforms/ide/problems-api/src/main/java/org/gradle/api/problems/internal/LineInFileLocation.java

         */
        int getLine();
    
        /**
         * The starting column on the selected line.
         * <p>
         * The column is <b>one-indexed</b>, i.e. the first column in the file is line number 1.
         * A non-positive value indicates that the column information is not available.
         *
         * @return the column
         */
        int getColumn();
    
        /**
         * The length of the selected content starting from specified column.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:35:05 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/problems/LineInFileLocation.java

         */
        int getLine();
    
        /**
         * The starting column on the selected line.
         * <p>
         * The column is <b>one-indexed</b>, i.e. the first column in the file is column number 1.
         * A non-positive value indicates that the column information is not available.
         *
         * @return the column
         * @since 8.6
         */
        int getColumn();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:33:01 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. pkg/credentialprovider/plugin/plugin_test.go

    				"SUPER_SECRET_STRONG_ACCESS_KEY=123456789",
    			},
    		},
    		{
    			name:          "positive no env vars provided in plugin",
    			systemEnvVars: []string{"HOME=/home/foo", "PATH=/usr/bin"},
    			execPlugin:    &execPlugin{},
    			expectedEnvVars: []string{
    				"HOME=/home/foo",
    				"PATH=/usr/bin",
    			},
    		},
    		{
    			name: "positive no system env vars but env vars are provided in plugin",
    			execPlugin: &execPlugin{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 09 06:11:06 UTC 2022
    - 26.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/options/audit.go

    	}
    	if config.MaxBatchSize <= 0 {
    		return fmt.Errorf("invalid audit batch %s max batch size %v, must be a positive number", pluginName, config.MaxBatchSize)
    	}
    	if config.ThrottleEnable {
    		if config.ThrottleQPS <= 0 {
    			return fmt.Errorf("invalid audit batch %s throttle QPS %v, must be a positive number", pluginName, config.ThrottleQPS)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 24 06:30:04 UTC 2022
    - 20.3K bytes
    - Viewed (0)
  9. cmd/kube-controller-manager/app/options/validatingadmissionpolicycontroller.go

    	if o == nil {
    		return nil
    	}
    	var errs []error
    	if o.ConcurrentPolicySyncs <= 0 {
    		// omits controller or flag names because the CLI already includes these in the message.
    		errs = append(errs, fmt.Errorf("must be positive, got %d", o.ConcurrentPolicySyncs))
    	}
    	return errs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 13 20:41:50 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    			positive, _, num, denom, suffix, err := parseQuantityString(item.input)
    			if err != nil {
    				t.Errorf("%v: unexpected error: %v", item.input, err)
    				continue
    			}
    			if got.Sign() >= 0 && !positive || got.Sign() < 0 && positive {
    				t.Errorf("%v: positive was incorrect: %t", item.input, positive)
    				continue
    			}
    			var value string
    			if !positive {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
Back to top