Search Options

Results per page
Sort
Preferred Languages
Advance

Results 601 - 610 of 1,274 for arrayOf (0.12 sec)

  1. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

    import com.google.common.hash.HashTestUtils.RandomHasherAction;
    import java.io.ByteArrayOutputStream;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.List;
    import java.util.Random;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for AbstractStreamingHasher.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

     * under the License.
     */
    package org.apache.maven.repository;
    
    import javax.inject.Inject;
    
    import java.io.File;
    import java.nio.file.Path;
    import java.util.Arrays;
    import java.util.List;
    import java.util.Map;
    import java.util.Optional;
    import java.util.concurrent.ConcurrentHashMap;
    
    import org.apache.maven.SimpleLookup;
    import org.apache.maven.api.ProducedArtifact;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        ImmutableList<Integer>[] array =
            (ImmutableList<Integer>[]) new ImmutableList<?>[] {ImmutableList.of(1)};
        TypeToken<ImmutableList<Integer>[]> type = new TypeToken<ImmutableList<Integer>[]>() {};
        map.putInstance(type, array);
        assertEquals(1, map.size());
        assertThat(map.getInstance(type)).asList().containsExactly(array[0]);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

            }
        }
    
        /**
         * LSA SID array structure for batch SID operations.
         */
        public static class LsarSidArray extends NdrObject {
    
            /**
             * Default constructor for LsarSidArray.
             */
            public LsarSidArray() {
                // Default constructor
            }
    
            /** Number of SIDs in the array. */
            public int num_sids;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 42.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java

        }
    
        /**
         * Creates a byte array representing a Kerberos ticket for testing purposes.
         * @param version Kerberos version
         * @param realm Server realm
         * @param principalName Server principal name
         * @param encType Encryption type
         * @param encryptedData Encrypted data
         * @param unknownTag Optional unknown tag number to test error handling
         * @return A byte array representing the ticket
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

            @SuppressWarnings("unchecked") // These come from Entry<K, V> objects somewhere.
            V value = (V) elements[i];
            array[i] = mapEntry(k, value);
          }
          return multimapGenerator.create((Object[]) array).get(k);
        }
      }
    
      static class MultimapAsMapGetGenerator<K, V, M extends Multimap<K, V>>
          extends MultimapGetGenerator<K, V, M> {
    
        public MultimapAsMapGetGenerator(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/Platform.java

     *
     * <p>This class is emulated in GWT.
     *
     * @author Hayward Chan
     */
    @GwtCompatible
    final class Platform {
      static <T> T[] clone(T[] array) {
        return array.clone();
      }
    
      // Class.cast is not supported in GWT.  This method is a no-op in GWT.
      static void checkCast(Class<?> clazz, Object obj) {
        Object unused = clazz.cast(obj);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 04 01:39:13 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/Platform.java

     *
     * <p>This class is emulated in GWT.
     *
     * @author Hayward Chan
     */
    @GwtCompatible
    final class Platform {
      static <T> T[] clone(T[] array) {
        return array.clone();
      }
    
      // Class.cast is not supported in GWT.  This method is a no-op in GWT.
      static void checkCast(Class<?> clazz, Object obj) {
        Object unused = clazz.cast(obj);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 04 01:39:13 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.timer;
    
    import java.io.ByteArrayOutputStream;
    import java.io.OutputStream;
    import java.util.Arrays;
    import java.util.List;
    import java.util.stream.Collectors;
    
    import org.apache.commons.text.StringEscapeUtils;
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

            setField(cmd, "fid", 0x1234);
            setField(cmd, "typeOfLock", (byte) 0x05);
            setField(cmd, "newOpLockLevel", (byte) 0x01);
            setField(cmd, "timeout", 3000L);
            // arrays of one lock and one unlock range
            LockingAndXRange lock = new LockingAndXRange(false);
            lock.encode(new byte[20], 0); // initialise fields by encoding to set pid etc (though not needed)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top