Search Options

Results per page
Sort
Preferred Languages
Advance

Results 931 - 940 of 977 for concurrents (0.1 sec)

  1. android/guava/src/com/google/common/collect/Iterables.java

       * @throws NoSuchElementException if the iterable is empty
       */
      @ParametricNullness
      public static <T extends @Nullable Object> T getLast(Iterable<T> iterable) {
        // TODO(kevinb): Support a concurrently modified collection?
        if (iterable instanceof List) {
          List<T> list = (List<T>) iterable;
          if (list.isEmpty()) {
            throw new NoSuchElementException();
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  2. src/archive/zip/reader.go

    	if err != nil {
    		return
    	}
    	return f.headerOffset + bodyOffset, nil
    }
    
    // Open returns a [ReadCloser] that provides access to the [File]'s contents.
    // Multiple files may be read concurrently.
    func (f *File) Open() (io.ReadCloser, error) {
    	bodyOffset, err := f.findBodyOffset()
    	if err != nil {
    		return nil, err
    	}
    	if strings.HasSuffix(f.Name, "/") {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sat Aug 03 01:05:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertTrue(cycle.hasNext());
        cycle.remove();
        assertEquals(emptyList(), iterable);
        assertFalse(cycle.hasNext());
      }
    
      /** An Iterable whose Iterator is rigorous in checking for concurrent modification. */
      private static final class PickyIterable<E> implements Iterable<E> {
        final List<E> elements;
        int modCount = 0;
    
        PickyIterable(E... elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  4. test-site/activator-launch-1.3.2.jar

    java.io.File file; private boolean fileLocked; public final synchronized Object withLock(java.util.concurrent.Callable); private Object ignoringDeadlockAvoi(java.util.concurrent.Callable); public final Object xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(int, java.nio.channels.FileChannel, java.util.concurrent.Callable); private final Object withChannel$1(java.nio.channels.FileChannel, java.util.concurrent.Callable); public void Locks$GlobalLock(java.io.File); } xsbt/boot/Launch$$anon$5.class package...
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 1.2M bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertTrue(cycle.hasNext());
        cycle.remove();
        assertEquals(emptyList(), iterable);
        assertFalse(cycle.hasNext());
      }
    
      /** An Iterable whose Iterator is rigorous in checking for concurrent modification. */
      private static final class PickyIterable<E> implements Iterable<E> {
        final List<E> elements;
        int modCount = 0;
    
        PickyIterable(E... elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableMap.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.DoNotCall;
    import com.google.errorprone.annotations.DoNotMock;
    import com.google.errorprone.annotations.concurrent.LazyInit;
    import com.google.j2objc.annotations.RetainedWith;
    import com.google.j2objc.annotations.WeakOuter;
    import java.io.InvalidObjectException;
    import java.io.ObjectInputStream;
    import java.io.Serializable;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

    import java.util.Date;
    import java.util.Enumeration;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.Set;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.regex.Pattern;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    import javax.naming.directory.Attribute;
    import javax.naming.directory.BasicAttribute;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/MoreFiles.java

           *   I think.
           *
           * Still, if this can happen somehow (a weird filesystem implementation that lets callers
           * change its working directly concurrently with a call to deleteDirectoryContents?), it makes
           * more sense for us to fall back to a generic FileSystemException (by returning null here)
           * than to dereference parentPath and end up producing NullPointerException.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/MoreFiles.java

           *   I think.
           *
           * Still, if this can happen somehow (a weird filesystem implementation that lets callers
           * change its working directly concurrently with a call to deleteDirectoryContents?), it makes
           * more sense for us to fall back to a generic FileSystemException (by returning null here)
           * than to dereference parentPath and end up producing NullPointerException.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            if (localRepositoryPath != null) {
                request.setLocalRepositoryPath(localRepositoryPath);
            }
    
            //
            // Builder, concurrency and parallelism
            //
            // We preserve the existing methods for builder selection which is to look for various inputs in the threading
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
Back to top