Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,291 for enum1 (0.14 sec)

  1. src/crypto/internal/boring/build-goboring.sh

    /^\/\// || /^#/ || NF == 0 { next }
    
    # Ignore unchecked declarations.
    /\/\*unchecked/ { next }
    
    # Check enum values.
    !enum && ($1 == "enum" || $2 == "enum") && $NF == "{" {
    	enum = 1
    	next
    }
    enum && $1 == "};" {
    	enum = 0
    	next
    }
    enum && /^}.*;$/ {
    	enum = 0
    	next
    }
    enum && NF == 3 && $2 == "=" {
    	name = $1
    	sub(/^GO_/, "", name)
    	val = $3
    	sub(/,$/, "", val)
    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. staging/src/k8s.io/apiserver/pkg/util/openapi/enablement_test.go

    				if strings.Contains(prop.Description, "enum") {
    					enumAppeared = true
    					if !tc.shouldHaveEnum {
    						t.Errorf("enum appeared, description: %s", prop.Description)
    					}
    				}
    				if len(prop.Enum) != 0 {
    					enumAppeared = true
    					if !tc.shouldHaveEnum {
    						t.Errorf("enum appeared, enum: %v", prop.Enum)
    					}
    				}
    			}
    			if !enumAppeared && tc.shouldHaveEnum {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go

    					"updating validating field num2 to another validating value, but rachet invalid field num1",
    					myCRDV1Beta1, myCRDInstanceName, map[string]interface{}{
    						"nums": map[string]interface{}{
    							"num1": 1,
    							"num2": 2000,
    						},
    					}},
    				expectError{applyPatchOperation{
    					"update field num1 to different invalid value",
    					myCRDV1Beta1, myCRDInstanceName, map[string]interface{}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 59.5K bytes
    - Viewed (0)
  4. analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/enumDecl.kt

    <expr>enum class Enum(val i: Int) {
        TEST(45),
        PROBE(45),
        SONDE(45)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 05 15:06:52 UTC 2022
    - 87 bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/quantization_options.proto

      // NEXT ID: 4
      enum QuantizationComponent {
        COMPONENT_UNSPECIFIED = 0;
        COMPONENT_ACTIVATION = 1;
        COMPONENT_WEIGHT = 2;
        COMPONENT_BIAS = 3;
      }
    
      // NEXT ID: 5
      enum BitWidth {
        BIT_WIDTH_UNSPECIFIED = 0;
        BIT_WIDTH_4 = 1;
        BIT_WIDTH_8 = 2;
        BIT_WIDTH_16 = 3;
        BIT_WIDTH_32 = 4;
      }
    
      // NEXT ID: 4
      enum BitType {
        BIT_TYPE_UNSPECIFIED = 0;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 22 02:20:05 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/EnumValueSnapshot.java

                return this;
            }
            return snapshotter.snapshot(value);
        }
    
        private boolean isEqualEnum(@Nullable Object value) {
            if (value instanceof Enum<?>) {
                Enum<?> enumValue = (Enum<?>) value;
                return enumValue.name().equals(name) && enumValue.getDeclaringClass().getName().equals(className);
            }
            return false;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:30:43 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/enumDeclConstructor.kt

    enum class Enum(val i: Int) {
    
        TEST(45),
        PROBE(45),
        SONDE(45);
    
        <expr>constructor(x: String) : this(x.length)</expr>
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 05 15:06:52 UTC 2022
    - 135 bytes
    - Viewed (0)
  8. analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/enumDeclArg.kt

    enum class Enum(val i: Int) {
        TEST(<expr>45</expr>),
        PROBE(45),
        SONDE(45)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 05 15:06:52 UTC 2022
    - 87 bytes
    - Viewed (0)
  9. tensorflow/cc/framework/scope_internal.h

      // Tag types to choose the constructor to dispatch.
      struct Tags {
        enum class ScopeName;
        enum class OpName;
        enum class ControlDeps;
        enum class Device;
        enum class SingleUseScope;
        enum class ExitOnError;
        enum class KernelLabel;
        enum class Colocate;
        enum class AssignedDevice;
        enum class XlaCluster;
      };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 15:46:43 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableEnumSet.java

     */
    @GwtCompatible(serializable = true, emulated = true)
    @SuppressWarnings("serial") // we're overriding default serialization
    @ElementTypesAreNonnullByDefault
    final class ImmutableEnumSet<E extends Enum<E>> extends ImmutableSet<E> {
      static <E extends Enum<E>> ImmutableSet<E> asImmutable(EnumSet<E> set) {
        switch (set.size()) {
          case 0:
            return ImmutableSet.of();
          case 1:
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top