- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for check_value (0.12 sec)
-
src/crypto/internal/boring/build-goboring.sh
#define check_size(t) if(sizeof(t) != sizeof(GO_ ## t)) {printf("sizeof(" #t ")=%d, but sizeof(GO_" #t ")=%d\n", (int)sizeof(t), (int)sizeof(GO_ ## t)); ret=1;} #define check_func(f) { auto x = f; x = _goboringcrypto_ ## f ; } #define check_value(n, v) if(n != v) {printf(#n "=%d, but goboringcrypto.h defines it as %d\n", (int)n, (int)v); ret=1;} int main() { int ret = 0; #include "goboringcrypto.x" return ret; } EOF cat >boringx.awk <<'EOF' BEGIN {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 26 22:52:27 UTC 2024 - 5.6K bytes - Viewed (0) -
operator/pkg/validate/validate_values_test.go
err := yaml.Unmarshal([]byte(tt.yamlStr), &root) if err != nil { t.Fatalf("yaml.Unmarshal(%s): got error %s", tt.desc, err) } errs := CheckValues(util.MustStruct(root)) if gotErr, wantErr := errs, tt.wantErrs; !util.EqualErrors(gotErr, wantErr) { t.Errorf("CheckValues(%s)(%v): gotErr:%s, wantErr:%s", tt.desc, tt.yamlStr, gotErr, wantErr) } }) } } func TestValidateValuesFromProfile(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 13:43:12 UTC 2024 - 6K bytes - Viewed (0) -
test/heapsampling.go
for i, w := range size { ln := firstLine + i if err := checkValue(frames[0], ln, "objects", count, objectsPerLine[ln]); err != nil { return err } if err := checkValue(frames[0], ln, "bytes", count*w, bytesPerLine[ln]); err != nil { return err } } return checkValue(frames[0], 0, "total", count*int64(len(size)), totalCount) } // checkValue checks an unsampled value against its expected value.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 27 21:36:06 UTC 2022 - 9.7K bytes - Viewed (0) -
operator/pkg/validate/validate_values.go
"global.proxy.excludeInboundPorts": validateStringList(validatePortNumberString), "meshConfig": validateMeshConfig, } // CheckValues validates the values in the given tree, which follows the Istio values.yaml schema. func CheckValues(root any) util.Errors { v := reflect.ValueOf(root) if root == nil || (v.Kind() == reflect.Ptr && v.IsNil()) { return nil } vs, err := util.ToYAMLGeneric(root)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 2.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/EnumBiMap.java
@GwtIncompatible public Class<V> valueType() { return valueTypeOrObjectUnderJ2cl; } @Override K checkKey(K key) { return checkNotNull(key); } @Override V checkValue(V value) { return checkNotNull(value); } /** * @serialData the key class, value class, number of entries, first key, first value, second key, * second value, and so on. */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Aug 24 01:40:03 UTC 2023 - 6.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/EnumBiMap.java
@GwtIncompatible public Class<V> valueType() { return valueTypeOrObjectUnderJ2cl; } @Override K checkKey(K key) { return checkNotNull(key); } @Override V checkValue(V value) { return checkNotNull(value); } /** * @serialData the key class, value class, number of entries, first key, first value, second key, * second value, and so on. */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Aug 24 01:40:03 UTC 2023 - 6.3K bytes - Viewed (0) -
operator/pkg/validate/validate.go
) var ( // DefaultValidations maps a data path to a validation function. DefaultValidations = map[string]ValidatorFunc{ "Values": func(path util.Path, i any) util.Errors { return CheckValues(i) }, "MeshConfig": validateMeshConfig, "Hub": validateHub, "Tag": validateTag, "Revision": validateRevision,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jan 12 16:04:15 UTC 2023 - 7.7K bytes - Viewed (0)