Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 1,348 for array2 (0.1 sec)

  1. android/guava-tests/test/com/google/common/io/FilesTest.java

        File asciiFile = getTestFile("ascii.txt");
        File i18nFile = getTestFile("i18n.txt");
        assertTrue(Arrays.equals(ASCII.getBytes(US_ASCII), Files.toByteArray(asciiFile)));
        assertTrue(Arrays.equals(I18N.getBytes(UTF_8), Files.toByteArray(i18nFile)));
        assertTrue(Arrays.equals(I18N.getBytes(UTF_8), Files.asByteSource(i18nFile).read()));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java

                return isLeft ? 1 : -1;
            }
    
            value = FILTER_1.matcher(value).replaceAll("");
    
            List<String> valueTokens = new ArrayList<>(Arrays.asList(FILTER_2.split(value)));
            List<String> rangeValueTokens = new ArrayList<>(Arrays.asList(FILTER_3.split(rangeValue.value)));
    
            addZeroTokens(valueTokens, 3);
            addZeroTokens(rangeValueTokens, 3);
    
            for (int i = 0; i < 3; i++) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTestSuiteBuilder.java

    import com.google.common.collect.testing.testers.CollectionSizeTester;
    import com.google.common.collect.testing.testers.CollectionToArrayTester;
    import com.google.common.collect.testing.testers.CollectionToStringTester;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.List;
    
    /**
     * Abstract superclass of all test-suite builders for collection interfaces.
     *
     * @author George van den Driessche
     */
    @GwtIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/lang/StringUtilTest.java

            final String[] array = StringUtil.split("aaa\nbbb", "\n");
            assertEquals("1", 2, array.length);
            assertEquals("2", "aaa", array[0]);
            assertEquals("3", "bbb", array[1]);
        }
    
        /**
         *
         */
        @Test
        public void testSplit2() {
            final String[] array = StringUtil.split("aaa, bbb", ", ");
            assertEquals("1", 2, array.length);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 04 01:39:13 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/RegularImmutableMap.java

          throws BucketOverflowException {
        /*
         * The cast is safe: n==entryArray.length means that we have filled the whole array with Entry
         * instances, in which case it is safe to cast it from an array of nullable entries to an array
         * of non-null entries.
         */
        @SuppressWarnings("nullness")
        Entry<K, V>[] entries =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/exentity/AccessToken.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.es.config.exentity;
    
    import java.util.Arrays;
    import java.util.Date;
    
    import org.codelibs.fess.es.config.bsentity.BsAccessToken;
    
    /**
     * @author ESFlute (using FreeGen)
     */
    public class AccessToken extends BsAccessToken {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/DocMapTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.util;
    
    import java.util.Arrays;
    import java.util.LinkedHashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class DocMapTest extends UnitFessTestCase {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/AndArtifactFilterTest.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.filter;
    
    import java.util.Arrays;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. tests/test_request_body_parameters_media_type.py

                            "data": {"$ref": "#/components/schemas/Shop"},
                            "included": {
                                "title": "Included",
                                "type": "array",
                                "items": {"$ref": "#/components/schemas/Product"},
                                "default": [],
                            },
                        },
                    },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 6.4K bytes
    - Viewed (0)
Back to top