Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for check_value (0.25 sec)

  1. 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)
  2. android/guava/src/com/google/common/collect/AbstractBiMap.java

         */
    
        @Override
        @ParametricNullness
        K checkKey(@ParametricNullness K key) {
          return inverse.checkValue(key);
        }
    
        @Override
        @ParametricNullness
        V checkValue(@ParametricNullness V value) {
          return inverse.checkKey(value);
        }
    
        /**
         * @serialData the forward bimap
         */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. guava/src/com/google/common/collect/AbstractBiMap.java

         */
    
        @Override
        @ParametricNullness
        K checkKey(@ParametricNullness K key) {
          return inverse.checkValue(key);
        }
    
        @Override
        @ParametricNullness
        V checkValue(@ParametricNullness V value) {
          return inverse.checkKey(value);
        }
    
        /**
         * @serialData the forward bimap
         */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  6. 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)
  7. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

            String key = "m2.name";
            String checkValue = "value";
    
            MavenProject project = createDefaultProject();
            project.getModel().getProperties().setProperty(key, checkValue);
    
            ExpressionEvaluator ee = createExpressionEvaluator(project, new Properties());
    
            Object value = ee.evaluate("${" + key + "}");
    
            assertEquals(checkValue, value);
        }
    
        @Test
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

        }
    
        @Test
        void testPOMPropertyExtractionWithMissingProject_WithDotNotation() throws Exception {
            String key = "m2.name";
            String checkValue = "value";
    
            Properties properties = new Properties();
            properties.setProperty(key, checkValue);
    
            Model model = new Model();
            model.setProperties(properties);
    
            MavenProject project = new MavenProject(model);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Dec 05 08:11:33 UTC 2023
    - 18.6K bytes
    - Viewed (0)
  9. src/context/x_test.go

    		t.Errorf("ctx.String() = %q want prefix %q", s, prefix)
    	}
    	t.Log(ctx)
    	checkValues("before cancel")
    	if testTimeout {
    		d := quiescent(t)
    		timer := time.NewTimer(d)
    		defer timer.Stop()
    		select {
    		case <-ctx.Done():
    		case <-timer.C:
    			errorf("ctx should have timed out after %v", d)
    		}
    		checkValues("after timeout")
    	} else {
    		cancel := cancels[r.Intn(len(cancels))]
    		cancel()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  10. 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)
Back to top