Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for resultsMap (0.18 sec)

  1. schema/utils.go

    	resultsMap := map[string][]reflect.Value{}
    	results := [][]interface{}{}
    
    	for _, v := range values {
    		rm, rs := GetIdentityFieldValuesMap(ctx, reflect.Indirect(reflect.ValueOf(v)), fields)
    		for k, v := range rm {
    			resultsMap[k] = append(resultsMap[k], v...)
    		}
    		results = append(results, rs...)
    	}
    	return resultsMap, results
    }
    
    // ToQueryValues to query values
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat Aug 19 13:35:14 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

            assertEquals("fess.update", resultMap.get("index"));
            assertEquals(id, resultMap.get("id"));
            assertEquals(field, resultMap.get("field"));
            assertEquals(value, resultMap.get("value"));
        }
    
        public void test_deleteDocument() {
            final Map<String, String> resultMap = new HashMap<>();
            final SearchEngineClient client = new SearchEngineClient() {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 23.3K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirAnnotationValueConverter.kt

                            if ((classSymbol.fir as? FirClass)?.classKind == ClassKind.ANNOTATION_CLASS) {
                                val resultMap = mutableMapOf<Name, FirExpression>()
                                resolvedArgumentMapping?.entries?.forEach { (arg, param) ->
                                    resultMap[param.name] = arg
                                }
    
                                KtAnnotationApplicationValue(
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  4. cmd/peer-s3-client.go

    				continue
    			}
    			for _, bi := range buckets {
    				_, ok := resultMap[bi.Name]
    				if ok {
    					// Skip it, this bucket is found in another pool
    					continue
    				}
    				bucketsMap[bi.Name]++
    				if bucketsMap[bi.Name] >= quorum {
    					resultMap[bi.Name] = bi
    				}
    			}
    		}
    		// loop through buckets and see if some with lost quorum
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  5. cni/pkg/repair/monitoring.go

    )
    
    var (
    	typeLabel  = monitoring.CreateLabel("type")
    	deleteType = "delete"
    	repairType = "repair"
    	labelType  = "label"
    
    	resultLabel   = monitoring.CreateLabel("result")
    	resultSuccess = "success"
    	resultSkip    = "skip"
    	resultFail    = "fail"
    
    	podsRepaired = monitoring.NewSum(
    		"istio_cni_repair_pods_repaired_total",
    		"Total number of pods repaired by repair controller",
    	)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 1K bytes
    - Viewed (0)
  6. cni/pkg/repair/repaircontroller.go

    	repairLog.Infof("Pod detected as broken, adding label: %s/%s", pod.Namespace, pod.Name)
    
    	labels := pod.GetLabels()
    	if _, ok := labels[c.cfg.LabelKey]; ok {
    		m.With(resultLabel.Value(resultSkip)).Increment()
    		repairLog.Infof("Pod %s/%s already has label with key %s, skipping", pod.Namespace, pod.Name, c.cfg.LabelKey)
    		return nil
    	}
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  7. cni/pkg/repair/repair_test.go

    			},
    			wantLabels: map[string]string{workingPod.Name: "", workingPodDiedPreviously.Name: "", brokenPodTerminating.Name: "testlabel=true"},
    			wantCount:  1,
    			wantTags:   map[string]string{"result": resultSkip, "type": labelType},
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			mt := monitortest.New(t)
    			tt.config.LabelPods = true
    			c, err := NewRepairController(tt.client, tt.config)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Oct 24 03:31:28 GMT 2023
    - 10.6K bytes
    - Viewed (0)
Back to top