Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for unsafeptr (0.18 sec)

  1. src/cmd/vendor/modules.txt

    golang.org/x/tools/go/analysis/passes/tests
    golang.org/x/tools/go/analysis/passes/timeformat
    golang.org/x/tools/go/analysis/passes/unmarshal
    golang.org/x/tools/go/analysis/passes/unreachable
    golang.org/x/tools/go/analysis/passes/unsafeptr
    golang.org/x/tools/go/analysis/passes/unusedresult
    golang.org/x/tools/go/analysis/unitchecker
    golang.org/x/tools/go/ast/astutil
    golang.org/x/tools/go/ast/inspector
    golang.org/x/tools/go/cfg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types/universe.go

    	AnyType.SetUnderlying(NewInterface(nil))
    	ResumeCheckSize()
    
    	Types[TUNSAFEPTR] = defBasic(TUNSAFEPTR, UnsafePkg, "Pointer")
    
    	Types[TBLANK] = newType(TBLANK)
    	Types[TNIL] = newType(TNIL)
    
    	// simple aliases
    	SimType[TMAP] = TPTR
    	SimType[TCHAN] = TPTR
    	SimType[TFUNC] = TPTR
    	SimType[TUNSAFEPTR] = TPTR
    
    	for et := TINT8; et <= TUINT64; et++ {
    		IsInt[et] = true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/universe.go

    	okforlen[types.TARRAY] = true
    	okforlen[types.TCHAN] = true
    	okforlen[types.TMAP] = true
    	okforlen[types.TSLICE] = true
    	okforlen[types.TSTRING] = true
    
    	okforeq[types.TPTR] = true
    	okforeq[types.TUNSAFEPTR] = true
    	okforeq[types.TINTER] = true
    	okforeq[types.TCHAN] = true
    	okforeq[types.TSTRING] = true
    	okforeq[types.TBOOL] = true
    	okforeq[types.TMAP] = true    // nil only; refined in typecheck
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/pkginit/initAsanGlobals.go

    				ir.NewIndexExpr(base.Pos, globals, ir.NewInt(base.Pos, int64(i))), lname(f)), val)
    			init.Append(typecheck.Stmt(r))
    		}
    		// globals[i].beg = uintptr(unsafe.Pointer(&n))
    		c = tconv(typecheck.NodAddr(n), types.Types[types.TUNSAFEPTR])
    		c = tconv(c, types.Types[types.TUINTPTR])
    		setField("beg", c, i)
    		// Assign globals[i].size.
    		g := n.(*ir.Name)
    		size := g.Type().Size()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 19:36:24 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  5. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/PathTraversalCheckerTest.groovy

            setup:
            assumeFalse(
                ": is only unsafe on Windows systems",
                unsafePath.contains(':') && !isWindows()
            )
    
            expect:
            isUnsafePathName(unsafePath)
            !isUnsafePathName(safePath)
    
            where:
            unsafePath     | safePath
            "/"            | "foo/"
            "\\"           | "foo\\"
            "/foo"         | "foo"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. test/fixedbugs/issue16317.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 16317: cmd/compile: internal compiler error:
    //              unhandled OCONV INT -> TUNSAFEPTR
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 18:03:07 UTC 2016
    - 296 bytes
    - Viewed (0)
  7. src/cmd/compile/internal/walk/select.go

    			init = append(init, typecheck.Stmt(r))
    		}
    
    		c = typecheck.ConvNop(c, types.Types[types.TUNSAFEPTR])
    		setField("c", c)
    		if !ir.IsBlank(elem) {
    			elem = typecheck.ConvNop(elem, types.Types[types.TUNSAFEPTR])
    			setField("elem", elem)
    		}
    
    		// TODO(mdempsky): There should be a cleaner way to
    		// handle this.
    		if base.Flag.Race {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 01:53:41 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types/kind_string.go

    	_ = x[TPTR-17]
    	_ = x[TFUNC-18]
    	_ = x[TSLICE-19]
    	_ = x[TARRAY-20]
    	_ = x[TSTRUCT-21]
    	_ = x[TCHAN-22]
    	_ = x[TMAP-23]
    	_ = x[TINTER-24]
    	_ = x[TFORW-25]
    	_ = x[TANY-26]
    	_ = x[TSTRING-27]
    	_ = x[TUNSAFEPTR-28]
    	_ = x[TIDEAL-29]
    	_ = x[TNIL-30]
    	_ = x[TBLANK-31]
    	_ = x[TFUNCARGS-32]
    	_ = x[TCHANARGS-33]
    	_ = x[TSSA-34]
    	_ = x[TTUPLE-35]
    	_ = x[TRESULTS-36]
    	_ = x[NTYPE-37]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:38 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types/identity.go

    			switch t1.kind {
    			case TINT8, TUINT8, TINT16, TUINT16, TINT32, TUINT32, TINT64, TUINT64, TINT, TUINT, TUINTPTR, TCOMPLEX64, TCOMPLEX128, TFLOAT32, TFLOAT64, TBOOL, TSTRING, TPTR, TUNSAFEPTR:
    				return true
    			}
    			// fall through to unnamed type comparison for complex types.
    			goto cont
    		}
    		// Special case: we keep byte/uint8 and rune/int32
    		// separate for error messages. Treat them as equal.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 20:57:01 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/typebits/typebits.go

    	if !t.HasPointers() {
    		// Note: this case ensures that pointers to not-in-heap types
    		// are not considered pointers by garbage collection and stack copying.
    		return
    	}
    
    	switch t.Kind() {
    	case types.TPTR, types.TUNSAFEPTR, types.TFUNC, types.TCHAN, types.TMAP:
    		if off&int64(types.PtrSize-1) != 0 {
    			base.Fatalf("typebits.Set: invalid alignment, %v", t)
    		}
    		bv.Set(int32(off / int64(types.PtrSize))) // pointer
    
    	case types.TSTRING:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 01:53:41 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top