Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 101 for getHits (0.24 sec)

  1. src/test/java/org/codelibs/fess/it/admin/dict/DictCrudTestBase.java

            final Map<String, Object> searchBody = new HashMap<>();
            final String response = checkMethodBase(searchBody).get("/api/admin/dict").asString();
            final List<Map<String, String>> dicts = JsonPath.from(response).getList("response.settings");
    
            for (Map<String, String> item : dicts) {
                assertTrue(item.containsKey("id"));
                assertTrue(item.containsKey("type"));
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/AbstractPropertyJavaInterOpIntegrationTest.groovy

                            t.getFlag().set(true);
                            t.getMessage().set("some value");
                            t.getNumber().set(1.23);
                            t.getList().set(Arrays.asList(1, 2));
                            t.getSet().set(Arrays.asList(1, 2));
                            Map<Integer, Boolean> map = new LinkedHashMap<>();
                            map.put(1, true);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/ListGetTester.java

        expectContents(createOrderedArray());
      }
    
      public void testGet_negative() {
        try {
          getList().get(-1);
          fail("get(-1) should throw");
        } catch (IndexOutOfBoundsException expected) {
        }
      }
    
      public void testGet_tooLarge() {
        try {
          getList().get(getNumElements());
          fail("get(size) should throw");
        } catch (IndexOutOfBoundsException expected) {
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAllTester.java

        assertTrue(
            "removeAll(intersectingCollection) should return true",
            getList().removeAll(MinimalCollection.of(duplicate)));
        assertFalse(
            "after removeAll(e), a collection should not contain e even "
                + "if it initially contained e more than once.",
            getList().contains(duplicate));
      }
    
      // All other cases are covered by CollectionRemoveAllTester.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAllTester.java

        assertTrue(
            "removeAll(intersectingCollection) should return true",
            getList().removeAll(MinimalCollection.of(duplicate)));
        assertFalse(
            "after removeAll(e), a collection should not contain e even "
                + "if it initially contained e more than once.",
            getList().contains(duplicate));
      }
    
      // All other cases are covered by CollectionRemoveAllTester.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/ManagedPropertyJavaInterOpIntegrationTest.groovy

                    @Internal
                    public abstract Property<Double> getNumber();
    
                    @Internal
                    public abstract ListProperty<Integer> getList();
    
                    @Internal
                    public abstract SetProperty<Integer> getSet();
    
                    @Internal
                    public abstract MapProperty<Integer, Boolean> getMap();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. pkg/util/oom/oom_linux_test.go

    	}
    	applyOOMScoreAdjContainerTester(pidListSequenceLag, 4, []int{1, 2, 4}, false, t)
    }
    
    func TestPidListerFailure(t *testing.T) {
    	_, err := getPids("/does/not/exist")
    	assert.True(t, cgroups.IsNotFound(err) || os.IsNotExist(err), "expected getPids to return not exists error. Got %v", err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/ListLastIndexOfTester.java

    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class ListLastIndexOfTester<E> extends AbstractListIndexOfTester<E> {
      @Override
      protected int find(Object o) {
        return getList().lastIndexOf(o);
      }
    
      @Override
      protected String getMethodName() {
        return "lastIndexOf";
      }
    
      @CollectionFeature.Require(absent = REJECTS_DUPLICATES_AT_CREATION)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  9. pkg/util/oom/oom_linux.go

    )
    
    func NewOOMAdjuster() *OOMAdjuster {
    	oomAdjuster := &OOMAdjuster{
    		pidLister:        getPids,
    		ApplyOOMScoreAdj: applyOOMScoreAdj,
    	}
    	oomAdjuster.ApplyOOMScoreAdjContainer = oomAdjuster.applyOOMScoreAdjContainer
    	return oomAdjuster
    }
    
    func getPids(cgroupName string) ([]int, error) {
    	return cmutil.GetPids(filepath.Join("/", cgroupName))
    }
    
    // Writes 'value' to /proc/<pid>/oom_score_adj. PID = 0 means self
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 07:13:28 UTC 2022
    - 4K bytes
    - Viewed (0)
  10. pkg/util/procfs/procfs_linux.go

    	if len(name) == 0 {
    		return []int{}, fmt.Errorf("name should not be empty")
    	}
    	re, err := regexp.Compile("(^|/)" + name + "$")
    	if err != nil {
    		return []int{}, err
    	}
    	return getPids(re), nil
    }
    
    func getPids(re *regexp.Regexp) []int {
    	pids := []int{}
    
    	dirFD, err := os.Open("/proc")
    	if err != nil {
    		return nil
    	}
    	defer dirFD.Close()
    
    	for {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 16 09:22:35 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top