Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 4,816 for newE (0.05 sec)

  1. guava-tests/test/com/google/common/collect/SetOperationsTest.java

    @ElementTypesAreNonnullByDefault
    public class SetOperationsTest extends TestCase {
      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
        TestSuite suite = new TestSuite();
    
        suite.addTest(
            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
                      @Override
                      protected Set<String> create(String[] elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

        @Override
        public String[] createKeyArray(int length) {
          return new String[length];
        }
    
        @Override
        public String[] createValueArray(int length) {
          return new String[length];
        }
    
        @Override
        public SampleElements<String> sampleKeys() {
          return new SampleElements<>("one", "two", "three", "four", "five");
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  3. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java

      public void run() throws Exception {
        File socketFile = new File("/tmp/ClientAndServer.sock");
        socketFile.delete(); // Clean up from previous runs.
    
        MockWebServer server = new MockWebServer();
        server.setServerSocketFactory(new UnixDomainServerSocketFactory(socketFile));
        server.setProtocols(Collections.singletonList(Protocol.H2_PRIOR_KNOWLEDGE));
        server.enqueue(new MockResponse().setBody("hello"));
        server.start();
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Dec 24 03:46:30 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  4. compat/maven-model/src/test/java/org/apache/maven/model/ModelTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertNotEquals(null, new Model());
    
            new Model().equals(new Model());
        }
    
        @Test
        void testEqualsIdentity() {
            Model thing = new Model();
            assertEquals(thing, thing);
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new Model().toString());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. README.md

      );
    ```
    
    ### Add suggest document
    
    ```java
    String[][] readings = new String[2][];
    readings[0] = new String[] { "kensaku", "fuga" };
    readings[1] = new String[] { "enjin", "fuga" };
    String[] tags = new String[] { "tag1", "tag2" };
    String[] roles = new String[] { "role1", "role2", "role3" };
    suggester.indexer().index(new SuggestItem(new String[] { "検索", "エンジン" }, readings, 1, tags, roles, SuggestItem.Kind.DOCUMENT));
    ```
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Jan 19 03:33:49 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractService.java

            switch (previous) {
              case NEW:
                snapshot = new StateSnapshot(TERMINATED);
                enqueueTerminatedEvent(NEW);
                break;
              case STARTING:
                snapshot = new StateSnapshot(STARTING, true, null);
                enqueueStoppingEvent(STARTING);
                doCancelStart();
                break;
              case RUNNING:
                snapshot = new StateSnapshot(STOPPING);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

        public void test_generateId_virtualHost() {
            final Map<String, Object> dataMap = new HashMap<String, Object>();
            dataMap.put("url", "http://example.com/");
            final List<String> roleTypeList = new ArrayList<String>();
            roleTypeList.add("admin");
            dataMap.put("role", roleTypeList);
            final List<String> virtualHostList = new ArrayList<String>();
            virtualHostList.add("site1");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractorTest.java

            final File contentFile = createContentFile(".txt", content.getBytes());
    
            final CommandExtractor extractor = new CommandExtractor();
            extractor.command = getCommand(scriptFile);
            final Map<String, String> params = new HashMap<String, String>();
            final ExtractData text = extractor.getText(new FileInputStream(contentFile), params);
            assertEquals(content, text.getContent());
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. compat/maven-model/src/test/java/org/apache/maven/model/DependencyManagementTest.java

        @Test
        void testHashCodeNullSafe() {
            new DependencyManagement().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new DependencyManagement().equals(null));
    
            new DependencyManagement().equals(new DependencyManagement());
        }
    
        @Test
        void testEqualsIdentity() {
            DependencyManagement thing = new DependencyManagement();
            assertTrue(thing.equals(thing));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

            throw new RuntimeException("Wrong length: " + x);
          }
        }
      }
    
      private static String oldRepeat(String string, int count) {
        // If this multiplication overflows, a NegativeArraySizeException or
        // OutOfMemoryError is not far behind
        final int len = string.length();
        final int size = len * count;
        char[] array = new char[size];
        for (int i = 0; i < size; i += len) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Sep 17 20:24:24 UTC 2021
    - 3.3K bytes
    - Viewed (0)
Back to top