Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,811 for arrays (0.12 sec)

  1. guava-tests/test/com/google/common/primitives/BytesTest.java

        assertThat(Bytes.concat(ARRAY1)).isEqualTo(ARRAY1);
        assertThat(Bytes.concat(ARRAY1)).isNotSameInstanceAs(ARRAY1);
        assertThat(Bytes.concat(EMPTY, ARRAY1, EMPTY)).isEqualTo(ARRAY1);
        assertThat(Bytes.concat(ARRAY1, ARRAY1, ARRAY1))
            .isEqualTo(new byte[] {(byte) 1, (byte) 1, (byte) 1});
        assertThat(Bytes.concat(ARRAY1, ARRAY234))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

                .addValue("z")
                .addValue("")
                .addValue(null)
                .add(SHORT_NAME, Arrays.asList("A"))
                .add(LONG_NAME, Arrays.asList("B"))
                .add(SHORT_NAME, Arrays.asList())
                .add(LONG_NAME, Arrays.asList())
                .addValue(Arrays.asList("C"))
                .addValue(Arrays.asList())
                .add(SHORT_NAME, Collections.singletonMap("k1", "v1"))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/collection/ArrayUtil.java

            assertArgumentNotNull("array", array);
            final boolean[] newArray = (boolean[]) Array.newInstance(boolean.class, array.length + 1);
            System.arraycopy(array, 0, newArray, 0, array.length);
            newArray[array.length] = value;
            return newArray;
        }
    
        /**
         * {@literal byte}配列の末尾に{@literal byte}の値を追加した配列を返します。
         *
         * @param array
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/primitives/UnsignedBytesBenchmark.java

      @BeforeExperiment
      void setUp() throws Exception {
        Random r = new Random();
        ba1 = new byte[length];
        r.nextBytes(ba1);
        ba2 = Arrays.copyOf(ba1, ba1.length);
        // Differ at the last element
        ba3 = Arrays.copyOf(ba1, ba1.length);
        ba4 = Arrays.copyOf(ba1, ba1.length);
        ba3[ba1.length - 1] = (byte) 43;
        ba4[ba1.length - 1] = (byte) 42;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        assertThat(Bytes.concat(ARRAY1)).isEqualTo(ARRAY1);
        assertThat(Bytes.concat(ARRAY1)).isNotSameInstanceAs(ARRAY1);
        assertThat(Bytes.concat(EMPTY, ARRAY1, EMPTY)).isEqualTo(ARRAY1);
        assertThat(Bytes.concat(ARRAY1, ARRAY1, ARRAY1))
            .isEqualTo(new byte[] {(byte) 1, (byte) 1, (byte) 1});
        assertThat(Bytes.concat(ARRAY1, ARRAY234))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        holder.string = "two";
        assertEquals(Arrays.asList(1), builder.build().get("one"));
      }
    
      public void testBuilderPutAllIterable() {
        ImmutableListMultimap.Builder<String, Integer> builder = ImmutableListMultimap.builder();
        builder.putAll("foo", Arrays.asList(1, 2, 3));
        builder.putAll("bar", Arrays.asList(4, 5));
        builder.putAll("foo", Arrays.asList(6, 7));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(Doubles.concat(ARRAY1)).isEqualTo(ARRAY1);
        assertThat(Doubles.concat(ARRAY1)).isNotSameInstanceAs(ARRAY1);
        assertThat(Doubles.concat(EMPTY, ARRAY1, EMPTY)).isEqualTo(ARRAY1);
        assertThat(Doubles.concat(ARRAY1, ARRAY1, ARRAY1))
            .isEqualTo(new double[] {(double) 1, (double) 1, (double) 1});
        assertThat(Doubles.concat(ARRAY1, ARRAY234))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

            loadProtocols("org.codelibs.fess.net.protocol");
    
            if (logger.isDebugEnabled()) {
                logger.debug("web protocols: {}", Arrays.toString(webProtocols));
                logger.debug("file protocols: {}", Arrays.toString(fileProtocols));
            }
        }
    
        protected void loadProtocols(final String basePackage) {
            final List<String> subPackages = new ArrayList<>();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jun 19 01:34:15 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/LegacyRepositorySystemTest.java

            ArtifactRepository repository =
                    repositorySystem.createArtifactRepository("repository", "http://foo", null, null, null);
            repositorySystem.injectAuthentication(Arrays.asList(repository), Arrays.asList(server));
            Authentication authentication = repository.getAuthentication();
            assertNotNull(authentication);
            assertEquals("jason", authentication.getUsername());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Objects.java

        return a == b || (a != null && a.equals(b));
      }
    
      /**
       * Generates a hash code for multiple values. The hash code is generated by calling {@link
       * Arrays#hashCode(Object[])}. Note that array arguments to this method, with the exception of a
       * single Object array, do not get any special handling; their hash codes are based on identity
       * and not contents.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top