Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 960 for pcount (0.19 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformerTest.java

                Map<String, String> fieldRuleMap = newLinkedHashMap();
                fieldRuleMap.put("title", "//TITLE");
                fieldRuleMap.put("body", "//BODY");
                fieldRuleMap.put("pcount", "count(//P)");
                fieldRuleMap.put("true", "true()");
                fieldRuleMap.put("false", "false()");
                xpathTransformer.setFieldRuleMap(fieldRuleMap);
            }
            {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/width_test.go

    		},
    	}
    
    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    			counts := test.counts
    			if len(counts) == 0 {
    				counts = map[string]int64{}
    			}
    			countsFn := func(key string) (int64, error) {
    				return counts[key], test.countErr
    			}
    			watchCountsFn := func(_ *apirequest.RequestInfo) int {
    				return test.watchCount
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17K bytes
    - Viewed (0)
  3. cmd/bucket-stats.go

    		speak = math.Max(math.Max(v[Small].Peak, speak), v[Small].Curr)
    		if lpeak > 0 || speak > 0 {
    			count++
    		}
    	}
    	if count > 0 {
    		lrg := XferStats{
    			Avg:  lavg / float64(count),
    			Curr: lcurr / float64(count),
    			Peak: lpeak,
    		}
    		sml := XferStats{
    			Avg:  savg / float64(count),
    			Curr: scurr / float64(count),
    			Peak: speak,
    		}
    		qs.XferStats[Large] = lrg
    		qs.XferStats[Small] = sml
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       * becomes {@code count}.
       *
       * @return the count of {@code element} in the multiset before this call
       * @throws IllegalArgumentException if {@code count} is negative
       */
      @CanIgnoreReturnValue
      @Override
      public int setCount(E element, int count) {
        checkNotNull(element);
        checkNonnegative(count, "count");
        while (true) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/podtopologyspread/filtering.go

    			tpCounts[pair] = count
    		}
    		tpCountsByNode[i] = tpCounts
    	}
    	pl.parallelizer.Until(ctx, len(allNodes), processNode, pl.Name())
    
    	for _, tpCounts := range tpCountsByNode {
    		for tp, count := range tpCounts {
    			s.TpPairToMatchNum[tp] += count
    		}
    	}
    	s.TpKeyToDomainsNum = make(map[string]int, len(constraints))
    	for tp := range s.TpPairToMatchNum {
    		s.TpKeyToDomainsNum[tp.key]++
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 10:42:29 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsFixture.groovy

            final String path
            final int count
            final List<String> modelNames
    
            ModelRequestExpectation(String path, int count) {
                this.path = path
                this.count = count
                this.modelNames = null
            }
    
            ModelRequestExpectation(String path, List<String> names) {
                this.path = path
                this.count = names.size()
                this.modelNames = names
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multisets.java

          implements Serializable {
        @ParametricNullness private final E element;
        private final int count;
    
        ImmutableEntry(@ParametricNullness E element, int count) {
          this.element = element;
          this.count = count;
          checkNonnegative(count, "count");
        }
    
        @Override
        @ParametricNullness
        public final E getElement() {
          return element;
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Multisets.java

          implements Serializable {
        @ParametricNullness private final E element;
        private final int count;
    
        ImmutableEntry(@ParametricNullness E element, int count) {
          this.element = element;
          this.count = count;
          checkNonnegative(count, "count");
        }
    
        @Override
        @ParametricNullness
        public final E getElement() {
          return element;
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  9. tests/associations_has_many_test.go

    	CheckPet(t, pets[0], *user.Pets[0])
    
    	if count := DB.Model(&user).Where("name = ?", user.Pets[1].Name).Association("Pets").Count(); count != 1 {
    		t.Fatalf("should only find one pets, but got %v", count)
    	}
    
    	if count := DB.Model(&user).Where("name = ?", "not found").Association("Pets").Count(); count != 0 {
    		t.Fatalf("should only find no pet with invalid conditions, but got %v", count)
    	}
    
    	// Count
    	AssertAssociationCount(t, user, "Pets", 2, "")
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 16K bytes
    - Viewed (0)
  10. src/runtime/metrics_test.go

    			for i := range objects.alloc.Counts {
    				if objects.alloc.Counts[i] < objects.free.Counts[i] {
    					t.Errorf("found more allocs than frees in object dist bucket %d", i)
    					continue
    				}
    				gotAlloc += objects.alloc.Counts[i]
    				gotFree += objects.free.Counts[i]
    			}
    			if got := gotAlloc - gotFree; got != want {
    				t.Errorf("object distribution counts don't match count of live objects: got %d, want %d", got, want)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
Back to top