Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for resultsMap (0.06 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
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Aug 19 13:35:14 UTC 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() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 08:54:24 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java

                    "baz", new String[] { "eee", "fff" });
            final Map<String, Object> resultMap = transformer.processFieldConfigs(dataMap, fieldConfigs);
            assertEquals("aaa", ((String[]) resultMap.get("foo"))[0]);
            assertEquals("bbb", ((String[]) resultMap.get("foo"))[1]);
            assertEquals("ddd", resultMap.get("bar"));
            assertEquals("fff", resultMap.get("baz"));
        }
    
        private FessFileTransformer createInstance() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 04 06:20:49 UTC 2024
    - 9.8K 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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 15.4K 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",
    	)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Dec 20 22:14:13 UTC 2023
    - 1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

                    "baz", new String[] { "eee", "fff" });
            final Map<String, Object> resultMap = transformer.processFieldConfigs(dataMap, fieldConfigs);
            assertEquals("aaa", ((String[]) resultMap.get("foo"))[0]);
            assertEquals("bbb", ((String[]) resultMap.get("foo"))[1]);
            assertEquals("ddd", resultMap.get("bar"));
            assertEquals("fff", resultMap.get("baz"));
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K 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)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 24 03:31:28 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  8. 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
    	}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Feb 10 00:31:55 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top