Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 89 for blocky (0.18 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        manager.addListener(
            new ServiceManager.Listener() {
              @Override
              public void failure(Service service) {
                failEnter.countDown();
                // block until after the service manager is shutdown
                Uninterruptibles.awaitUninterruptibly(failLeave);
              }
            },
            directExecutor());
        manager.startAsync();
        afterStarted.countDown();
    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)
  2. android/guava/src/com/google/common/util/concurrent/Monitor.java

        }
        final ReentrantLock lock = this.lock;
        lock.lock();
    
        boolean satisfied = false;
        try {
          return satisfied = guard.isSatisfied();
        } finally {
          if (!satisfied) {
            lock.unlock();
          }
        }
      }
    
      /**
       * Enters this monitor if the guard is satisfied. Blocks at most the given time acquiring the
       * lock, but does not wait for the guard to be satisfied.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/TempFileCreator.java

           * running under Jelly Bean or higher. But it seems safest to check.
           */
          if (version < jellyBean) {
            return new ThrowingCreator();
          }
    
          // Don't merge these catch() blocks, let alone use ReflectiveOperationException directly:
          // b/65343391
        } catch (NoSuchFieldException e) {
          // The JELLY_BEAN field doesn't exist because we're running on a version before Jelly Bean :)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

    import java.util.concurrent.TimeoutException;
    import java.util.concurrent.locks.Condition;
    import java.util.concurrent.locks.Lock;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Utilities for treating interruptible operations as uninterruptible. In all cases, if a thread is
     * interrupted during such a call, the call continues to block until the result is available or the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 14.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFileInputStream.java

                while ( len > blockSize && n == r );
                // this used to be len > 0, but this is BS:
                // - InputStream.read gives no such guarantee
                // - otherwise the caller would need to figure out the block size, or otherwise might end up with very small
                // reads
                return (int) ( this.fp - start );
            }
        }
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/FileAttributesTest.java

            }
        }
    
    
        public void assertCloseTime ( long timeMs ) {
            if ( timeMs - System.currentTimeMillis() > 5 * 60 * 1000L ) {
                assertTrue("Time is not within 30s, check clocks " + new Date(timeMs), false);
            }
        }
    
    
        @Test
        public void testLastModified () throws CIFSException, MalformedURLException, UnknownHostException {
            try ( SmbResource f = createTestFile() ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

            public void setMirroredRepositories(List<ArtifactRepository> mirroredRepositories) {}
    
            public boolean isBlocked() {
                return false;
            }
    
            public void setBlocked(boolean blocked) {}
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/CharSource.java

     * that provide readers that are:
     *
     * <ul>
     *   <li><b>Finite:</b> Many operations, such as {@link #length()} and {@link #read()}, will either
     *       block indefinitely or fail if the source creates an infinite reader.
     *   <li><b>Non-destructive:</b> A <i>destructive</i> reader will consume or otherwise alter the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/ByteSource.java

     * that provide streams that are:
     *
     * <ul>
     *   <li><b>Finite:</b> Many operations, such as {@link #size()} and {@link #read()}, will either
     *       block indefinitely or fail if the source creates an infinite stream.
     *   <li><b>Non-destructive:</b> A <i>destructive</i> stream will consume or otherwise alter the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
      }
    
      /*
       * Whenever an implementation uses `instanceof` on a parameter instance, the test has to know that
       * (so much for "black box") and try instances that both do and don't pass the check. The "don't"
       * half of that is more awkward to arrange...
       */
      private static <T> Iterable<T> iterable(final Collection<T> collection) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 19K bytes
    - Viewed (0)
Back to top