Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 581 - 590 of 3,558 for Gist (0.02 seconds)

  1. internal/store/batch_test.go

    	}
    
    	keys := store.List()
    	if len(keys) > 0 {
    		t.Fatalf("Expected empty store list but got len(list) %v", len(keys))
    	}
    	if err := batch.Add(testItem); err != nil {
    		t.Fatalf("unable to add to the batch; %v", err)
    	}
    	batchLen = batch.Len()
    	if batchLen != 1 {
    		t.Fatalf("expected batch length to be 1 but got %v", batchLen)
    	}
    	keys = store.List()
    	if len(keys) != 1 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveTester.java

        assertTrue(
            "After remove(duplicate), a list should still contain the duplicate element",
            getList().contains(duplicate));
        assertFalse(
            "remove(duplicate) should remove the first instance of the "
                + "duplicate element in the list",
            firstIndex == getList().indexOf(duplicate));
        assertEquals(
            "remove(present) should decrease the size of a list by one.",
            initialSize - 1,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/DefaultRepositoryRequest.java

            return this;
        }
    
        @Override
        public List<ArtifactRepository> getRemoteRepositories() {
            if (remoteRepositories == null) {
                remoteRepositories = new ArrayList<>();
            }
    
            return remoteRepositories;
        }
    
        @Override
        public DefaultRepositoryRequest setRemoteRepositories(List<ArtifactRepository> remoteRepositories) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

            implements ModelInterpolator, Initializable {
    
        private static final List<String> PROJECT_PREFIXES = Arrays.asList("pom.", "project.");
    
        private static final List<String> TRANSLATED_PATH_EXPRESSIONS;
    
        static {
            List<String> translatedPrefixes = new ArrayList<>();
    
            // MNG-1927, MNG-2124, MNG-3355:
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/ArtifactNotFoundException.java

    import java.util.List;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    
    /**
     */
    public class ArtifactNotFoundException extends AbstractArtifactResolutionException {
        private String downloadUrl;
    
        protected ArtifactNotFoundException(
                String message, Artifact artifact, List<ArtifactRepository> remoteRepositories) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

            assertTrue(result > 0);
            List<FileNotifyInformation> notifications = response.getNotifyInformation();
            assertEquals(1, notifications.size());
            assertEquals("offset_test.txt", notifications.get(0).getFileName());
        }
    
        @Test
        @DisplayName("Test getNotifyInformation returns same list instance")
        void testGetNotifyInformationReturnsSameInstance() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapPutTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testPutDuplicateValue() {
        List<Entry<K, V>> entries = copyToList(multimap().entries());
    
        for (Entry<K, V> entry : entries) {
          resetContainer();
    
          K k = entry.getKey();
          V v = entry.getValue();
    
          List<V> values = multimap().get(k);
          List<V> expectedValues = copyToList(values);
    
          assertTrue(multimap().put(k, v));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  8. samples/tlssurvey/src/main/kotlin/okhttp3/survey/ssllabs/UserAgentCapabilities.kt

      val minDhBits: Int,
      val minEcdsaBits: Int,
      val minRsaBits: Int,
      val name: String,
      val npnProtocols: List<String>,
      val platform: String?,
      val requiresSha2: Boolean,
      val signatureAlgorithms: List<Int>,
      val suiteIds: List<Int>,
      val suiteNames: List<String>,
      val supportsCompression: Boolean,
      val supportsNpn: Boolean,
      val supportsRi: Boolean,
      val supportsSni: Boolean,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Apr 02 01:44:15 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/BuildResumptionData.java

     */
    package org.apache.maven.execution;
    
    import java.util.List;
    
    /**
     * This class holds the information required to enable resuming a Maven build with {@code --resume}.
     */
    public class BuildResumptionData {
        /**
         * The list of projects that remain to be built.
         */
        private final List<String> remainingProjects;
    
        public BuildResumptionData(final List<String> remainingProjects) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/ProjectUtils.java

     */
    @Deprecated
    public final class ProjectUtils {
    
        private ProjectUtils() {}
    
        public static List<ArtifactRepository> buildArtifactRepositories(
                List<Repository> repositories, ArtifactRepositoryFactory artifactRepositoryFactory, PlexusContainer c)
                throws InvalidRepositoryException {
    
            List<ArtifactRepository> remoteRepositories = new ArrayList<>();
    
            for (Repository r : repositories) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.8K bytes
    - Click Count (0)
Back to Top