Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for overlap (0.12 sec)

  1. src/cmd/compile/internal/ssa/rewrite.go

    	for i := 0; i < 16; i++ {
    		if v&^0xff == 0 {
    			return true
    		}
    		v = v<<2 | v>>30
    	}
    
    	return false
    }
    
    // overlap reports whether the ranges given by the given offset and
    // size pairs overlap.
    func overlap(offset1, size1, offset2, size2 int64) bool {
    	if offset1 >= offset2 && offset2+size2 > offset1 {
    		return true
    	}
    	if offset2 >= offset1 && offset1+size1 > offset2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  2. pkg/apis/batch/validation/validation.go

    			}
    		} else {
    			// We have one failed and one completed interval parsed.
    			if cX <= fY && fX <= cY {
    				return fmt.Errorf("failedIndexes and completedIndexes overlap at index: %d", max(cX, fX))
    			}
    			// No overlap, let's move to the next one.
    			if cX <= fX {
    				completedPos++
    				if completedPos < len(completedIndexesIntervals) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 16:43:24 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  3. src/debug/elf/file_test.go

    	if err != nil {
    		t.Error(err)
    		return
    	}
    	for i, si := range f.Sections {
    		sih := si.SectionHeader
    		if sih.Type == SHT_NOBITS {
    			continue
    		}
    		// checking for overlap in file
    		for j, sj := range f.Sections {
    			sjh := sj.SectionHeader
    			if i == j || sjh.Type == SHT_NOBITS || sih.Offset == sjh.Offset && sih.FileSize == 0 {
    				continue
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 60.1K bytes
    - Viewed (0)
  4. src/cmd/dist/test.go

    		defer timelog("end", dt.name)
    		ranGoBench = true
    		return (&goTest{
    			variant:     "racebench",
    			omitVariant: true,               // The only execution of benchmarks in dist; benchmark names are guaranteed not to overlap with test names.
    			timeout:     1200 * time.Second, // longer timeout for race with benchmarks
    			race:        true,
    			bench:       true,
    			cpu:         "4",
    			pkgs:        benchMatches,
    		}).run(t)
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_test.go

    							},
    						},
    					},
    				},
    			},
    			disallowedIssuers: []string{"a", "b", "https://issuer-url", "c"},
    			want:              `jwt[0].issuer.url: Invalid value: "https://issuer-url": URL must not overlap with disallowed issuers: [a b c https://issuer-url]`,
    		},
    		{
    			name: "valid authentication configuration that uses unverified email",
    			in: &api.AuthenticationConfiguration{
    				JWT: []api.JWTAuthenticator{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    		var celContext *CELSchemaContext
    		var structuralSchemaInitErrs field.ErrorList
    		if opts.requireStructuralSchema {
    			if ss, err := structuralschema.NewStructural(schema); err != nil {
    				// These validation errors overlap with  OpenAPISchema validation errors so we keep track of them
    				// separately and only show them if OpenAPISchema validation does not report any errors.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/httproute_test.go

    				MeshExternal: true,
    			},
    			port: 7777,
    			node: &model.Proxy{
    				DNSDomain: "tests.svc.my.long.domain.suffix",
    			},
    			want: []string{"aaa.example.my.long"},
    		},
    		{
    			name: "no overlap of cluster domain in address",
    			service: &model.Service{
    				Hostname:     "aaa.example.com",
    				MeshExternal: true,
    			},
    			port: 7777,
    			node: &model.Proxy{
    				DNSDomain: "tests.svc.cluster.local",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  8. src/net/netip/netip_test.go

    		}
    		// Overlaps is commutative
    		if got := tt.b.Overlaps(tt.a); got != tt.want {
    			t.Errorf("%d. (%v).Overlaps(%v) = %v; want %v", i, tt.b, tt.a, got, tt.want)
    		}
    	}
    }
    
    // Sink variables are here to force the compiler to not elide
    // seemingly useless work in benchmarks and allocation tests. If you
    // were to just `_ = foo()` within a test function, the compiler could
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 54.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

        if value is None:
          return {TFRTypes.NONE}
        if value in (TFRTypes.SHAPE, TFRTypes.TF_TENSOR_SHAPE_FUNC):
          # See TFRTypes.__getattribute__.
          # TODO(mdan): Replacing the enum with classes would avoid this overlap.
          return {value}
        # TODO(mdan): Index more efficiently. Could do a name check instead.
        if any(v is value for v in AG_MODULE.__dict__.values()):
          return {TFRTypes.AG_BUILTIN_FUNC}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  10. src/net/http/fs_test.go

    	}
    
    	out, _ := io.ReadAll(res.Body)
    	res.Body.Close()
    
    	if g, e := res.StatusCode, 416; g != e {
    		t.Errorf("got status = %d; want %d", g, e)
    	}
    	if g, e := string(out), "invalid range: failed to overlap\n"; g != e {
    		t.Errorf("got body = %q; want %q", g, e)
    	}
    	if g, e := res.Header.Get("Content-Type"), "text/plain; charset=utf-8"; g != e {
    		t.Errorf("got content-type = %q, want %q", g, e)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
Back to top