Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 81 for set_field (0.27 sec)

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

    	}
    	if !reflect.DeepEqual(none, map[interface{}]interface{}{}) {
    		t.Errorf("got %v, wanted empty map", none)
    	}
    	mv.AddField(NewField(1, "Test"))
    	tst, _ := mv.GetField("Test")
    	tst.Ref = testValue(t, 2, uint64(12))
    	mv.AddField(NewField(3, "Check"))
    	chk, _ := mv.GetField("Check")
    	chk.Ref = testValue(t, 4, uint64(34))
    	if mv.Size() != types.Int(2) {
    		t.Errorf("got size %d, wanted 2", mv.Size())
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/UpgradeUtil.java

                final String source) {
            final GetFieldMappingsResponse gfmResponse = indicesClient.prepareGetFieldMappings(index).setFields(field).execute().actionGet();
            final FieldMappingMetadata fieldMappings = gfmResponse.fieldMappings(index, field);
            if (fieldMappings == null) {
                try {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/query/QueryFieldConfig.java

        public static final String SCORE_FIELD = "score";
    
        public static final String DOC_SCORE_FIELD = "_score";
    
        public static final String SITE_FIELD = "site";
    
        public static final String INURL_FIELD = "inurl";
    
        protected static final String SCORE_SORT_VALUE = "score";
    
        protected String[] responseFields;
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types/type.go

    func (t *Type) Fields() []*Field { return t.fields().Slice() }
    
    // setFields sets struct type t's fields to fields.
    func (t *Type) setFields(fields []*Field) {
    	// If we've calculated the width of t before,
    	// then some other type such as a function signature
    	// might now have the wrong type.
    	// Rather than try to track and invalidate those,
    	// enforce that SetFields cannot be called once
    	// t's width has been calculated.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/PropertyDesc.java

         *
         * @return プロパティの値が設定できるかどうか
         */
        boolean isWritable();
    
        /**
         * プロパティとして認識しているpublicフィールドを返します。
         *
         * @return プロパティとして認識するpublicフィールド
         */
        Field getField();
    
        /**
         * プロパティの値を返します。
         *
         * @param <T>
         *            プロパティの型
         * @param target
         *            ターゲットオブジェクト。{@literal null}であってはいけません
         * @return プロパティの値
         */
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. fastapi/_compat.py

                field.type_, BaseModel
            ):
                if field.sub_fields is not None:  # type: ignore[attr-defined]
                    for sub_field in field.sub_fields:  # type: ignore[attr-defined]
                        if not is_pv1_scalar_field(sub_field):
                            return False
                return True
            if _annotation_is_sequence(field.type_):
                return True
            return False
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                flist.add(new FunctionScoreQueryBuilder.FilterFunctionBuilder(ScoreFunctionBuilders.randomFunction()
                        .seed(ComponentUtil.getSystemHelper().getCurrentTimeAsLong()).setField(fessConfig.getIndexFieldDocId())));
                reader.setQuery(QueryBuilders
                        .functionScoreQuery(QueryBuilders.matchAllQuery(),
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/normalization/KotlinApiClassExtractorTest.kt

        }
    
        fun callOnObjectIntance(methodName: String): Any {
            val loadedClass = loadClass()
            val method = loadedClass.getMethod(methodName)
            val instance = loadedClass.getField("INSTANCE")
            return method.invoke(instance.get(loadedClass))
        }
    }
    
    
    private
    class BytesClassLoader : URLClassLoader(arrayOf(), getSystemClassLoader()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:56 UTC 2023
    - 12K bytes
    - Viewed (0)
  9. src/go/parser/parser_test.go

    			continue
    		}
    		for j, exp := range exp {
    			got := got[j].Text
    			if got != exp {
    				t.Errorf("got %q in group %d; expected %q", got, i, exp)
    			}
    		}
    	}
    }
    
    func getField(file *ast.File, fieldname string) *ast.Field {
    	parts := strings.Split(fieldname, ".")
    	for _, d := range file.Decls {
    		if d, ok := d.(*ast.GenDecl); ok && d.Tok == token.TYPE {
    			for _, s := range d.Specs {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 20:26:14 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  10. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/report/TestPageGenerator.java

                this.label = label;
                this.unit = unit;
                this.chartId = chartId;
                this.renderBackground = renderBackground;
            }
    
            public String getField() {
                return field;
            }
    
            public String getLabel() {
                return label;
            }
    
            public String getUnit() {
                return unit;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top