Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 65 for stringList (0.31 sec)

  1. src/cmd/go/internal/work/shell.go

    // and returns a non-nil error.
    func (sh *Shell) run(dir string, desc string, env []string, cmdargs ...any) error {
    	out, err := sh.runOut(dir, env, cmdargs...)
    	if desc == "" {
    		desc = sh.fmtCmd(dir, "%s", strings.Join(str.StringList(cmdargs...), " "))
    	}
    	return sh.reportCmd(desc, dir, out, err)
    }
    
    // runOut runs the command given by cmdline in the directory dir.
    // It returns the command output and any errors that occurred.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/ProjectSchemaAccessorsIntegrationTest.kt

                        extensions.add("longs", longs)
    
                        tasks.register("printStringsAndLongs") {
                            val stringList = strings.toList()
                            val longList = longs.toList()
                            doLast {
                                stringList.forEach { println("string: " + it) }
                                longList.forEach { println("long: " + it) }
                            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 11:39:00 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modcmd/vendor.go

    		// so that we continue to agree with older versions of the go command
    		// about the contents of vendor directories in existing modules
    		embedPatterns = str.StringList(bp.EmbedPatterns, bp.TestEmbedPatterns, bp.XTestEmbedPatterns)
    	}
    	embeds, err := load.ResolveEmbed(bp.Dir, embedPatterns)
    	if err != nil {
    		format := "go: resolving embeds in %s: %v\n"
    		if vendorE {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 14:19:59 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modfetch/codehost/codehost.go

    		muIface, ok := dirLock.Load(dir)
    		if !ok {
    			muIface, _ = dirLock.LoadOrStore(dir, new(sync.Mutex))
    		}
    		mu := muIface.(*sync.Mutex)
    		mu.Lock()
    		defer mu.Unlock()
    	}
    
    	cmd := str.StringList(cmdline...)
    	if os.Getenv("TESTGOVCS") == "panic" {
    		panic(fmt.Sprintf("use of vcs: %v", cmd))
    	}
    	if xLog, ok := cfg.BuildXWriter(ctx); ok {
    		text := new(strings.Builder)
    		if dir != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  5. src/cmd/go/internal/generate/generate.go

    	// Standard in and out of generator should be the usual.
    	cmd.Stdout = os.Stdout
    	cmd.Stderr = os.Stderr
    	// Run the command in the package directory.
    	cmd.Dir = g.dir
    	cmd.Env = str.StringList(cfg.OrigEnv, g.env)
    	err := cmd.Run()
    	if err != nil {
    		g.errorf("running %q: %s", words[0], err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 29 19:39:24 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/etcd_test.go

    			},
    			"spec": map[string]interface{}{
    				"replicas":         int64(7),
    				"string":           "string",
    				"float64":          float64(3.1415926),
    				"bool":             true,
    				"stringList":       []interface{}{"foo", "bar"},
    				"mixedList":        []interface{}{"foo", int64(42)},
    				"nonPrimitiveList": []interface{}{"foo", []interface{}{int64(1), int64(2)}},
    			},
    		},
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  7. tensorflow/c/kernels_test.cc

        return static_cast<void*>(s);
      };
    
      AttrValue v;
      v.set_s("bunny");
      CreateAndCallKernelWithAttr(my_create_func, "TestKernelAttrString", v);
    }
    
    TEST_F(TestKernelAttr, StringList) {
      auto my_create_func = [](TF_OpKernelConstruction* ctx) {
        struct MyCustomKernel* s = new struct MyCustomKernel;
        s->created = true;
        s->compute_called = false;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 50.4K bytes
    - Viewed (0)
  8. src/cmd/go/internal/list/list.go

    		// Show vendor-expanded paths in listing
    		p.TestImports = p.Resolve(p.TestImports)
    		p.XTestImports = p.Resolve(p.XTestImports)
    		p.DepOnly = !cmdline[p]
    
    		if *listCompiled {
    			p.Imports = str.StringList(p.Imports, p.Internal.CompiledImports)
    		}
    	}
    
    	if *listTest || (cfg.BuildPGO == "auto" && len(cmdline) > 1) {
    		all := pkgs
    		if !*listDeps {
    			all = loadPackageList(pkgs)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 16:56:39 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_test.cc

      TF_OperationDescription* desc_;
    };
    
    TEST_F(CApiColocationTest, ColocateWith) {
      TF_ColocateWith(desc_, feed1_);
      FinishAndVerify(desc_, {"loc:@feed1"});
    }
    
    TEST_F(CApiColocationTest, StringList) {
      SetViaStringList(desc_, {"loc:@feed1"});
      FinishAndVerify(desc_, {"loc:@feed1"});
    }
    
    TEST_F(CApiColocationTest, Proto) {
      SetViaProto(desc_, {"loc:@feed1"});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  10. src/cmd/go/internal/work/action.go

    		outputID, _, err := c.Put(a.actionID, r)
    		r.Close()
    		if err != nil {
    			return fmt.Errorf("error adding target to cache: %w", err)
    		}
    		if cfg.BuildX {
    			sh.ShowCmd("", "%s # internal", joinUnambiguously(str.StringList("cp", a.Target, c.OutputFile(outputID))))
    		}
    	}
    
    	return nil
    }
    
    // CompileAction returns the action for compiling and possibly installing
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 32.7K bytes
    - Viewed (0)
Back to top