Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 179 for ruleset (0.19 sec)

  1. android/guava-tests/test/com/google/common/base/StopwatchTest.java

        assertEquals("9.999 \u03bcs", stopwatch.toString());
        stopwatch.reset();
        stopwatch.start();
        ticker.advance(1234567);
        assertEquals("1.235 ms", stopwatch.toString());
        stopwatch.reset();
        stopwatch.start();
        ticker.advance(5000000000L);
        assertEquals("5.000 s", stopwatch.toString());
        stopwatch.reset();
        stopwatch.start();
        ticker.advance((long) (1.5 * 60 * 1000000000L));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        assertTrue(reader.markSupported());
    
        assertEquals(string, readFully(reader));
        assertFullyRead(reader);
    
        // reset and read again
        reader.reset();
        assertEquals(string, readFully(reader));
        assertFullyRead(reader);
    
        // reset, skip, mark, then read the rest
        reader.reset();
        assertEquals(5, reader.skip(5));
        reader.mark(Integer.MAX_VALUE);
        assertEquals(string.substring(5), readFully(reader));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

          }
        }
        out.close();
    
        // Check that source returns the right data
        assertTrue(Arrays.equals(data, source.read()));
    
        // Make sure that reset deleted the file
        out.reset();
        if (file != null) {
          assertFalse(file.exists());
        }
      }
    
    
      public void testThreshold_resetOnFinalize() throws Exception {
        testThreshold(0, 100, true, true);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/Java8Compatibility.java

        b.limit(limit);
      }
    
      static void mark(Buffer b) {
        b.mark();
      }
    
      static void position(Buffer b, int position) {
        b.position(position);
      }
    
      static void reset(Buffer b) {
        b.reset();
      }
    
      private Java8Compatibility() {}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans2/Trans2FindNext2.java

            this.maxParameterCount = 8;
            this.maxItems = batchCount;
            this.maxDataCount = batchSize;
            this.maxSetupCount = 0;
        }
    
    
        @Override
        public void reset ( int rk, String lastName ) {
            super.reset();
            this.resumeKey = rk;
            this.filename = lastName;
            this.flags2 = 0;
        }
    
    
        @Override
        protected int writeSetupWireFormat ( byte[] dst, int dstIndex ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

         *
         * @see jcifs.smb.DirFileEntryEnumIteratorBase#fetchMore()
         */
        @Override
        protected boolean fetchMore () throws CIFSException {
            this.nextRequest.reset(this.response.getResumeKey(), this.response.getLastName());
            this.response.reset();
            try {
                getTreeHandle().send(this.nextRequest, this.response);
                return this.response.getStatus() != NtStatus.NT_STATUS_NO_MORE_FILES;
            }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 5.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/io/PropertiesUtilTest.java

    import org.codelibs.core.exception.NullArgumentException;
    import org.codelibs.core.net.URLUtil;
    import org.junit.Rule;
    import org.junit.Test;
    import org.junit.rules.ExpectedException;
    import org.junit.rules.TemporaryFolder;
    
    /**
     * @author wyukawa
     *
     */
    public class PropertiesUtilTest {
    
        URL url = ResourceUtil.getResource(getClass().getName().replace('.', '/') + ".txt");
    
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        for (int i = 0; i < 10; i++) {
          assertEquals(Integer.valueOf(VALUE_PREFIX + i), cache.getUnchecked(KEY_PREFIX + i));
        }
    
        for (int i = 0; i < 10; i++) {
          loader.reset();
          assertEquals(Integer.valueOf(VALUE_PREFIX + i), cache.getUnchecked(KEY_PREFIX + i));
          assertFalse("Creator should not have been called @#" + i, loader.wasCalled());
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 18.7K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

       * PackageSanityTests. (The test would run on the JVM, too, if not for the suppression below, and
       * that would be a problem because it violates small-test rules. Note that we strip the
       * suppression externally, but it's OK because we don't enforce test-size rules there.)
       *
       * We'd just use PackageSanityTests directly, saving us from needing this separate type, but we're
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jun 11 21:37:55 GMT 2019
    - 5.3K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

       * PackageSanityTests. (The test would run on the JVM, too, if not for the suppression below, and
       * that would be a problem because it violates small-test rules. Note that we strip the
       * suppression externally, but it's OK because we don't enforce test-size rules there.)
       *
       * We'd just use PackageSanityTests directly, saving us from needing this separate type, but we're
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 11 21:37:55 GMT 2019
    - 5.3K bytes
    - Viewed (0)
Back to top