Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 378 for args_ (0.05 sec)

  1. src/go/types/builtins.go

    	var args []*operand // not valid for _Make, _New, _Offsetof, _Trace
    	var nargs int
    	switch id {
    	default:
    		// check all arguments
    		args = check.exprList(argList)
    		nargs = len(args)
    		for _, a := range args {
    			if a.mode == invalid {
    				return
    			}
    		}
    		// first argument is always in x
    		if nargs > 0 {
    			*x = *args[0]
    		}
    	case _Make, _New, _Offsetof, _Trace:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  2. cmd/iam.go

    	if hasSessionPolicy {
    		return isAllowedSP && (isOwnerDerived || combinedPolicy.IsAllowed(args))
    	}
    
    	// Sub policy not set, this is most common since subPolicy
    	// is optional, use the inherited policies.
    	return isOwnerDerived || combinedPolicy.IsAllowed(args)
    }
    
    func isAllowedBySessionPolicyForServiceAccount(args policy.Args) (hasSessionPolicy bool, isAllowed bool) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoSimple/SimpleAnalysisDemo.kt

        externalFunctions = listOf(::newD),
        defaultImports = listOf(DefaultFqName("com.example", "newD"))
    )
    
    
    object SimpleAnalysisDemo {
        @JvmStatic
        fun main(args: Array<String>) {
            printResolutionResults(
                schema.resolve(
                    """
                        val myB = b()
    
                        a = myB
                        val myD = newD("shared")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. src/internal/trace/order.go

    	return newCtx, true, nil
    }
    
    func (o *ordering) advanceGoStatus(ev *baseEvent, evt *evTable, m ThreadID, gen uint64, curCtx schedCtx) (schedCtx, bool, error) {
    	gid := GoID(ev.args[0])
    	mid := ThreadID(ev.args[1])
    	status := go122.GoStatus(ev.args[2])
    
    	if int(status) >= len(go122GoStatus2GoState) {
    		return curCtx, false, fmt.Errorf("invalid status for goroutine %d: %d", gid, status)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  5. pkg/kubelet/container/helpers.go

    	mapping := expansion.MappingFuncFor(envVarsToMap(envs))
    
    	if len(container.Command) != 0 {
    		for _, cmd := range container.Command {
    			command = append(command, expansion.Expand(cmd, mapping))
    		}
    	}
    
    	if len(container.Args) != 0 {
    		for _, arg := range container.Args {
    			args = append(args, expansion.Expand(arg, mapping))
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredBuildInputsTestKitInjectedJavaPluginIntegrationTest.groovy

                }
                runner.withTestKitDir(testKitDir)
                runner.withProjectDir(workingDir)
                def args = allArgs
                args.remove("--no-daemon")
                runner.withArguments(args)
                runner.withPluginClasspath(pluginClasspath)
                runner.withEnvironment(environmentVars)
                runner.forwardOutput()
                runner
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. src/database/sql/sql.go

    // The args are for any placeholder parameters in the query.
    //
    // Exec uses [context.Background] internally; to specify the context, use
    // [DB.ExecContext].
    func (db *DB) Exec(query string, args ...any) (Result, error) {
    	return db.ExecContext(context.Background(), query, args...)
    }
    
    func (db *DB) exec(ctx context.Context, query string, args []any, strategy connReuseStrategy) (Result, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  8. cni/pkg/plugin/plugin_cni_conformance.go

    // limitations under the License.
    
    package plugin
    
    import (
    	"testing"
    
    	"github.com/containernetworking/cni/pkg/types"
    )
    
    // Validate k8sArgs struct works for unmarshalling kubelet args
    // This is important for CNI plugin conformance
    func TestLoadArgs(t *testing.T) {
    	kubeletArgs := "IgnoreUnknown=1;K8S_POD_NAMESPACE=istio-system;" +
    		"K8S_POD_NAME=istio-sidecar-injector-8489cf78fb-48pvg;" +
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 21:50:09 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. src/internal/trace/trace_test.go

    					task := ev.Task()
    					match = task.ID == wantEv.task && task.Type == wantEv.args[0]
    				case trace.EventRegionBegin, trace.EventRegionEnd:
    					reg := ev.Region()
    					match = reg.Task == wantEv.task && reg.Type == wantEv.args[0]
    				case trace.EventLog:
    					log := ev.Log()
    					match = log.Task == wantEv.task && log.Category == wantEv.args[0] && log.Message == wantEv.args[1]
    				}
    				if match {
    					want[i] = want[len(want)-1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  10. src/cmd/asm/main.go

    		}
    	}
    
    	var ok, diag bool
    	var failedFile string
    	for _, f := range flag.Args() {
    		lexer := lex.NewLexer(f)
    		parser := asm.NewParser(ctxt, architecture, lexer)
    		ctxt.DiagFunc = func(format string, args ...interface{}) {
    			diag = true
    			log.Printf(format, args...)
    		}
    		if *flags.SymABIs {
    			ok = parser.ParseSymABIs(buf)
    		} else {
    			pList := new(obj.Plist)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top