Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 613 for 10 (0.14 sec)

  1. src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java

        //    }
    
        /**
         * @throws Exception
         */
        //    @Test
        //    public void testToDate_FullStyle() throws Exception {
        //        final Date date = toDate("2010年9月7日 11時49分10JST", Locale.JAPAN);
        //        final SimpleDateFormat df = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
        //        df.setTimeZone(TimeZone.getTimeZone("JST"));
        //        assertThat(df.format(date), is("2010/09/07 11:49:10"));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        assertEquals(Integer.valueOf(50), asMap.get(10));
        assertEquals(Integer.valueOf(79), cache.getIfPresent(2));
        assertEquals(Integer.valueOf(79), asMap.get(2));
    
        asMap.remove(10, 100);
        asMap.remove(2, 79);
    
        assertEquals(Integer.valueOf(50), cache.getIfPresent(10));
        assertEquals(Integer.valueOf(50), asMap.get(10));
        assertEquals(null, cache.getIfPresent(2));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 15.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/DocumentHelperTest.java

            assertEquals("1234567...", documentHelper.getDigest(responseData, "12345678901", dataMap, 10));
            assertEquals("1234567890", documentHelper.getDigest(responseData, "1234567890", dataMap, 10));
            assertEquals("123456789", documentHelper.getDigest(responseData, "123456789", dataMap, 10));
            assertEquals("1234567", documentHelper.getDigest(responseData, "1234567", dataMap, 10));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/QuantilesTest.java

        int[] indexes = {0, 10, 5, 1, 8, 10};
        ScaleAndIndexes intermediate = Quantiles.scale(10).indexes(indexes);
        indexes[0] = 3;
        assertThat(intermediate.compute(SIXTEEN_SQUARES_DOUBLES))
            .comparingValuesUsing(QUANTILE_CORRESPONDENCE)
            .containsExactly(
                0, SIXTEEN_SQUARES_MIN,
                10, SIXTEEN_SQUARES_MAX,
                5, SIXTEEN_SQUARES_MEDIAN,
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/QuantilesTest.java

        int[] indexes = {0, 10, 5, 1, 8, 10};
        ScaleAndIndexes intermediate = Quantiles.scale(10).indexes(indexes);
        indexes[0] = 3;
        assertThat(intermediate.compute(SIXTEEN_SQUARES_DOUBLES))
            .comparingValuesUsing(QUANTILE_CORRESPONDENCE)
            .containsExactly(
                0, SIXTEEN_SQUARES_MIN,
                10, SIXTEEN_SQUARES_MAX,
                5, SIXTEEN_SQUARES_MEDIAN,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java

                    assertEquals(11, list.getCurrentStartRecordNumber());
                    assertEquals(0, list.getOffset());
                    assertEquals(10, list.getPageSize());
                    assertEquals(10, list.getStart());
                    assertEquals("10", list.get(0).get(ID_FIELD));
                    assertEquals("19", list.get(9).get(ID_FIELD));
                } else {
                    fail();
                }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 25.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

            for (int toRemove = 0; toRemove < 10; toRemove++) {
              assertEquals(
                  contents.contains(toRemove) && EVEN.apply(toRemove),
                  filter(createUnfiltered(contents), EVEN).remove(toRemove));
            }
          }
        }
    
        public void testContains() {
          for (List<Integer> contents : SAMPLE_INPUTS) {
            for (int i = 0; i < 10; i++) {
              assertEquals(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  8. internal/dsync/dsync_test.go

    	dm := NewDRWMutex(ds, "test")
    
    	dm.Lock(id, source)
    	time.Sleep(time.Duration(10+(rand.Float32()*50)) * time.Millisecond)
    	dm.Unlock(context.Background())
    
    	dm.Lock(id, source)
    	time.Sleep(time.Duration(10+(rand.Float32()*50)) * time.Millisecond)
    	dm.Unlock(context.Background())
    
    	dm.Lock(id, source)
    	time.Sleep(time.Duration(10+(rand.Float32()*50)) * time.Millisecond)
    	dm.Unlock(context.Background())
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 11K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        requestInterruptIn(10);
        semaphore.tryAcquireSuccessfully(10, LONG_DELAY_MS);
        assertInterrupted();
      }
    
      public void testTryAcquireTimeoutSingleInterruptExpiredMultiPermit() {
        TimedSemaphore semaphore = TimedSemaphore.createWithDelay(LONG_DELAY_MS);
        requestInterruptIn(10);
        semaphore.tryAcquireUnsuccessfully(10, 50);
        assertInterrupted();
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 31.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/ByteStreamsTest.java

        byte[] b = new byte[10];
    
        assertThrows(
            NullPointerException.class, () -> ByteStreams.readFully(newTestStream(10), null, 0, 10));
    
        assertThrows(NullPointerException.class, () -> ByteStreams.readFully(null, b, 0, 10));
    
        assertThrows(
            IndexOutOfBoundsException.class, () -> ByteStreams.readFully(newTestStream(10), b, -1, 10));
    
        assertThrows(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (1)
Back to top