Search Options

Results per page
Sort
Preferred Languages
Advance

Results 821 - 830 of 1,539 for result1 (0.06 sec)

  1. guava-tests/test/com/google/common/collect/IteratorsTest.java

                    .iterator();
        Iterator<Integer> result = Iterators.concat(input);
        assertEquals(1, (int) result.next());
        assertEquals(2, (int) result.next());
        assertThrows(NullPointerException.class, () -> result.hasNext());
        assertThrows(NullPointerException.class, () -> result.next());
        // There is no way to get "through" to the 3.  Buh-bye
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  2. migrator/migrator.go

    	}
    
    	for _, value := range values {
    		if v, ok := value.(string); ok {
    			results = append(results, v)
    		} else {
    			parseDependence(value, true)
    		}
    	}
    
    	for _, name := range modelNames {
    		insertIntoOrderedList(name)
    	}
    
    	for _, name := range orderedModelNames {
    		results = append(results, valuesMap[name].Statement.Dest)
    	}
    	return
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Apr 26 07:15:49 UTC 2024
    - 29K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        }
      }
    
      /**
       * Verifies that a collection is immutable.
       *
       * <p>A collection is considered immutable if:
       *
       * <ol>
       *   <li>All its mutation methods result in UnsupportedOperationException, and do not change the
       *       underlying contents.
       *   <li>All methods that return objects that can indirectly mutate the collection throw
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

                    }
                }
            }
            return decoded;
        }
    
        public int hashCode() {
            final int prime = 31;
            int result = 1;
            result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
            return result;
        }
    
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if (obj == null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                    return new ArrayList<String>(layout.get(key).getValueLines());
                }
            }
            List<String> result = new ArrayList<String>();
            if (storage.containsKey(key)) {
                result.add(storage.get(key));
            }
            return result;
        }
    
        public List<String> getComments(String key) {
            if (layout.containsKey(key)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  6. cmd/metacache-entries_test.go

    	got := entries.entries().names()
    	if !reflect.DeepEqual(got, want) {
    		t.Errorf("got unexpected result: %#v", got)
    	}
    
    	// Try with prefix
    	entries = org
    	entries.forwardTo("src/compress/zlib/reader_t")
    	got = entries.entries().names()
    	if !reflect.DeepEqual(got, want) {
    		t.Errorf("got unexpected result: %#v", got)
    	}
    }
    
    func Test_metaCacheEntries_merge(t *testing.T) {
    	org := loadMetacacheSampleEntries(t)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 31.6K bytes
    - Viewed (0)
  7. istioctl/pkg/admin/istiodconfig.go

    			ch <- struct {
    				err       error
    				scopeName string
    			}{err: err, scopeName: si.Name}
    		}(scope)
    	}
    	wg.Wait()
    	close(ch)
    	for result := range ch {
    		if result.err != nil {
    			return fmt.Errorf("failed updating Scope %s: %v", result.scopeName, result.err)
    		}
    	}
    	return nil
    }
    
    func (c *ControlzClient) GetScope(scope string) (*ScopeInfo, error) {
    	var s ScopeInfo
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/Cache.java

       *
       * <p>Among the improvements that this method and {@code LoadingCache.get(K)} both provide are:
       *
       * <ul>
       *   <li>{@linkplain LoadingCache#get(Object) awaiting the result of a pending load} rather than
       *       starting a redundant one
       *   <li>eliminating the error-prone caching boilerplate
       *   <li>tracking load {@linkplain #stats statistics}
       * </ul>
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Aug 07 02:38:22 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  9. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

    import org.gradle.api.GradleException
    import org.gradle.api.file.DirectoryProperty
    import org.gradle.api.file.FileSystemOperations
    import org.gradle.api.internal.tasks.testing.junit.result.TestResultSerializer
    import org.gradle.api.provider.MapProperty
    import org.gradle.api.services.BuildService
    import org.gradle.api.services.BuildServiceParameters
    import org.gradle.internal.exceptions.DefaultMultiCauseException
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 28 16:19:47 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Iterators.java

        checkNotNull(elementsToRemove);
        boolean result = false;
        while (removeFrom.hasNext()) {
          if (elementsToRemove.contains(removeFrom.next())) {
            removeFrom.remove();
            result = true;
          }
        }
        return result;
      }
    
      /**
       * Removes every element that satisfies the provided predicate from the iterator. The iterator
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
Back to top