Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for Symnum (0.32 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. src/cmd/link/internal/loadmacho/ldmacho.go

    				secaddr := c.seg.sect[rel.symnum-1].addr
    				rAdd -= int64(secaddr)
    			}
    
    			if rel.extrn == 0 {
    				if rel.symnum < 1 || rel.symnum > c.seg.nsect {
    					return errorf("invalid relocation: section reference out of range %d vs %d", rel.symnum, c.seg.nsect)
    				}
    
    				rSym = c.seg.sect[rel.symnum-1].sym
    				if rSym == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 12 18:45:57 UTC 2022
    - 19.1K 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. 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)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultAttributesSchemaTest.groovy

                String,
                Number,
                MyEnum,
                Flavor
            ]
        }
    
        def "can create an attribute of array type #type"() {
            when:
            Attribute.of('foo', type)
    
            then:
            noExceptionThrown()
    
            where:
            type << [
                String[].class,
                Number[].class,
                MyEnum[].class,
                Flavor[].class
            ]
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  10. subprojects/core-api/src/test/groovy/org/gradle/model/internal/core/ModelTypeTest.groovy

        }
    
        enum MyEnum {
            ONE, TWO
        }
    
        enum MyEnumWithClassBodies {
            ONE {
                int execute() { return 1 }
            },
            TWO {
                int execute() { return 2 }
            }
    
            abstract int execute()
        }
    
        def "represents enums"() {
            given:
            def enumType = MyEnum.class
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 11 21:42:04 UTC 2018
    - 22.3K bytes
    - Viewed (0)
Back to top