Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 16 for closeAll (0.19 seconds)

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

        return optional.isPresent() ? DoubleStream.of(optional.getAsDouble()) : DoubleStream.empty();
      }
    
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      private static void closeAll(BaseStream<?, ?>[] toClose) {
        // If one of the streams throws an exception, continue closing the others, then throw the
        // exception later. If more than one stream throws an exception, the later ones are added to the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 36.8K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectBuildList.java

                    .findFirst()
                    .orElse(null);
        }
    
        @Override
        public Iterator<ProjectSegment> iterator() {
            return items.iterator();
        }
    
        public void closeAll() {
            for (ProjectSegment item : items) {
                MavenSession sessionForThisModule = item.getSession();
                sessionForThisModule.setCurrentProject(null);
            }
        }
    
        public int size() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/Streams.java

        return optional.isPresent() ? DoubleStream.of(optional.getAsDouble()) : DoubleStream.empty();
      }
    
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      private static void closeAll(BaseStream<?, ?>[] toClose) {
        // If one of the streams throws an exception, continue closing the others, then throw the
        // exception later. If more than one stream throws an exception, the later ones are added to the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 36.4K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

                int hash = (auth.getUsername() + auth.getPassword()).hashCode();
                buffer.append(hash).append('@');
            }
    
            // consider the URL (instead of the id) as this most closely relates to the contents in the repo
            buffer.append(repository.getUrl());
    
            return buffer.toString();
        }
    
        private void writeLastUpdated(File touchfile, String key, String error) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

     * <p>Path types are often exclusive. For example, a dependency should not be both on the Java class path
     * and on the Java module path.</p>
     *
     * <h2>Relationship with Java compiler standard location</h2>
     * This enumeration is closely related to the {@link JavaFileManager.Location} enumerations.
     * A difference is that the latter enumerates input and output files, while {@code JavaPathType}
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 15 11:13:42 GMT 2025
    - 15.7K bytes
    - Click Count (1)
  6. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

     * is accessed. This is in contrast to {@link java.util.concurrent.Semaphore} which restricts the
     * number of concurrent accesses instead of the rate (note though that concurrency and rate are
     * closely related, e.g. see <a href="http://en.wikipedia.org/wiki/Little%27s_law">Little's
     * Law</a>).
     *
     * <p>A {@code RateLimiter} is defined primarily by the rate at which permits are issued. Absent
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:05:27 GMT 2025
    - 21.8K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/base/Converter.java

       * we've chosen to instead use a signature that benefits existing users -- and is still safe.
       *
       * For convertAll, I haven't looked as closely at *how* much existing users benefit, so we should
       * keep an eye out for problems that new users encounter. Note also that convertAll could support
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 18 21:43:06 GMT 2025
    - 22.8K bytes
    - Click Count (0)
  8. guava/src/com/google/common/base/Converter.java

       * we've chosen to instead use a signature that benefits existing users -- and is still safe.
       *
       * For convertAll, I haven't looked as closely at *how* much existing users benefit, so we should
       * keep an eye out for problems that new users encounter. Note also that convertAll could support
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 18 21:43:06 GMT 2025
    - 22.8K bytes
    - Click Count (0)
  9. doc/godebug.md

    Using `panicnil=1` restores the behavior of Go 1.20 and earlier.
    
    When compiling a work module or workspace that declares
    an older Go version, the Go toolchain amends its defaults
    to match that older Go version as closely as possible.
    For example, when a Go 1.21 toolchain compiles a program,
    if the work module's `go.mod` or the workspace's `go.work`
    says `go` `1.20`, then the program defaults to `panicnil=1`,
    matching Go 1.20 instead of Go 1.21.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Mar 20 15:49:10 GMT 2026
    - 26K bytes
    - Click Count (0)
  10. doc/go_mem.html

    while still insisting that races are errors and that tools can diagnose and report them.
    </p>
    
    <h2 id="model">Memory Model</h2>
    
    <p>
    The following formal definition of Go's memory model closely follows
    the approach presented by Hans-J. Boehm and Sarita V. Adve in
    “<a href="https://dl.acm.org/doi/10.1145/1375581.1375591">Foundations of the C++ Concurrency Memory Model</a>”,
    published in PLDI 2008.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Aug 05 15:41:37 GMT 2025
    - 26.6K bytes
    - Click Count (0)
Back to Top