Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 520 for negatives (0.54 sec)

  1. android/guava/src/com/google/common/escape/UnicodeEscaper.java

          }
          // It is possible for this to return null because nextEscapeIndex() may
          // (for performance reasons) yield some false positives but it must never
          // give false negatives.
          char[] escaped = escape(cp);
          int nextIndex = index + (Character.isSupplementaryCodePoint(cp) ? 2 : 1);
          if (escaped != null) {
            int charsSkipped = index - unescapedChunkStart;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 13.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/escape/UnicodeEscaper.java

          }
          // It is possible for this to return null because nextEscapeIndex() may
          // (for performance reasons) yield some false positives but it must never
          // give false negatives.
          char[] escaped = escape(cp);
          int nextIndex = index + (Character.isSupplementaryCodePoint(cp) ? 2 : 1);
          if (escaped != null) {
            int charsSkipped = index - unescapedChunkStart;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 13.2K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/net/nettest/conntest.go

    type MakePipe func() (c1, c2 net.Conn, stop func(), err error)
    
    // TestConn tests that a net.Conn implementation properly satisfies the interface.
    // The tests should not produce any false positives, but may experience
    // false negatives. Thus, some issues may only be detected when the test is
    // run multiple times. For maximal effectiveness, run the tests under the
    // race detector.
    func TestConn(t *testing.T, mp MakePipe) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/BloomFilterTest.java

            new Runnable() {
              @Override
              public void run() {
                do {
                  // We can't have a GOLDEN_NOT_PRESENT_KEY because false positives are
                  // possible! It's false negatives that can't happen.
                  assertThat(bloomFilter.mightContain(GOLDEN_PRESENT_KEY)).isTrue();
    
                  int key = getNonGoldenRandomKey();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/tests.go

    	// in any of the imports. This guarantees there are no false positives
    	// because the example needs to use the object so it must be defined
    	// in the package or one if its imports. On the other hand, false
    	// negatives are possible, but should be rare.
    	for _, imp := range pkg.Imports() {
    		if obj := imp.Scope().Lookup(name); obj != nil {
    			ret = append(ret, obj)
    		}
    	}
    	return ret
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  6. src/regexp/syntax/parse_test.go

    	{`(?i)\W`, `cc{0x0-0x2f 0x3a-0x40 0x5b-0x5e 0x60 0x7b-0x17e 0x180-0x2129 0x212b-0x10ffff}`},
    	{`[^\\]`, `cc{0x0-0x5b 0x5d-0x10ffff}`},
    	//	{ `\C`, `byte{}` },  // probably never
    
    	// Unicode, negatives, and a double negative.
    	{`\p{Braille}`, `cc{0x2800-0x28ff}`},
    	{`\P{Braille}`, `cc{0x0-0x27ff 0x2900-0x10ffff}`},
    	{`\p{^Braille}`, `cc{0x0-0x27ff 0x2900-0x10ffff}`},
    	{`\P{^Braille}`, `cc{0x2800-0x28ff}`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 16:02:30 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/server/options/server_run_options_test.go

    				JSONPatchMaxCopyBytes:       10 * 1024 * 1024,
    				MaxRequestBodyBytes:         10 * 1024 * 1024,
    			},
    			expectErr: "--max-requests-inflight can not be negative value",
    		},
    		{
    			name: "Test when MaxMutatingRequestsInFlight is negative value",
    			testOptions: &ServerRunOptions{
    				AdvertiseAddress:            netutils.ParseIPSloppy("192.168.10.10"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 15:49:49 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr_test.go

    			want: []byte{0x38, 0xff},
    		},
    		{
    			in:   FromInt32(-2 - math.MaxUint8), // max negative integer representable in three bytes
    			want: []byte{0x39, 0x01, 0x00},
    		},
    		{
    			in:   FromInt32(-1 - math.MaxUint16), // min negative integer representable in three bytes
    			want: []byte{0x39, 0xff, 0xff},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/decode_test.go

    				}
    			}),
    		},
    	})
    
    	group(t, "negative integer", []test{
    		{
    			name:          "int64 max negative value",
    			in:            hex("20"), // -1
    			want:          int64(-1),
    			assertOnError: assertNilError,
    		},
    		{
    			name:          "int64 min negative value",
    			in:            hex("3b7fffffffffffffff"), // -9223372036854775808
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 18:43:10 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  10. src/internal/types/testdata/check/expr3.go

    	var a [10]int
    	_ = a[true /* ERROR "cannot convert" */ ]
    	_ = a["foo" /* ERROR "cannot convert" */ ]
    	_ = a[1.1 /* ERROR "truncated" */ ]
    	_ = a[1.0]
    	_ = a[- /* ERROR "negative" */ 1]
    	_ = a[- /* ERROR "negative" */ 1 :]
    	_ = a[: - /* ERROR "negative" */ 1]
    	_ = a[: /* ERROR "middle index required" */ : /* ERROR "final index required" */ ]
    	_ = a[0: /* ERROR "middle index required" */ : /* ERROR "final index required" */ ]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 22:41:49 UTC 2023
    - 15.6K bytes
    - Viewed (0)
Back to top