Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 1,937 for another (0.07 sec)

  1. guava/src/com/google/common/collect/ImmutableList.java

       * element (the given list itself).
       *
       * <p>This method is safe to use even when {@code elements} is a synchronized or concurrent
       * collection that is currently being modified by another thread.
       *
       * @throws NullPointerException if {@code elements} contains a null element
       */
      public static <E> ImmutableList<E> copyOf(Collection<? extends E> elements) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  2. src/archive/tar/writer_test.go

    		}
    	}
    }
    
    func TestWriterAddFS(t *testing.T) {
    	fsys := fstest.MapFS{
    		"emptyfolder":          {Mode: 0o755 | os.ModeDir},
    		"file.go":              {Data: []byte("hello")},
    		"subfolder/another.go": {Data: []byte("world")},
    		"symlink.go":           {Mode: 0o777 | os.ModeSymlink, Data: []byte("file.go")},
    		// Notably missing here is the "subfolder" directory. This makes sure even
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Mon Dec 15 16:34:13 UTC 2025
    - 40.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       * undocumented and subject to change.
       *
       * <p>This method is safe to use even when {@code sortedMultiset} is a synchronized or concurrent
       * collection that is currently being modified by another thread.
       *
       * @throws NullPointerException if {@code sortedMultiset} or any of its elements is null
       */
      public static <E> ImmutableSortedMultiset<E> copyOfSorted(SortedMultiset<E> sortedMultiset) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Iterables.java

       *
       * <p><b>{@code Stream} equivalent:</b> {@code stream.filter(type::isInstance).map(type::cast)}.
       * This does perform a little more work than necessary, so another option is to insert an
       * unchecked cast at some later point:
       *
       * {@snippet :
       * @SuppressWarnings("unchecked") // safe because of ::isInstance check
       * ImmutableList<NewType> result =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 18:35:28 UTC 2025
    - 43.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        // as the end result should be the same either way
        thirdSignal.await();
        Thread.yield();
    
        // Expand!
        CacheTesting.forceExpandSegment(cache, key);
    
        // start another waiting thread
        new Thread() {
          @Override
          public void run() {
            fourthSignal.countDown();
            result.set(2, cache.getUnchecked(key));
            doneSignal.countDown();
          }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 91.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        }
    
        @Override
        public int hashCode() {
          return NumberOrdering.class.hashCode();
        }
    
        @Override
        public boolean equals(@Nullable Object other) {
          return other instanceof NumberOrdering;
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      /*
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/OrderingTest.java

        }
    
        @Override
        public int hashCode() {
          return NumberOrdering.class.hashCode();
        }
    
        @Override
        public boolean equals(@Nullable Object other) {
          return other instanceof NumberOrdering;
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      /*
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        // as the end result should be the same either way
        thirdSignal.await();
        Thread.yield();
    
        // Expand!
        CacheTesting.forceExpandSegment(cache, key);
    
        // start another waiting thread
        new Thread() {
          @Override
          public void run() {
            fourthSignal.countDown();
            result.set(2, cache.getUnchecked(key));
            doneSignal.countDown();
          }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 91.1K bytes
    - Viewed (0)
  9. src/bufio/bufio.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package bufio implements buffered I/O. It wraps an io.Reader or io.Writer
    // object, creating another object (Reader or Writer) that also implements
    // the interface but provides buffering and some help for textual I/O.
    package bufio
    
    import (
    	"bytes"
    	"errors"
    	"io"
    	"strings"
    	"unicode/utf8"
    )
    
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 22K bytes
    - Viewed (0)
  10. cmd/erasure-object.go

    	}
    
    	// For speedtest objects do not attempt to heal them.
    	if !opts.Speedtest {
    		// When there is versions disparity we are healing
    		// the content implicitly for all versions, we can
    		// avoid triggering another MRF heal for offline drives.
    		if len(versions) == 0 {
    			// Whether a disk was initially or becomes offline
    			// during this upload, send it to the MRF list.
    			for i := range len(onlineDisks) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:05:31 UTC 2025
    - 80.4K bytes
    - Viewed (0)
Back to top