- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,111 for inner2 (0.19 sec)
-
guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
SettableFuture<Object> async = SettableFuture.create(); SettableFuture<Object> inner = SettableFuture.create(); async.setFuture(inner); async.cancel(true); assertTrue(inner.isCancelled()); assertTrue(inner.wasInterrupted()); assertThrows(CancellationException.class, () -> inner.get()); } public void testCancel_resultCancelsInner() throws Exception {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 7.3K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/CrossTaskConstantChangesIncrementalGroovyCompilationIntegrationTest.groovy
def "recompiles outermost class when #visibility inner class contains constant reference"() { source api: [ "class A { public static final int EVIL = 666; }", ], impl: [ "class B {}", "class C { $visibility static class Inner { int foo() { return A.EVIL; } } }", "class D { $visibility class Inner { int foo() { return A.EVIL; } } }",
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 4.2K bytes - Viewed (0) -
cni/pkg/nodeagent/error.go
type PartialAddError struct { inner error } func (e *PartialAddError) Error() string { return fmt.Sprintf("%s: %v", ErrPartialAdd.Error(), e.inner) } func (e *PartialAddError) Unwrap() []error { return []error{ErrPartialAdd, e.inner} } func NewErrPartialAdd(err error) *PartialAddError { return &PartialAddError{ inner: err, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 1K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/mappingToJvm/EmptyBlocksTest.kt
class TopLevel { val configuredLazy = lazy { Inner() } val added = mutableListOf<Inner>() @Suppress("unused") @Configuring fun configuring(block: Inner.() -> Unit = { }) { configuredLazy.value.block() } @Adding fun adding(block: Inner.() -> Unit = { }) = Inner().also(block).also(added::add) @Suppress("unused")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 11:58:18 UTC 2024 - 3.2K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/FirNonStaticMembersScope.kt
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Oct 10 13:38:00 UTC 2023 - 2.4K bytes - Viewed (0) -
test/typeparam/issue53087.go
M() } type S struct { str string } func (s *S) M() {} var _ I = &S{} type CloningMap[K comparable, V any] struct { inner map[K]V } func (cm CloningMap[K, V]) With(key K, value V) CloningMap[K, V] { result := CloneBad(cm.inner) result[key] = value return CloningMap[K, V]{result} } func CloneBad[M ~map[K]V, K comparable, V any](m M) M { r := make(M, len(m))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 08 16:23:09 UTC 2023 - 930 bytes - Viewed (0) -
src/cmd/gofmt/simplify.go
// matches the outer literal's element type exactly, the inner // literal type may be omitted if inner, ok := x.(*ast.CompositeLit); ok { if match(nil, typ, reflect.ValueOf(inner.Type)) { inner.Type = nil } } // if the outer literal's element type is a pointer type *T // and the element is & of a composite literal of type T, // the inner &T may be omitted. if ptr, ok := astType.(*ast.StarExpr); ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 19 20:06:14 UTC 2022 - 4.8K bytes - Viewed (0) -
tools/istio-iptables/pkg/builder/testdata/append-insert-multi-restore.golden
Leonardo Sarra <******@****.***> 1718116194 +0200
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 11 14:29:54 UTC 2024 - 94 bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/graph_pruning.cc
if (reachable_ops->insert(sink_op).second) ops_to_visit->push_back(sink_op); } } GraphPruningPass::GraphPruningPass( llvm::ArrayRef<std::string> ops_to_preserve) { ops_to_preserve_ = ops_to_preserve; } void GraphPruningPass::runOnOperation() { for (const auto& op_name : ops_to_preserve_) { ops_to_preserve_ids_.insert(mlir::StringAttr::get(&getContext(), op_name)); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 23:50:19 UTC 2022 - 7.6K bytes - Viewed (0) -
build-logic/documentation/src/test/resources/org/gradle/test/GroovyClassWithInnerTypes.groovy
class GroovyClassWithInnerTypes implements GroovyInterface { /** * This is an inner enum. */ enum InnerEnum {} /** * This is an inner class. */ static class InnerClass { InnerEnum enumProp /** * This is an inner inner class. */ class AnotherInner { InnerClass outer } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 609 bytes - Viewed (0)