Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,811 for arrays (0.07 sec)

  1. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            actual = Arrays.asList(KuromojiCSVUtil.parse(value));
            assertThat(actual, is(expected));
    
            value = " ";
            expected = Arrays.asList(" ");
            actual = Arrays.asList(KuromojiCSVUtil.parse(value));
            assertThat(actual, is(expected));
    
            value = "";
            expected = Arrays.asList("");
            actual = Arrays.asList(KuromojiCSVUtil.parse(value));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

      }
    
      public void testCreation_emptyArray() {
        String[] array = new String[0];
        Multiset<String> multiset = ImmutableMultiset.copyOf(array);
        assertTrue(multiset.isEmpty());
      }
    
      public void testCreation_arrayOfOneElement() {
        String[] array = new String[] {"a"};
        Multiset<String> multiset = ImmutableMultiset.copyOf(array);
        assertEquals(HashMultiset.create(asList("a")), multiset);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Ints.java

       *     in an {@code int}
       */
      public static int[] concat(int[]... arrays) {
        long length = 0;
        for (int[] array : arrays) {
          length += array.length;
        }
        int[] result = new int[checkNoOverflow(length)];
        int pos = 0;
        for (int[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
          pos += array.length;
        }
        return result;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

        }
    
        public void sort() {
            if (inputs != null) {
                Arrays.sort(inputs);
            }
            if (newInputs != null) {
                Arrays.sort(newInputs);
            }
        }
    
        @Override
        public int hashCode() {
            return Objects.hash(Arrays.hashCode(inputs), output);
        }
    
        @Override
        public boolean equals(final Object obj) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolutionExceptionTest.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.resolver;
    
    import java.util.Arrays;
    import java.util.List;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    /**
     * Test the artifact resolution exception message
     *
     */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java

    import com.google.common.collect.ForwardingObject;
    import com.google.common.collect.Iterables;
    import com.google.common.testing.ForwardingWrapperTester;
    import java.lang.reflect.Method;
    import java.util.Arrays;
    
    /**
     * Tester for typical subclass of {@link ForwardingObject} by using Mockito.
     *
     * @author Ben Yu
     */
    final class ForwardingObjectTester {
    
      private static final Method DELEGATE_METHOD;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 05 19:41:03 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. compat/maven-model/src/test/java/org/apache/maven/model/merge/MavenMergerTest.java

                    Contributor.newBuilder().email("******@****.***").build();
    
            Model target =
                    Model.newBuilder().contributors(Arrays.asList(contributor)).build();
    
            Model source =
                    Model.newBuilder().contributors(Arrays.asList(contributor)).build();
    
            Model merged = mavenMerger.merge(target, source, true, null);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/scopes/Maven4ScopeManagerConfiguration.java

            return false;
        }
    
        @Override
        public BuildScopeSource getBuildScopeSource() {
            return new BuildScopeMatrixSource(
                    Arrays.asList(CommonBuilds.PROJECT_PATH_MAIN, CommonBuilds.PROJECT_PATH_TEST),
                    Arrays.asList(CommonBuilds.BUILD_PATH_COMPILE, CommonBuilds.BUILD_PATH_RUNTIME));
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/HashCodeTest.java

        byte[] dest = new byte[4];
        HashCode.fromInt(42).writeBytesTo(dest, 0, 4);
        assertTrue(Arrays.equals(HashCode.fromInt(42).asBytes(), dest));
      }
    
      public void testLongWriteBytesTo() {
        byte[] dest = new byte[8];
        HashCode.fromLong(42).writeBytesTo(dest, 0, 8);
        assertTrue(Arrays.equals(HashCode.fromLong(42).asBytes(), dest));
      }
    
      private static final HashCode HASH_ABCD =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/ldap/LdapUser.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.ldap;
    
    import static org.codelibs.core.stream.StreamUtil.stream;
    
    import java.util.Arrays;
    import java.util.Hashtable;
    
    import org.apache.commons.lang3.ArrayUtils;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.entity.FessUser;
    import org.codelibs.fess.mylasta.action.FessUserBean;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top