Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 165 for nCopies (0.06 sec)

  1. guava/src/com/google/common/io/CharSource.java

          return CharStreams.copy(reader, appendable);
        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
      /**
       * Copies the contents of this source to the given sink.
       *
       * @return the number of characters copied
       * @throws IOException if an I/O error occurs while reading from this source or writing to {@code
       *     sink}
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  2. cmd/storage-datatypes.go

    	lastBlockSize := totalLength % fi.Erasure.BlockSize
    	lastShardSize := ceilFrac(lastBlockSize, int64(fi.Erasure.DataBlocks))
    	return numShards*fi.shardSize() + lastShardSize
    }
    
    // ShallowCopy - copies minimal information for READ MRF checks.
    func (fi FileInfo) ShallowCopy() (n FileInfo) {
    	n.Volume = fi.Volume
    	n.Name = fi.Name
    	n.VersionID = fi.VersionID
    	n.Deleted = fi.Deleted
    	n.Erasure = fi.Erasure
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

                String decKeyId = sessionId + "-dec";
                keyManager.storeSessionKey(encKeyId, encryptionKey, "AES");
                keyManager.storeSessionKey(decKeyId, decryptionKey, "AES");
    
                // Clear local key copies for security
                this.encryptionKey = null;
                this.decryptionKey = null;
    
                log.debug("Keys stored in SecureKeyManager for session: {}", sessionId);
            } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/FluentIterable.java

       *     copied
       */
      @GwtIncompatible // Array.newArray(Class, int)
      public final E[] toArray(Class<@NonNull E> type) {
        return Iterables.<E>toArray(getDelegate(), type);
      }
    
      /**
       * Copies all the elements from this fluent iterable to {@code collection}. This is equivalent to
       * calling {@code Iterables.addAll(collection, this)}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/FluentIterable.java

       *     copied
       */
      @GwtIncompatible // Array.newArray(Class, int)
      public final E[] toArray(Class<@NonNull E> type) {
        return Iterables.<E>toArray(getDelegate(), type);
      }
    
      /**
       * Copies all the elements from this fluent iterable to {@code collection}. This is equivalent to
       * calling {@code Iterables.addAll(collection, this)}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  6. gradle/wrapper/gradle-wrapper.jar

    the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this...
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 08:06:31 UTC 2025
    - 44.4K bytes
    - Viewed (1)
  7. guava/src/com/google/common/primitives/Chars.java

            }
          }
          return left.length - right.length;
        }
    
        @Override
        public String toString() {
          return "Chars.lexicographicalComparator()";
        }
      }
    
      /**
       * Copies a collection of {@code Character} instances into a new array of primitive {@code char}
       * values.
       *
       * <p>Elements are copied from the argument collection as if by {@code collection.toArray()}.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

            segment.expand();
          }
          assertEquals(i, segment.table.length());
          assertEquals(liveCount, countLiveEntries(map));
          // expansion cleanup is sloppy, with a goal of avoiding unnecessary copies
          assertTrue(segment.count >= liveCount);
          assertTrue(segment.count <= originalCount);
          assertEquals(originalMap, ImmutableMap.copyOf(map));
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

            segment.expand();
          }
          assertEquals(i, segment.table.length());
          assertEquals(liveCount, countLiveEntries(map));
          // expansion cleanup is sloppy, with a goal of avoiding unnecessary copies
          assertTrue(segment.count >= liveCount);
          assertTrue(segment.count <= originalCount);
          assertEquals(originalMap, ImmutableMap.copyOf(map));
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  10. cmd/utils.go

    	maps.Copy(r, v)
    	return r
    }
    
    // URI scheme constants.
    const (
    	httpScheme  = "http"
    	httpsScheme = "https"
    )
    
    // nopCharsetConverter is a dummy charset convert which just copies input to output,
    // it is used to ignore custom encoding charset in S3 XML body.
    func nopCharsetConverter(label string, input io.Reader) (io.Reader, error) {
    	return input, nil
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33K bytes
    - Viewed (0)
Back to top