Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for argptr (0.2 sec)

  1. src/cmd/compile/internal/ssa/shift_test.go

    	fun := c.Fun("entry",
    		Bloc("entry",
    			Valu("mem", OpInitMem, types.TypeMem, 0, nil),
    			Valu("SP", OpSP, c.config.Types.Uintptr, 0, nil),
    			Valu("argptr", OpOffPtr, ptyp, 8, nil, "SP"),
    			Valu("resptr", OpOffPtr, ptyp, 16, nil, "SP"),
    			Valu("load", OpLoad, typ, 0, nil, "argptr", "mem"),
    			Valu("c", OpConst64, c.config.Types.UInt64, amount, nil),
    			Valu("shift", op, typ, 0, nil, "load", "c"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/sccp.go

    	// 	switch op {
    	// 	case OpAdd16:
    	//		res.val = newConst(argLt1.val.AuxInt16() + argLt2.val.AuxInt16())
    	// 	case OpAdd32:
    	// 		res.val = newConst(argLt1.val.AuxInt32() + argLt2.val.AuxInt32())
    	//	case OpDiv8:
    	//		if !isDivideByZero(argLt2.val.AuxInt8()) {
    	//			res.val = newConst(argLt1.val.AuxInt8() / argLt2.val.AuxInt8())
    	//		}
    	//  ...
    	// 	}
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:54:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/process/internal/JvmOptions.java

            for (Object argument : arguments) {
                String argStr = argument.toString();
    
                if (argStr.equals("-ea") || argStr.equals("-enableassertions")) {
                    assertionsEnabled = true;
                } else if (argStr.equals("-da") || argStr.equals("-disableassertions")) {
                    assertionsEnabled = false;
                } else if (argStr.startsWith(XMS_PREFIX)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:45:59 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  4. src/runtime/tagptr.go

    Ian Lance Taylor <******@****.***> 1681508172 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 20:22:50 UTC 2023
    - 496 bytes
    - Viewed (0)
  5. test/interface/bigdata.go

    func test(name string, i I) {
    	m := i.M()
    	if m != 12345 {
    		println(name, m)
    		bad = true
    	}
    }
    
    func ptrs() {
    	var bigptr BigPtr = BigPtr{ 10000, 2000, 300, 45 }
    	var smallptr SmallPtr = SmallPtr{ 12345 }
    	var intptr IntPtr = 12345
    
    //	test("bigptr", bigptr)
    	test("&bigptr", &bigptr)
    //	test("smallptr", smallptr)
    	test("&smallptr", &smallptr)
    //	test("intptr", intptr)
    	test("&intptr", &intptr)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 19 06:33:41 UTC 2012
    - 1.4K bytes
    - Viewed (0)
  6. internal/arn/arn_test.go

    			}
    		})
    	}
    }
    
    func TestParse(t *testing.T) {
    	type args struct {
    		arnStr string
    	}
    	tests := []struct {
    		name    string
    		args    args
    		wantArn ARN
    		wantErr bool
    	}{
    		{
    			name: "valid ARN must succeed",
    			args: args{
    				arnStr: "arn:minio:iam:us-east-1::role/my-role",
    			},
    			wantArn: ARN{
    				Partition:    "minio",
    				Service:      "iam",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 08:31:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. test/torture.go

    		Children[0].(*UArr).
    		Children[0]
    }
    
    type UArrPtr struct {
    	Children *[2]J
    }
    
    func (u *UArrPtr) Child(n int) J { return u.Children[n] }
    
    func ChainAssertArrayptrIndex(u *UArrPtr) J {
    	return u.
    		Children[0].(*UArrPtr).
    		Children[0].(*UArrPtr).
    		Children[0].(*UArrPtr).
    		Children[0].(*UArrPtr).
    		Children[0].(*UArrPtr).
    		Children[0].(*UArrPtr).
    		Children[0].(*UArrPtr).
    		Children[0].(*UArrPtr).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 01 07:20:51 UTC 2014
    - 7.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/crossVersionTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheCrossVersionTest.groovy

        }
    
        void runPrevious() {
            previousExecuter.withArguments(argFor(previous.version), 'help').run()
        }
    
        void runCurrent() {
            currentExecuter.withArguments(argFor(current.version), 'help').run()
        }
    
        private static String argFor(GradleVersion version) {
            version.baseVersion < GradleVersion.version("6.6")
                ? "--${LONG_OPTION}=on"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. src/math/rand/v2/regress_test.go

    					val = fmt.Sprintf("%#v", out)
    				} else {
    					val = fmt.Sprintf("%T(%v)", out, out)
    				}
    				fmt.Fprintf(&buf, "\t%s, // %s(%s)\n", val, m.Name, argstr)
    			} else if p >= len(regressGolden) {
    				t.Errorf("r.%s(%s) = %v, missing golden value", m.Name, argstr, out)
    			} else {
    				want := regressGolden[p]
    				if m.Name == "Int" {
    					want = int64(int(uint(want.(int64)) << 1 >> 1))
    				}
    				if m.Name == "Uint" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:03:11 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  10. src/math/rand/regress_test.go

    					val = fmt.Sprintf("%T(%v)", out, out)
    				}
    				fmt.Printf("\t%s, // %s(%s)\n", val, m.Name, argstr)
    			} else {
    				want := regressGolden[p]
    				if m.Name == "Int" {
    					want = int64(int(uint(want.(int64)) << 1 >> 1))
    				}
    				if !reflect.DeepEqual(out, want) {
    					t.Errorf("r.%s(%s) = %v, want %v", m.Name, argstr, out, want)
    				}
    			}
    			p++
    		}
    	}
    	if *printgolden {
    		fmt.Printf("}\n")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 17.8K bytes
    - Viewed (0)
Back to top