Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for mytest (0.14 sec)

  1. android/guava/src/com/google/common/primitives/Bytes.java

    /**
     * Static utility methods pertaining to {@code byte} primitives, that are not already found in
     * either {@link Byte} or {@link Arrays}, <i>and interpret bytes as neither signed nor unsigned</i>.
     * The methods which specifically treat bytes as signed or unsigned are found in {@link SignedBytes}
     * and {@link UnsignedBytes}.
     *
     * <p>See the Guava User Guide article on <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/HashCodeTest.java

        // These will have the same first 4 bytes (all 0).
        byte[] bytesA = new byte[5];
        byte[] bytesB = new byte[5];
    
        // Change only the last (5th) byte
        bytesA[4] = (byte) 0xbe;
        bytesB[4] = (byte) 0xef;
    
        HashCode hashCodeA = HashCode.fromBytes(bytesA);
        HashCode hashCodeB = HashCode.fromBytes(bytesB);
    
        // They aren't equal...
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/ToStringHelperTest.java

        assertEquals("{}", toTest);
      }
    
      public void testConstructorLenient_anonymousClass() {
        String toTest = MoreObjects.toStringHelper(new Object() {}).toString();
        assertTrue(toTest, toTest.matches(".*\\{\\}"));
      }
    
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testConstructor_classObject() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ListsImplTest.java

        }
        int[] expected = {3, 1, 5, 3, 4, 5};
        checkLastIndexOf(toTest, expected);
      }
    
      private void checkIndexOf(List<?> toTest, int[] expected) {
        int index = 0;
        for (Object obj : toTest) {
          String name = "toTest[" + index + "] (" + obj + ")";
          assertWithMessage(name).that(Lists.indexOfImpl(toTest, obj)).isEqualTo(expected[index]);
          index++;
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilderTest.java

        Test test =
            builder
                .usingGenerator("yam")
                .named("yam")
                .withFeatures(CollectionFeature.NONE)
                .withSetUp(setUpRunnable)
                .withTearDown(tearDownRunnable)
                .createTestSuite();
        TestResult result = new TestResult();
        int timesMyTesterWasRunBeforeSuite = MyTester.timesTestClassWasRun;
        test.run(result);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

                changed = true;
            } else {
                changed = metadata.merge(this.metadata);
            }
    
            // beware meta-versions!
            String version = metadata.getVersion();
            if (Artifact.LATEST_VERSION.equals(version) || Artifact.RELEASE_VERSION.equals(version)) {
                // meta-versions are not valid <version/> values...don't write them.
                metadata.setVersion(null);
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multimap.java

     * ...
     * }</pre>
     *
     * <h3>Views</h3>
     *
     * <p>Much of the power of the multimap API comes from the <i>view collections</i> it provides.
     * These always reflect the latest state of the multimap itself. When they support modification, the
     * changes are <i>write-through</i> (they automatically update the backing multimap). These view
     * collections are:
     *
     * <ul>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        assertThat(Bytes.indexOf(EMPTY, ARRAY234)).isEqualTo(-1);
        assertThat(Bytes.indexOf(ARRAY234, ARRAY1)).isEqualTo(-1);
        assertThat(Bytes.indexOf(ARRAY1, ARRAY234)).isEqualTo(-1);
        assertThat(Bytes.indexOf(ARRAY1, ARRAY1)).isEqualTo(0);
        assertThat(Bytes.indexOf(ARRAY234, ARRAY234)).isEqualTo(0);
        assertThat(Bytes.indexOf(ARRAY234, new byte[] {(byte) 2, (byte) 3})).isEqualTo(0);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilderTest.java

        Test test =
            builder
                .usingGenerator("yam")
                .named("yam")
                .withFeatures(CollectionFeature.NONE)
                .withSetUp(setUpRunnable)
                .withTearDown(tearDownRunnable)
                .createTestSuite();
        TestResult result = new TestResult();
        int timesMyTesterWasRunBeforeSuite = MyTester.timesTestClassWasRun;
        test.run(result);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/ByteArrayAsListTest.java

                ListTestSuiteBuilder.using(new BytesAsListTailSubListGenerator())
                    .named("Bytes.asList, tail subList"),
                ListTestSuiteBuilder.using(new BytesAsListMiddleSubListGenerator())
                    .named("Bytes.asList, middle subList"));
    
        TestSuite suite = new TestSuite();
        for (ListTestSuiteBuilder<Byte> builder : builders) {
          suite.addTest(
              builder
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.5K bytes
    - Viewed (0)
Back to top