Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for stripping (0.17 sec)

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

     *       configurations, and there's always the potential that something will go wrong. It
     *       <i>probably</i> won't, since the deps are needed only in tests (and maybe someday in
     *       testlib), but why bother?
     *   <li>Stripping code entirely might help us keep under the method limit someday. Even if it never
     *       comes to that, it may at least help with build and startup times.
     * </ul>
     */
    @Retention(CLASS)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *       configurations, and there's always the potential that something will go wrong. It
     *       <i>probably</i> won't, since the deps are needed only in tests (and maybe someday in
     *       testlib), but why bother?
     *   <li>Stripping code entirely might help us keep under the method limit someday. Even if it never
     *       comes to that, it may at least help with build and startup times.
     * </ul>
     */
    @Retention(CLASS)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableTableTest.java

           * under such versions.
           *
           * We use a runtime check here instead of @AndroidIncompatible: @AndroidIncompatible operates
           * by stripping annotated methods entirely, and if we strip this method, then JUnit would just
           * run the supermethod as usual.
           *
           * TODO: b/292578973: Use @AndroidIncompatible if we change our system to keep the methods in
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 20K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

         */
        @Override
        public void stripPathConsumed ( int i ) {
            if ( i > this.pathConsumed ) {
                throw new IllegalArgumentException("Stripping more than consumed");
            }
            this.pathConsumed -= i;
        }
    
    
        @Override
        public void fixupDomain ( String dom ) {
            String s = getServer();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 11K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableTableTest.java

           * under such versions.
           *
           * We use a runtime check here instead of @AndroidIncompatible: @AndroidIncompatible operates
           * by stripping annotated methods entirely, and if we strip this method, then JUnit would just
           * run the supermethod as usual.
           *
           * TODO: b/292578973: Use @AndroidIncompatible if we change our system to keep the methods in
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 19.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/ServiceTest.java

        assertLessThan(NEW, TERMINATED);
    
        assertLessThan(STARTING, RUNNING);
        assertLessThan(STARTING, STOPPING);
        assertLessThan(STARTING, FAILED);
    
        assertLessThan(RUNNING, STOPPING);
        assertLessThan(RUNNING, FAILED);
    
        assertLessThan(STOPPING, FAILED);
        assertLessThan(STOPPING, TERMINATED);
      }
    
      private static <T extends Comparable<? super T>> void assertLessThan(T a, T b) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

            Set<Feature<?>> missingFeatures = Helpers.copyToSet(requirements.getPresentFeatures());
            missingFeatures.removeAll(features);
            logger.finer(
                Platform.format(
                    "%s: skipping because these features are absent: %s", method, missingFeatures));
          }
          return false;
        }
        if (intersect(features, requirements.getAbsentFeatures())) {
          if (logger.isLoggable(FINER)) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/TestThread.java

        this.lockLikeObject = checkNotNull(lockLikeObject);
        start();
      }
    
      // Thread.stop() is okay because all threads started by a test are dying at the end of the test,
      // so there is no object state put at risk by stopping the threads abruptly. In some cases a test
      // may put a thread into an uninterruptible operation intentionally, so there is no other way to
      // clean up these threads.
      @SuppressWarnings("deprecation")
      @Override
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/ByteStreams.java

       * @throws EOFException if this stream reaches the end before skipping all the bytes
       * @throws IOException if an I/O error occurs, or the stream does not support skipping
       */
      public static void skipFully(InputStream in, long n) throws IOException {
        long skipped = skipUpTo(in, n);
        if (skipped < n) {
          throw new EOFException(
              "reached end of stream after skipping " + skipped + " bytes; " + n + " bytes expected");
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

              protected void doStart() {
                // Never starts!
              }
    
              @Override
              protected void doCancelStart() {
                assertThat(state()).isEqualTo(Service.State.STOPPING);
                notifyStopped();
              }
    
              @Override
              protected void doStop() {
                throw new AssertionError(); // Should not be called.
              }
            };
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.2K bytes
    - Viewed (0)
Back to top