Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 773 for checkMod (0.14 sec)

  1. src/runtime/unsafe.go

    }
    
    func unsafestringcheckptr(ptr unsafe.Pointer, len64 int64) {
    	unsafestring64(ptr, len64)
    
    	// Check that underlying array doesn't straddle multiple heap objects.
    	// unsafestring64 has already checked for overflow.
    	if checkptrStraddles(ptr, uintptr(len64)) {
    		throw("checkptr: unsafe.String result straddles multiple allocations")
    	}
    }
    
    func panicunsafestringlen() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:51:18 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Suppliers.java

        public T get() {
          // A 2-field variant of Double Checked Locking.
          if (!initialized) {
            synchronized (this) {
              if (!initialized) {
                T t = delegate.get();
                value = t;
                initialized = true;
                return t;
              }
            }
          }
          // This is safe because we checked `initialized`.
          return uncheckedCastNullableTToT(value);
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/authoring-builds/directory_layout.adoc

    - Version-specific caches in all `caches/<GRADLE_VERSION>/` directories are checked for whether they are still in use.
    +
    If not, directories for release versions are deleted after 30 days of inactivity, and snapshot versions after 7 days.
    - Shared caches in `caches/` (e.g., `jars-*`) are checked for whether they are still in use.
    +
    If no Gradle version still uses them, they are deleted.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 23:00:38 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. test/fixedbugs/bug392.dir/pkg3.go

    // Copyright 2012 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.
    
    // Use the functions in pkg2.go so that the inlined
    // forms get type-checked.
    
    package pkg3
    
    import "./pkg2"
    
    var x = pkg2.F()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 303 bytes
    - Viewed (0)
  5. src/net/http/internal/chunked.go

    	if !ok {
    		br = bufio.NewReader(r)
    	}
    	return &chunkedReader{r: br}
    }
    
    type chunkedReader struct {
    	r        *bufio.Reader
    	n        uint64 // unread bytes in chunk
    	err      error
    	buf      [2]byte
    	checkEnd bool  // whether need to check for \r\n chunk footer
    	excess   int64 // "excessive" chunk overhead, for malicious sender detection
    }
    
    func (cr *chunkedReader) beginChunk() {
    	// chunk-size CRLF
    	var line []byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. test/index1.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Generate test of index and slice bounds checks.
    // The output is error checked.
    
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 305 bytes
    - Viewed (0)
  7. src/internal/types/testdata/check/importdecl1/importdecl1a.go

    package importdecl1
    
    import "go/ast"
    import . "unsafe"
    
    var _ Pointer // use dot-imported package unsafe
    
    // Test cases for issue 23914.
    
    type A interface {
    	// Methods m1, m2 must be type-checked in this file scope
    	// even when embedded in an interface in a different
    	// file of the same package.
    	m1() ast.Node
    	m2() Pointer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 521 bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/telemetry/.gitattributes

    #
    # Windows users contributing to Go will need to use a modern version
    # of git and editors capable of LF line endings.
    #
    # Windows .bat files are known to have multiple bugs when run with LF
    # endings. So if they are checked in with CRLF endings, there should
    # be a test like the one in test/winbatch.go in the go repository.
    # (See golang.org/issue/37791.)
    #
    # See golang.org/issue/9281.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 545 bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AbstractSortedMultiset.java

          @ParametricNullness E fromElement,
          BoundType fromBoundType,
          @ParametricNullness E toElement,
          BoundType toBoundType) {
        // These are checked elsewhere, but NullPointerTester wants them checked eagerly.
        checkNotNull(fromBoundType);
        checkNotNull(toBoundType);
        return tailMultiset(fromElement, fromBoundType).headMultiset(toElement, toBoundType);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  10. src/go/types/eval.go

    // set.
    //
    // The meaning of the parameters fset, pkg, and pos is the
    // same as in [CheckExpr]. An error is returned if expr cannot
    // be parsed successfully, or the resulting expr AST cannot be
    // type-checked.
    func Eval(fset *token.FileSet, pkg *Package, pos token.Pos, expr string) (_ TypeAndValue, err error) {
    	// parse expressions
    	node, err := parser.ParseExprFrom(fset, "eval", expr, 0)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top