- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for isA (0.14 sec)
-
guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java
when(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).thenReturn(existingZero); // since the putIfAbsent returned a zero, we'll try to replace... when(backingMap.replace(eq(KEY), eq(existingZero), isA(AtomicInteger.class))).thenReturn(false); // ...and then putIfAbsent. Simulate failure on both when(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).thenReturn(existing);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 14.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java
when(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).thenReturn(existingZero); // since the putIfAbsent returned a zero, we'll try to replace... when(backingMap.replace(eq(KEY), eq(existingZero), isA(AtomicInteger.class))).thenReturn(false); // ...and then putIfAbsent. Simulate failure on both when(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).thenReturn(existing);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 14.2K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java
import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import org.slf4j.Logger; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.mockito.ArgumentMatchers.isA; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; class DefaultToolchainManagerTest { // Mocks to inject into toolchainManager @Mock
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Sun Apr 16 12:54:16 GMT 2023 - 5.9K bytes - Viewed (0) -
tensorflow/c/eager/tracing_utils.cc
#include "tensorflow/core/platform/errors.h" namespace tensorflow { namespace tracing { Status MaybeSetOpName(AbstractOperation* op, const char* op_name) { if (isa<TracingOperation>(op)) { TF_RETURN_IF_ERROR(dyn_cast<TracingOperation>(op)->SetOpName(op_name)); } if (isa<gradients::TapeOperation>(op)) { TF_RETURN_IF_ERROR(MaybeSetOpName( dyn_cast<gradients::TapeOperation>(op)->GetBackingOperation(), op_name)); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Feb 27 13:57:45 GMT 2024 - 1.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/EventBusTest.java
* <p>Also checks delivery ordering in such cases. */ public void testPolymorphicDistribution() { // Three catchers for related types String, Object, and Comparable<?>. // String isa Object // String isa Comparable<?> // Comparable<?> isa Object StringCatcher stringCatcher = new StringCatcher(); final List<Object> objectEvents = Lists.newArrayList(); Object objCatcher = new Object() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 11.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
* <p>Also checks delivery ordering in such cases. */ public void testPolymorphicDistribution() { // Three catchers for related types String, Object, and Comparable<?>. // String isa Object // String isa Comparable<?> // Comparable<?> isa Object StringCatcher stringCatcher = new StringCatcher(); final List<Object> objectEvents = Lists.newArrayList(); Object objCatcher = new Object() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 11.3K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/riscv64.s
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include "../../../../../runtime/textflag.h" TEXT asmtest(SB),DUPOK|NOSPLIT,$0 start: // Unprivileged ISA // 2.4: Integer Computational Instructions ADDI $2047, X5 // 9382f27f ADDI $-2048, X5 // 93820280 ADDI $2048, X5 // 9382024093820240 ADDI $-2049, X5 // 938202c09382f2bf
Others - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Mar 22 04:42:21 GMT 2024 - 16.7K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/ppc64_p10.s
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This contains the valid opcode combinations available // in cmd/internal/obj/ppc64/asm9.go which exist for // POWER10/ISA 3.1. #include "../../../../../runtime/textflag.h" TEXT asmtest(SB), DUPOK|NOSPLIT, $0 BRD R1, R2 // 7c220176 BRH R1, R2 // 7c2201b6
Others - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Mar 23 20:52:57 GMT 2023 - 14.3K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/nn_grad.cc
}; Status BroadcastMul(AbstractContext* ctx, AbstractTensorHandle* vec, AbstractTensorHandle* mat, absl::Span<AbstractTensorHandle*> outputs) { if (!isa<ImmediateExecutionContext>(ctx)) { // TODO(b/168850692): Fix this. return errors::Unimplemented( "BroadcastMul is not supported in tracing mode yet."); }
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Feb 28 13:53:47 GMT 2024 - 5.7K bytes - Viewed (0) -
maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar
either(Matcher); public static transient Matcher describedAs(String, Matcher, Object[]); public static Matcher everyItem(Matcher); public static Matcher is(Object); public static Matcher is(Matcher); public static Matcher is(Class); public static Matcher isA(Class); public static Matcher anything(); public static Matcher anything(String); public static Matcher hasItem(Object); public static Matcher hasItem(Matcher); public static transient Matcher hasItems(Object[]); public static transient Matcher hasItems(Matcher[]);...
Archive - Registered: Sun Apr 14 03:35:08 GMT 2024 - Last Modified: Sun Oct 02 08:41:25 GMT 2022 - 44K bytes - Viewed (0)