Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 86 for newobject (0.12 sec)

  1. test/fixedbugs/issue15747.go

    package p
    
    var global *[]byte
    
    type Q struct{}
    
    type T struct{ M string }
    
    var b bool
    
    func f1(q *Q, xx []byte) interface{} { // ERROR "live at call to newobject: xx$" "live at entry to f1: xx$"
    	// xx was copied from the stack to the heap on the previous line:
    	// xx was live for the first two prints but then it switched to &xx
    	// being live. We should not see plain xx again.
    	if b {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/lastappliedupdater_test.go

    	}
    }
    
    func TestLargeLastApplied(t *testing.T) {
    	tests := []struct {
    		name      string
    		oldObject *unstructured.Unstructured
    		newObject *unstructured.Unstructured
    	}{
    		{
    			name: "old object + new object last-applied annotation is too big",
    			oldObject: func() *unstructured.Unstructured {
    				u := &unstructured.Unstructured{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  3. pkg/kubelet/util/manager/cache_based_manager.go

    		getObject:  getObject,
    		clock:      clock,
    		items:      make(map[objectKey]*objectStoreItem),
    		defaultTTL: ttl,
    		getTTL:     getTTL,
    	}
    }
    
    func isObjectOlder(newObject, oldObject runtime.Object) bool {
    	if newObject == nil || oldObject == nil {
    		return false
    	}
    	newVersion, _ := storage.APIObjectVersioner{}.ObjectResourceVersion(newObject)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ir/symtab.go

    	Goschedguarded    *obj.LSym
    	Growslice         *obj.LSym
    	InterfaceSwitch   *obj.LSym
    	Memmove           *obj.LSym
    	Msanread          *obj.LSym
    	Msanwrite         *obj.LSym
    	Msanmove          *obj.LSym
    	Newobject         *obj.LSym
    	Newproc           *obj.LSym
    	Panicdivide       *obj.LSym
    	Panicshift        *obj.LSym
    	PanicdottypeE     *obj.LSym
    	PanicdottypeI     *obj.LSym
    	Panicnildottype   *obj.LSym
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 17:02:26 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. test/codegen/strings.go

    }
    
    func CountBytes(s []byte) int {
    	// amd64:-`.*runtime.slicebytetostring`
    	return len(string(s))
    }
    
    func ToByteSlice() []byte { // Issue #24698
    	// amd64:`LEAQ\ttype:\[3\]uint8`
    	// amd64:`CALL\truntime\.newobject`
    	// amd64:-`.*runtime.stringtoslicebyte`
    	return []byte("foo")
    }
    
    // Loading from read-only symbols should get transformed into constants.
    func ConstantLoad() {
    	// 12592 = 0x3130
    	//    50 = 0x32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 26 17:17:28 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  6. src/cmd/internal/goobj/builtinlist.go

    // Code generated by mkbuiltin.go. DO NOT EDIT.
    
    package goobj
    
    var builtins = [...]struct {
    	name string
    	abi  int
    }{
    	{"runtime.newobject", 1},
    	{"runtime.mallocgc", 1},
    	{"runtime.panicdivide", 1},
    	{"runtime.panicshift", 1},
    	{"runtime.panicmakeslicelen", 1},
    	{"runtime.panicmakeslicecap", 1},
    	{"runtime.throwinit", 1},
    	{"runtime.panicwrap", 1},
    	{"runtime.gopanic", 1},
    	{"runtime.gorecover", 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. test/nilptr3.go

    type TT struct {
    	SS
    }
    
    func f(t *TT) *byte {
    	// See issue 17242.
    	s := &t.SS  // ERROR "generated nil check"
    	return &s.x // ERROR "removed nil check"
    }
    
    // make sure not to do nil check for newobject
    func f7() (*Struct, float64) {
    	t := new(Struct)
    	p := &t.Y    // ERROR "removed nil check"
    	return t, *p // ERROR "removed nil check"
    }
    
    func f9() []int {
    	x := new([1]int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. docs/debugging/s3-verify/main.go

    			}
    
    			srcCtnt, srcOk = nextObject(srcCh)
    			tgtCtnt, tgtOk = nextObject(tgtCh)
    			continue
    		}
    
    		fmt.Printf("only in target: %s\n", tgtCtnt.Key)
    		tgtCtnt, tgtOk = nextObject(tgtCh)
    	}
    }
    
    func verifyChecksum(sclnt *minio.Client, srcSha256, tgtSha256 hash.Hash, srcCtnt, tgtCtnt minio.ObjectInfo) (allgood bool) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 22 15:12:47 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/WebApiUtil.java

        private WebApiUtil() {
        }
    
        public static void setObject(final String name, final Object value) {
            LaRequestUtil.getOptionalRequest().ifPresent(req -> req.setAttribute(name, value));
        }
    
        @SuppressWarnings("unchecked")
        public static <T> T getObject(final String name) {
            return LaRequestUtil.getOptionalRequest().map(req -> (T) req.getAttribute(name)).orElse(null);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. platforms/software/security/src/main/java/org/gradle/security/internal/SecuritySupport.java

            Object nextObject = objectFactory.nextObject();
            if (nextObject instanceof PGPSignatureList) {
                return (PGPSignatureList) nextObject;
            } else if (nextObject instanceof PGPCompressedData) {
                return readSignatureList(((PGPCompressedData) nextObject).getDataStream(), locationHint);
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:42:50 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top