- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 444 for Cmp (0.07 sec)
-
guava-tests/test/com/google/common/collect/TopKSelectorTest.java
int k = 200000; final long[] compareCalls = {0}; Comparator<Integer> cmp = new Comparator<Integer>() { @Override public int compare(Integer o1, Integer o2) { compareCalls[0]++; return o1.compareTo(o2); } }; TopKSelector<Integer> top = TopKSelector.least(k, cmp); top.offer(1); for (int i = 1; i < n; i++) { top.offer(0);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Mar 07 18:34:03 UTC 2024 - 3.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_run_pkg_version.txt
# replace or exclude directives. go mod download example.com/cmd@v1.0.0-replace ! go run example.com/cmd/a@v1.0.0-replace cmp stderr replace-err go mod download example.com/cmd@v1.0.0-exclude ! go run example.com/cmd/a@v1.0.0-exclude cmp stderr exclude-err # 'go run dir@version' works like a normal 'go run' command if # dir is a relative or absolute path. go mod download rsc.io/fortune@v1.0.0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 17:25:54 UTC 2024 - 4.4K bytes - Viewed (0) -
pkg/registry/core/persistentvolume/storage/storage_test.go
See the License for the specific language governing permissions and limitations under the License. */ package storage import ( "context" "testing" "time" "github.com/google/go-cmp/cmp" apiequality "k8s.io/apimachinery/pkg/api/equality" "k8s.io/apimachinery/pkg/api/resource" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/fields" "k8s.io/apimachinery/pkg/labels"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 7.4K bytes - Viewed (0) -
src/crypto/internal/nistec/p256_asm_arm64.s
loop_select: ADD $1, t2 CMP t0, t2 LDP.P 16(t1), (acc0, acc1) CSEL EQ, acc0, x0, x0 CSEL EQ, acc1, x1, x1 LDP.P 16(t1), (acc2, acc3) CSEL EQ, acc2, x2, x2 CSEL EQ, acc3, x3, x3 LDP.P 16(t1), (acc4, acc5) CSEL EQ, acc4, y0, y0 CSEL EQ, acc5, y1, y1 LDP.P 16(t1), (acc6, acc7) CSEL EQ, acc6, y2, y2 CSEL EQ, acc7, y3, y3 CMP $32, t2 BNE loop_select
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:29:44 UTC 2024 - 29.7K bytes - Viewed (0) -
src/cmd/go/testdata/script/list_pgo_issue66218.txt
# the non-pgo variant's slice when it modifies the pgo variant's Imports field to # add the [.ForMain] suffix. go list -f 'ImportPath: "{{.ImportPath}}", Imports: "{{.Imports}}", ImportMap: "{{.ImportMap}}"' m/a m/b cmp stdout want -- want -- ImportPath: "m/a", Imports: "[m/b [m/a]]", ImportMap: "map[m/b:m/b [m/a]]" ImportPath: "m/b", Imports: "[m/c]", ImportMap: "map[]" -- go.mod -- module m go 1.23 -- a/a.go --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 28 17:00:51 UTC 2024 - 615 bytes - Viewed (0) -
src/math/big/int.go
} } return z, m } // Cmp compares x and y and returns: // // -1 if x < y // 0 if x == y // +1 if x > y func (x *Int) Cmp(y *Int) (r int) { // x cmp y == x cmp y // x cmp (-y) == x // (-x) cmp y == y // (-x) cmp (-y) == -(x cmp y) switch { case x == y: // nothing to do case x.neg == y.neg: r = x.abs.cmp(y.abs) if x.neg { r = -r }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 14 17:02:38 UTC 2024 - 33.1K bytes - Viewed (0) -
pilot/pkg/security/authz/model/generator_test.go
// limitations under the License. package model import ( "testing" rbacpb "github.com/envoyproxy/go-control-plane/envoy/config/rbac/v3" "github.com/google/go-cmp/cmp" "google.golang.org/protobuf/proto" "google.golang.org/protobuf/testing/protocmp" "istio.io/istio/pkg/util/protomarshal" ) func TestRequestPrincipal(t *testing.T) { cases := []struct { in string
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 20 01:58:53 UTC 2024 - 13K bytes - Viewed (0) -
pkg/config/mesh/mesh_test.go
// See the License for the specific language governing permissions and // limitations under the License. package mesh_test import ( "fmt" "testing" "github.com/google/go-cmp/cmp" "google.golang.org/protobuf/testing/protocmp" "google.golang.org/protobuf/types/known/wrapperspb" meshconfig "istio.io/api/mesh/v1alpha1" "istio.io/istio/pkg/config/mesh"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 11.7K bytes - Viewed (0) -
pkg/adsc/delta_test.go
discovery "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v3" "github.com/envoyproxy/go-control-plane/pkg/wellknown" "github.com/google/go-cmp/cmp" "google.golang.org/grpc" "google.golang.org/protobuf/testing/protocmp" authn_model "istio.io/istio/pilot/pkg/security/model" "istio.io/istio/pilot/pkg/util/protoconv" v3 "istio.io/istio/pilot/pkg/xds/v3"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 02 09:32:41 UTC 2024 - 13.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_edit.txt
# go mod edit -json (retractions with rationales) go mod edit -json $WORK/go.mod.retractrationale cmp stdout $WORK/go.mod.retractrationale.json # go mod edit -json (deprecation) go mod edit -json $WORK/go.mod.deprecation cmp stdout $WORK/go.mod.deprecation.json # go mod edit -json (empty mod file) go mod edit -json $WORK/go.mod.empty cmp stdout $WORK/go.mod.empty.json # go mod edit -replace
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 13:52:10 UTC 2024 - 6.6K bytes - Viewed (0)