- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for Donovan (0.1 sec)
-
guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
import java.util.concurrent.TimeUnit; import junit.framework.TestCase; /** * Test suite for {@link CacheBuilder}. TODO(cpovirk): merge into CacheBuilderTest? * * @author Jon Donovan */ @GwtCompatible public class CacheBuilderGwtTest extends TestCase { private FakeTicker fakeTicker; @Override protected void setUp() throws Exception { super.setUp();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Aug 05 17:21:46 UTC 2022 - 15.1K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * LocalCache emulation for GWT. * * @param <K> the base key type * @param <V> the base value type * @author Charles Fry * @author Jon Donovan */ public class LocalCache<K, V> implements ConcurrentMap<K, V> { private static final int UNSET_INT = CacheBuilder.UNSET_INT; private final LinkedHashMap<K, Timestamped<V>> cachingHashMap;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 27 19:19:19 UTC 2024 - 21.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stdversion/stdversion.go
return nil, nil } // Don't report diagnostics for modules marked before go1.21, // since at that time the go directive wasn't clearly // specified as a toolchain requirement. // // TODO(adonovan): after go1.21, call GoVersion directly. pkgVersion := any(pass.Pkg).(interface{ GoVersion() string }).GoVersion() if !versions.AtLeast(pkgVersion, "go1.21") { return nil, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 4.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/ast/astutil/enclosing.go
tok(n.Rparen, len(")"))) case *ast.TypeSpec: // TODO(adonovan): TypeSpec.{Doc,Comment}? case *ast.TypeSwitchStmt: children = append(children, tok(n.Switch, len("switch"))) case *ast.UnaryExpr: children = append(children, tok(n.OpPos, len(n.Op.String()))) case *ast.ValueSpec: // TODO(adonovan): ValueSpec.{Doc,Comment}? case *ast.BadDecl, *ast.BadExpr, *ast.BadStmt: // nop
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 18 21:28:13 UTC 2023 - 15.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/shift/shift.go
// license that can be found in the LICENSE file. // Package shift defines an Analyzer that checks for shifts that exceed // the width of an integer. package shift // TODO(adonovan): integrate with ctrflow (CFG-based) dead code analysis. May // have impedance mismatch due to its (non-)treatment of constant // expressions (such as runtime.GOARCH=="386"). import ( "go/ast" "go/constant"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 3.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go
return nil } for _, f := range pass.Files { // TODO(adonovan): use go1.20 f.FileStart if pass.Fset.File(f.Pos()).Name() == filename { return nil } } return fmt.Errorf("Pass.ReadFile: %s is not among OtherFiles, IgnoredFiles, or names of Files", filename) } // TODO(adonovan): use go1.21 slices.Contains. func slicesContains[S ~[]E, E comparable](slice S, x E) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 11.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/facts/facts.go
// we aren't careful about which structs or methods // we rexport: it should be only those referenced // from the API of s.pkg. // TODO(adonovan): opt: be more precise. e.g. // intersect with the set of objects computed by // importMap(s.pkg.Imports()). // TODO(adonovan): opt: implement "shallow" facts. if k.pkg != s.pkg { if k.obj == nil { continue // imported package fact }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 12.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/typeparams/coretype.go
// if t's core type is a pointer; otherwise it returns t. // // Do not assume that Deref(T)==T implies T is not a pointer: // consider "type T *T", for example. // // TODO(adonovan): ideally this would live in typesinternal, but that // creates an import cycle. Move there when we melt this package down. func Deref(t types.Type) types.Type { if ptr, ok := CoreType(t).(*types.Pointer); ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 5.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/assign/assign.go
// Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package assign // TODO(adonovan): check also for assignments to struct fields inside // methods that are on T instead of *T. import ( _ "embed" "fmt" "go/ast" "go/token" "go/types" "reflect" "golang.org/x/tools/go/analysis"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 2.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/flags.go
} // This replicates the minimal subset of // cmd/internal/objabi.AddVersionFlag, which is private to the // go tool yet forms part of our command-line interface. // TODO(adonovan): clarify the contract. // Print the tool version so the build system can track changes. // Formats: // $progname version devel ... buildID=... // $progname version go1.9.1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 19:00:13 UTC 2024 - 12.1K bytes - Viewed (0)