Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for Donovan (0.17 sec)

  1. src/compress/flate/example_test.go

    	// substrings that match those in the dictionary.
    	const data = `<?xml version="1.0"?>
    <book>
    	<meta name="title" content="The Go Programming Language"/>
    	<meta name="authors" content="Alan Donovan and Brian Kernighan"/>
    	<meta name="published" content="2015-10-26"/>
    	<meta name="isbn" content="978-0134190440"/>
    	<data>...</data>
    </book>
    `
    
    	var b bytes.Buffer
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 12 18:42:35 UTC 2016
    - 6.5K bytes
    - Viewed (0)
  2. android/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: Mon Dec 04 17:37:03 UTC 2017
    - 15K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top