Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for s1 (0.02 sec)

  1. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiItemTest.java

            assertFalse(kuromojiItem1.equals(new KuromojiItem(1, "t1", "s1", "R1", "p1")));
            assertFalse(kuromojiItem1.equals(new KuromojiItem(1, "t1", "s1", "r1", "P1")));
        }
    
        public void test_toLineString() {
            assertEquals("t1,s1,r1,p1", new KuromojiItem(1, "t1", "s1", "r1", "p1").toLineString());
            assertEquals("t\"\"1,s\"\"1,r\"\"1,p\"\"1", new KuromojiItem(1, "t\"1", "s\"1", "r\"1", "p\"1").toLineString());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/base/ObjectsBenchmark.java

        }
        return dummy;
      }
    
      @Benchmark
      int hashString_5(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy += Objects.hashCode(S0, S1, S2, S3, S4);
        }
        return dummy;
      }
    
      @Benchmark
      int hashMixed_5(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy += Objects.hashCode(I2, S1, D1, S2, I0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.2K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphVertex.java

        private static int compareStrings(String s1, String s2) {
            if (s1 == null && s2 == null) {
                return 0;
            }
    
            if (s1 == null /* && s2 != null */) {
                return -1;
            }
    
            if (
            /* s1 != null && */ s2 == null) {
                return 1;
            }
    
            return s1.compareTo(s2);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

        StringSubscriber s1 = new StringSubscriber();
        registry.register(s1);
        assertThrows(IllegalArgumentException.class, () -> registry.unregister(new StringSubscriber()));
    
        registry.unregister(s1);
    
        assertThrows(IllegalArgumentException.class, () -> registry.unregister(s1));
      }
    
      public void testGetSubscribers() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/action/FessUserBean.java

        }
    
        public boolean hasRoles(final String[] acceptedRoles) {
            return stream(user.getRoleNames())
                    .get(stream -> stream.anyMatch(s1 -> stream(acceptedRoles).get(s3 -> s3.anyMatch(s2 -> s2.equals(s1)))));
        }
    
        public boolean hasGroup(final String group) {
            return stream(user.getGroupNames()).get(stream -> stream.anyMatch(s -> s.equals(group)));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch

    @@ -29,54 +25,16 @@
     char *
     STRNCAT (char *s1, const char *s2, size_t n)
     {
    -  char c;
       char *s = s1;
     
       /* Find the end of S1.  */
    -  do
    -    c = *s1++;
    -  while (c != '\0');
    -
    -  /* Make S1 point before next character, so we can increment
    -     it while memory is read (wins on pipelined cpus).  */
    -  s1 -= 2;
    +  s1 += strlen (s1);
     
    -  if (n >= 4)
    -    {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 42.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

        String s1 = new String("a");
        String s2 = new String("a");
        assertEquals(s1, s2); // Stating the obvious.
        assertTrue(s1 != s2); // Stating the obvious.
    
        multiset.add(s1);
        assertTrue(multiset.contains(s1));
        assertFalse(multiset.contains(s2));
        assertEquals(1, multiset.count(s1));
        assertEquals(0, multiset.count(s2));
    
        multiset.add(s1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/eventbus/DispatcherTest.java

        assertThat(dispatchedSubscribers).containsExactly(i1, i2, i3, s1, s1, s1, s1, s2, s2, s2, s2);
      }
    
      public void testImmediateDispatcher() {
        dispatcher = Dispatcher.immediate();
        dispatcher.dispatch(1, integerSubscribers.iterator());
    
        assertThat(dispatchedSubscribers)
            .containsExactly(
                i1, s1, s2, // Each integer subscriber immediately dispatches to 2 string subscribers.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 15:41:25 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  9. internal/mountinfo/mountinfo_linux.go

    	procMountsPath = "/proc/mounts"
    )
    
    // IsLikelyMountPoint determines if a directory is a mountpoint.
    func IsLikelyMountPoint(path string) bool {
    	s1, err := os.Lstat(path)
    	if err != nil {
    		return false
    	}
    
    	// A symlink can never be a mount point
    	if s1.Mode()&os.ModeSymlink != 0 {
    		return false
    	}
    
    	s2, err := os.Lstat(filepath.Dir(strings.TrimSuffix(path, "/")))
    	if err != nil {
    		return false
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

        StringSubscriber s1 = new StringSubscriber();
        registry.register(s1);
        assertThrows(IllegalArgumentException.class, () -> registry.unregister(new StringSubscriber()));
    
        registry.unregister(s1);
    
        assertThrows(IllegalArgumentException.class, () -> registry.unregister(s1));
      }
    
      public void testGetSubscribers() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
Back to top