Search Options

Results per page
Sort
Preferred Languages
Advance

Results 671 - 680 of 896 for Array (0.02 sec)

  1. android/guava/src/com/google/common/hash/Funnels.java

     *
     * @author Dimitris Andreou
     * @since 11.0
     */
    @Beta
    public final class Funnels {
      private Funnels() {}
    
      /** Returns a funnel that extracts the bytes from a {@code byte} array. */
      public static Funnel<byte[]> byteArrayFunnel() {
        return ByteArrayFunnel.INSTANCE;
      }
    
      private enum ByteArrayFunnel implements Funnel<byte[]> {
        INSTANCE;
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/CollectorTester.java

        this.collector = checkNotNull(collector);
        this.equivalence = checkNotNull(equivalence);
      }
    
      /**
       * Different orderings for combining the elements of an input array, which must all produce the
       * same result.
       */
      enum CollectStrategy {
        /** Get one accumulator and accumulate the elements into it sequentially. */
        SEQUENTIAL {
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 15 21:47:56 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

         * Provides test cases for {@link SmbComSeekResponse#readParameterWordsWireFormat(byte[], int)}.
         * @return a stream of {@link Arguments} objects containing an integer
         *         value and the corresponding little-endian byte array.
         */
        static java.util.stream.Stream<Arguments> int32Provider() {
            return java.util.stream.Stream.of(Arguments.of(0x00000000, new byte[] { 0x00, 0x00, 0x00, 0x00 }),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/Funnels.java

     *
     * @author Dimitris Andreou
     * @since 11.0
     */
    @Beta
    public final class Funnels {
      private Funnels() {}
    
      /** Returns a funnel that extracts the bytes from a {@code byte} array. */
      public static Funnel<byte[]> byteArrayFunnel() {
        return ByteArrayFunnel.INSTANCE;
      }
    
      private enum ByteArrayFunnel implements Funnel<byte[]> {
        INSTANCE;
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTransportInternalTest.java

            when(transport.getServerEncryptionKey()).thenReturn(key);
            assertArrayEquals(key, transport.getServerEncryptionKey());
            verify(transport).getServerEncryptionKey();
    
            // Empty array
            byte[] empty = new byte[0];
            when(transport.getServerEncryptionKey()).thenReturn(empty);
            assertArrayEquals(empty, transport.getServerEncryptionKey());
    
            // Null
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

    import jakarta.mail.internet.MimeMessage;
    import jakarta.mail.internet.MimeUtility;
    
    /**
     * Gets a text from .eml file.
     *
     * @author shinsuke
     *
     */
    public class EmlExtractor extends AbstractExtractor {
        /** Array of day of week abbreviations used for parsing received dates */
        private static final String[] DAY_OF_WEEK = { "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun" };
    
        /** Logger instance for this class */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SystemHelper.java

         */
        public String getDesignJspFileName(final String fileName) {
            return designJspFileNameMap.get(fileName);
        }
    
        /**
         * Gets an array of design JSP file names.
         *
         * @return An array of pairs of keys and file names.
         */
        @SuppressWarnings("unchecked")
        public Pair<String, String>[] getDesignJspFileNames() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/BloomFilter.java

       *
       * <p>Implementations should be collections of pure functions (i.e. stateless).
       */
      interface Strategy extends java.io.Serializable {
    
        /**
         * Sets {@code numHashFunctions} bits of the given bit array, by hashing a user element.
         *
         * <p>Returns whether any bits changed as a result of this operation.
         */
        <T extends @Nullable Object> boolean put(
            @ParametricNullness T object,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

        streamCode: ErrorCode,
        cause: IOException?,
      ) {
        assertLockNotHeld()
    
        ignoreIoExceptions {
          shutdown(connectionCode)
        }
    
        var streamsToClose: Array<Http2Stream>? = null
        withLock {
          if (streams.isNotEmpty()) {
            streamsToClose = streams.values.toTypedArray()
            streams.clear()
          }
        }
    
        streamsToClose?.forEach { stream ->
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            } else if (logger.isDebugEnabled()) {
                logger.debug("Skip Child: {}", u);
            }
        }
    
        /**
         * Checks if the byte array contains UTF-8 BOM (Byte Order Mark).
         *
         * @param b the byte array to check
         * @return true if the bytes represent UTF-8 BOM, false otherwise
         */
        private boolean isUtf8BomBytes(final byte[] b) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.4K bytes
    - Viewed (0)
Back to top