Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 81 for set_field (0.17 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/value.go

    			return ntvObjPtr.Interface(), nil
    		}
    		return ntvObj.Interface(), nil
    	}
    	return nil, fmt.Errorf("type conversion error from object to '%v'", typeDesc)
    }
    
    // GetField returns a MapField by name if one exists.
    func (sv *structValue) GetField(name string) (*Field, bool) {
    	field, found := sv.fieldMap[name]
    	return field, found
    }
    
    // IsSet returns whether the given field, which is defined, has also been set.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 20.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/ClassUtil.java

         *             指定された名前のフィールドが見つからない場合
         * @see Class#getField(String)
         */
        public static Field getField(final Class<?> clazz, final String name) throws NoSuchFieldRuntimeException {
            assertArgumentNotNull("clazz", clazz);
            assertArgumentNotEmpty("name", name);
    
            try {
                return clazz.getField(name);
            } catch (final NoSuchFieldException e) {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  3. tests/scan_test.go

    	}
    }
    
    func TestScanRowsNullValuesScanToFieldDefault(t *testing.T) {
    	DB.Save(&User{})
    
    	rows, err := DB.Table("users").
    		Select(`
    			NULL AS bool_field,
    			NULL AS int_field,
    			NULL AS int8_field,
    			NULL AS int16_field,
    			NULL AS int32_field,
    			NULL AS int64_field,
    			NULL AS uint_field,
    			NULL AS uint8_field,
    			NULL AS uint16_field,
    			NULL AS uint32_field,
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. src/fmt/print.go

    	p := newPrinter()
    	p.doPrintln(a)
    	b = append(b, p.buf...)
    	p.free()
    	return b
    }
    
    // getField gets the i'th field of the struct value.
    // If the field itself is a non-nil interface, return a value for
    // the thing inside the interface, not the interface itself.
    func getField(v reflect.Value, i int) reflect.Value {
    	val := v.Field(i)
    	if val.Kind() == reflect.Interface && !val.IsNil() {
    		val = val.Elem()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

        public Inner field;
    
        class Inner {}
      }
    
      public void testInnerClassWithParameterizedOwner() throws Exception {
        Type fieldType = ParameterizedOuter.class.getField("field").getGenericType();
        assertEquals(
            fieldType, TypeToken.of(ParameterizedOuter.class).resolveType(fieldType).getType());
      }
    
      private interface StringIterable extends Iterable<String> {}
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

        public Inner field;
    
        class Inner {}
      }
    
      public void testInnerClassWithParameterizedOwner() throws Exception {
        Type fieldType = ParameterizedOuter.class.getField("field").getGenericType();
        assertEquals(
            fieldType, TypeToken.of(ParameterizedOuter.class).resolveType(fieldType).getType());
      }
    
      private interface StringIterable extends Iterable<String> {}
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            this.userBoost = userBoost;
        }
    
        public void setReadings(final String[][] readings) {
            this.readings = readings;
        }
    
        public void setFields(final String[] fields) {
            this.fields = fields;
        }
    
        public void setTags(final String[] tags) {
            this.tags = tags;
        }
    
        public void setRoles(final String[] roles) {
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGenerator.java

    import static org.objectweb.asm.Opcodes.CHECKCAST;
    import static org.objectweb.asm.Opcodes.DCONST_0;
    import static org.objectweb.asm.Opcodes.DUP;
    import static org.objectweb.asm.Opcodes.FCONST_0;
    import static org.objectweb.asm.Opcodes.GETFIELD;
    import static org.objectweb.asm.Opcodes.GETSTATIC;
    import static org.objectweb.asm.Opcodes.GOTO;
    import static org.objectweb.asm.Opcodes.ICONST_0;
    import static org.objectweb.asm.Opcodes.ICONST_1;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 55.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

                    continue;
                }
                if (hasPropertyDesc(fname)) {
                    final PropertyDescImpl pd = (PropertyDescImpl) propertyDescCache.get(field.getName());
                    pd.setField(field);
                    continue;
                }
                if (FieldUtil.isPublicField(field)) {
                    final PropertyDescImpl pd = new PropertyDescImpl(field.getName(), field.getType(), null, null, field, this);
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  10. src/reflect/all_test.go

    		{setField(struct{ _, a, _ uintptr }{}, 0*unsafe.Sizeof(uintptr(0)), 1), true},
    		{setField(struct{ _, a, _ uintptr }{}, 1*unsafe.Sizeof(uintptr(0)), 1), false},
    		{setField(struct{ _, a, _ uintptr }{}, 2*unsafe.Sizeof(uintptr(0)), 1), true},
    		{struct{ _, a, _ func() }{}, true}, // incomparable struct with blank fields
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
Back to top