- Sort Score
- Result 10 results
- Languages All
Results 1461 - 1470 of 1,903 for Recreate (0.04 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java
@ListFeature.Require(SUPPORTS_SET) public void testSet_replacingNull() { E[] elements = createSamplesArray(); int i = aValidIndex(); elements[i] = null; collection = getSubjectGenerator().create(elements); doTestSet(e3()); } private void doTestSet(E newValue) { int index = aValidIndex(); E initialValue = getList().get(index); assertEquals(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.2K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java
/** * Unit tests for {@link AbstractPackageSanityTests}. * * @author Ben Yu */ public class AbstractPackageSanityTestsTest extends TestCase { /* * This is a public type so that the Android test runner can create an instance directly as it * insists upon doing. It then runs the test, which behaves exactly like this package's existing * PackageSanityTests. (The test would run on the JVM, too, if not for the suppression below, and
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 21:37:55 UTC 2019 - 5.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java
private CountDownLatch funcCompletionLatch; @Override protected ListenableFuture<String> buildChainingFuture(ListenableFuture<Integer> inputFuture) { outputFuture = SettableFuture.create(); funcIsWaitingLatch = new CountDownLatch(1); funcCompletionLatch = new CountDownLatch(1); return transformAsync(inputFuture, new ChainingFunction(), directExecutor()); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 6.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java
private CountDownLatch funcCompletionLatch; @Override protected ListenableFuture<String> buildChainingFuture(ListenableFuture<Integer> inputFuture) { outputFuture = SettableFuture.create(); funcIsWaitingLatch = new CountDownLatch(1); funcCompletionLatch = new CountDownLatch(1); return transformAsync(inputFuture, new ChainingFunction(), directExecutor()); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 6.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/StandardRowSortedTable.java
implements RowSortedTable<R, C, V> { /* * TODO(jlevy): Consider adding headTable, tailTable, and subTable methods, * which return a Table view with rows keys in a given range. Create a * RowSortedTable subinterface with the revised methods? */ StandardRowSortedTable( SortedMap<R, Map<C, V>> backingMap, Supplier<? extends Map<C, V>> factory) { super(backingMap, factory); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jul 15 15:41:16 UTC 2021 - 4.3K bytes - Viewed (0) -
guava/src/com/google/common/eventbus/Subscriber.java
* * @author Colin Decker */ @ElementTypesAreNonnullByDefault class Subscriber { /** Creates a {@code Subscriber} for {@code method} on {@code listener}. */ static Subscriber create(EventBus bus, Object listener, Method method) { return isDeclaredThreadSafe(method) ? new Subscriber(bus, listener, method) : new SynchronizedSubscriber(bus, listener, method); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 06 00:47:57 UTC 2021 - 4.7K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractCompositeHashFunction.java
* hashers are the same order as the functions given to the constructor. */ // this could be cleaner if it passed HashCode[], but that would create yet another array... /* protected */ abstract HashCode makeHash(Hasher[] hashers); @Override public Hasher newHasher() { Hasher[] hashers = new Hasher[functions.length];
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 06 00:47:57 UTC 2021 - 5.4K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java
context.setProjectDirectory(tempDir.toFile()); File file = new File(tempDir.resolve("file.txt").toString()); if (!file.createNewFile()) { throw new IOException("Can't create " + file); } } @Test void testRootDirectoryWithNull() { context.setProjectDirectory(null); IllegalStateException e = assertThrows(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.8K bytes - Viewed (0) -
internal/config/errors-utils.go
func (u Err) Hint(m string, args ...interface{}) Err { e := u.Clone() e.hint = fmt.Sprintf(m, args...) return e } // ErrFn function wrapper type ErrFn func(err error) Err // Create a UI error generator, this is needed to simplify // the update of the detailed error message in several places // in MinIO code func newErrFn(msg, action, hint string) ErrFn { return func(err error) Err { u := Err{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 3.8K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt
private val ignorePackages: Set<String> ) { fun analyze(jarFile: File, classesDir: File, manifestFile: File, buildReceipt: File): ClassGraph { val classGraph = classGraph() val jarUri = URI.create("jar:${jarFile.toPath().toUri()}") FileSystems.newFileSystem(jarUri, emptyMap<String, Any>()).use { jarFileSystem -> jarFileSystem.rootDirectories.forEach {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Oct 28 12:55:30 UTC 2024 - 6.8K bytes - Viewed (0)