Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 7,326 for Gather (0.05 sec)

  1. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

        // and friends, and that we will eventually expect to see garbage-collected. The assumption
        // is that the ClassLoader of this test is a URLClassLoader, and that it loads FRQ itself
        // rather than delegating to a parent ClassLoader. If this assumption is violated the test will
        // fail and will need to be rewritten.
    
        Class<?> frqC = FinalizableReferenceQueue.class;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/AbstractGraph.java

        if (obj == this) {
          return true;
        }
        if (!(obj instanceof Graph)) {
          return false;
        }
        Graph<?> other = (Graph<?>) obj;
    
        return isDirected() == other.isDirected()
            && nodes().equals(other.nodes())
            && edges().equals(other.edges());
      }
    
      @Override
      public final int hashCode() {
        return edges().hashCode();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadataGenerator.java

    import java.util.LinkedHashMap;
    import java.util.Map;
    
    import org.eclipse.aether.RepositorySystemSession;
    import org.eclipse.aether.artifact.Artifact;
    import org.eclipse.aether.deployment.DeployRequest;
    import org.eclipse.aether.impl.MetadataGenerator;
    import org.eclipse.aether.installation.InstallRequest;
    import org.eclipse.aether.metadata.Metadata;
    import org.eclipse.aether.util.ConfigUtils;
    
    /**
     * Maven GA level metadata generator.
     *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

        hasher.putShort((short) 0x0201);
        hasher.assertBytes(new byte[] {1, 2});
      }
    
      public void testInt() {
        TestHasher hasher = new TestHasher();
        hasher.putInt(0x04030201);
        hasher.assertBytes(new byte[] {1, 2, 3, 4});
      }
    
      public void testLong() {
        TestHasher hasher = new TestHasher();
        hasher.putLong(0x0807060504030201L);
        hasher.assertBytes(new byte[] {1, 2, 3, 4, 5, 6, 7, 8});
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleRepositoryListener.java

     * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository.internal.util;
    
    import java.io.PrintStream;
    
    import org.eclipse.aether.AbstractRepositoryListener;
    import org.eclipse.aether.RepositoryEvent;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *       Guava while continuing to run it internally, as we do with many other tests. This would
     *       suffice because we our Android users and tests are using the open-source version, which
     *       would no longer have the problematic test. But why bother when we can instead strip it with
     *       a more precisely named annotation?
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 07 15:40:13 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

     */
    public class HashingInputStreamTest extends TestCase {
      private Hasher hasher;
      private HashFunction hashFunction;
      private static final byte[] testBytes = new byte[] {'y', 'a', 'm', 's'};
      private ByteArrayInputStream buffer;
    
      @SuppressWarnings("DoNotMock")
      @Override
      protected void setUp() throws Exception {
        super.setUp();
        hasher = mock(Hasher.class);
        hashFunction = mock(HashFunction.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 02 16:24:50 UTC 2020
    - 5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

     */
    public class HashingInputStreamTest extends TestCase {
      private Hasher hasher;
      private HashFunction hashFunction;
      private static final byte[] testBytes = new byte[] {'y', 'a', 'm', 's'};
      private ByteArrayInputStream buffer;
    
      @SuppressWarnings("DoNotMock")
      @Override
      protected void setUp() throws Exception {
        super.setUp();
        hasher = mock(Hasher.class);
        hashFunction = mock(HashFunction.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 02 16:24:50 UTC 2020
    - 5K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenWorkspaceReader.java

     * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository.internal;
    
    import org.apache.maven.model.Model;
    import org.eclipse.aether.artifact.Artifact;
    import org.eclipse.aether.repository.WorkspaceReader;
    
    /**
     * MavenWorkspaceReader
     *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

            }
            sb.append(comp);
          }
          dummy ^= sb.toString().length();
        }
        return dummy;
      }
    
      /**
       * Similar to the above, but keeps a boolean flag rather than checking for the string accumulated
       * so far being empty. As a result, it does not have the above-mentioned bug.
       */
      @Benchmark
      int booleanIfFirst(int reps) {
        int dummy = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.9K bytes
    - Viewed (0)
Back to top