Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Symnum (0.24 sec)

  1. src/debug/macho/file.go

    				rel.Pcrel = ri.Addr&(1<<30) != 0
    				rel.Value = ri.Symnum
    				rel.Scattered = true
    			} else {
    				switch bo {
    				case binary.LittleEndian:
    					rel.Addr = ri.Addr
    					rel.Value = ri.Symnum & (1<<24 - 1)
    					rel.Pcrel = ri.Symnum&(1<<24) != 0
    					rel.Len = uint8((ri.Symnum >> 25) & (1<<2 - 1))
    					rel.Extern = ri.Symnum&(1<<27) != 0
    					rel.Type = uint8((ri.Symnum >> 28) & (1<<4 - 1))
    				case binary.BigEndian:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  2. platforms/core-runtime/build-option/src/test/groovy/org/gradle/internal/buildoption/EnumBuildOptionTest.groovy

        }
    
        interface Dummy {
            void accept(MyEnum value)
        }
    
        static class MyEnumBuildOption extends EnumBuildOption<MyEnum, Dummy> {
    
            MyEnumBuildOption() {
                super("my option", MyEnum, MyEnum.values(), "test")
            }
    
            @Override
            void applyTo(MyEnum value, Dummy settings, Origin origin) {
                settings.accept(value)
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:02:02 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java

            final BeanDesc beanDesc = BeanDescFactory.getBeanDesc(MyDto.class);
            final PropertyDesc pd = beanDesc.getPropertyDesc("myEnum");
            final MyDto dto = new MyDto();
            pd.setValue(dto, "ONE");
            assertEquals(MyEnum.ONE, dto.myEnum);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetBeanDesc() throws Exception {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. tensorflow/cc/framework/gradient_checker.cc

      }
      OutputList dxs;
      TF_RETURN_IF_ERROR(AddSymbolicGradients(scope, ys, xs, dys, &dxs));
    
      // Initialize 'dy_data' to zeros.
      std::vector<Tensor> dy_datas(y_num);
      for (int i = 0; i < y_num; i++) {
        dy_datas[i] = Tensor(ys[i].type(), y_shapes[i]);
        auto dy_data_flat = dy_datas[i].flat<Y_T>();
        dy_data_flat.setZero();
      }
    
      // Create the feed list.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  5. tests/test_jsonable_encoder.py

    
    def test_custom_enum_encoders():
        def custom_enum_encoder(v: Enum):
            return v.value.lower()
    
        class MyEnum(Enum):
            ENUM_VAL_1 = "ENUM_VAL_1"
    
        instance = MyEnum.ENUM_VAL_1
    
        encoded_instance = jsonable_encoder(
            instance, custom_encoder={MyEnum: custom_enum_encoder}
        )
        assert encoded_instance == custom_enum_encoder(instance)
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/localDeclarations.kt

            fun xEnumMember(){}
        }
    
        class Y <YT> {
            val yProperty = 10
            fun yFunction() = 11
            typealias yTypealias = 10
            class YClass<YTT> {}
            enum class YEnum {
                Y_ENUM_ENTRY;
    
                fun yEnumMember(){}
    
            }
            init {
                println("init block in local class")
            }
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 26 19:19:00 UTC 2022
    - 509 bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyAssignmentIntegrationTest.groovy

            "String = Object"                               | "String"   | 'new MyObject("hello")'                  | "hello"
            "Enum = String"                                 | "MyEnum"   | '"YES"'                                  | "YES"
            "File = T extends FileSystemLocation"           | "File"     | 'layout.buildDirectory.dir("out").get()' | unsupportedWithCause("Cannot cast object")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 28 14:39:49 UTC 2023
    - 36.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/binding/DefaultStructBindingsStoreTest.groovy

            bindings.methodBindings*.implementerMethod*.method*.returnType == [Integer, Integer]
        }
    
        static enum MyEnum {
            A, B, C
        }
    
        @Managed
        static interface HasUnmanagedOnManaged {
            @Unmanaged
            MyEnum getMyEnum();
            void setMyEnum(MyEnum myEnum)
        }
    
        def "cannot annotate managed type property with unmanaged"() {
            when: extract HasUnmanagedOnManaged
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

          return isSubtype(listOfEnums);
        }
    
        @TestSubtype(suppressGetSupertype = true, suppressGetSubtype = true)
        public List<Enum<? extends Enum<?>>> listOfSubEnumsIsNotSubtypeOfListOfEnums(
            List<MyEnum> listOfEnums) {
          return notSubtype(listOfEnums);
        }
    
        @TestSubtype(suppressGetSupertype = true, suppressGetSubtype = true)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

          return isSubtype(listOfEnums);
        }
    
        @TestSubtype(suppressGetSupertype = true, suppressGetSubtype = true)
        public List<Enum<? extends Enum<?>>> listOfSubEnumsIsNotSubtypeOfListOfEnums(
            List<MyEnum> listOfEnums) {
          return notSubtype(listOfEnums);
        }
    
        @TestSubtype(suppressGetSupertype = true, suppressGetSubtype = true)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 20.3K bytes
    - Viewed (0)
Back to top