Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 2,466 for JOIN (0.06 sec)

  1. src/cmd/cgo/internal/testerrors/errors_test.go

    			if err != nil {
    				t.Errorf("%#q: %v:\n%s", strings.Join(cmd.Args, " "), err, out)
    			}
    		})
    	}
    }
    
    func TestMallocCrashesOnNil(t *testing.T) {
    	testenv.MustHaveCGO(t)
    	testenv.MustHaveGoRun(t)
    	t.Parallel()
    
    	cmd := exec.Command("go", "run", path("malloc.go"))
    	out, err := cmd.CombinedOutput()
    	if err == nil {
    		t.Logf("%#q:\n%s", strings.Join(cmd.Args, " "), out)
    		t.Fatalf("succeeded unexpectedly")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. cni/pkg/install/kubeconfig_test.go

    	k8sServicePort = "443"
    	kubeCAFilepath = "testdata/kube-ca.crt"
    	saToken        = "service_account_token_string"
    )
    
    func TestCreateValidKubeconfigFile(t *testing.T) {
    	tmp := t.TempDir()
    	os.WriteFile(filepath.Join(tmp, "token"), []byte(saToken), 0o644)
    	cases := []struct {
    		name               string
    		expectedFailure    bool
    		k8sServiceProtocol string
    		k8sServiceHost     string
    		k8sServicePort     string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:29 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. pilot/pkg/xds/sds_test.go

    		credentials.GenericScrtKey:    readFile(filepath.Join(certDir, "dns/key.pem")),
    		credentials.GenericScrtCaCert: readFile(filepath.Join(certDir, "dns/root-cert.pem")),
    	})
    	genericMtlsCertCrl = makeSecret("generic-mtls-crl", map[string]string{
    		credentials.GenericScrtCert:   readFile(filepath.Join(certDir, "dns/cert-chain.pem")),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 20:55:20 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  4. src/internal/goroot/gc.go

    			break
    		}
    	}
    	if len(dirs) == 0 {
    		return
    	}
    
    	var lastDirs []string
    	for _, dir := range dirs {
    		goDir := filepath.Join(dir, "go", version)
    		if fi, err := os.Stat(goDir); err == nil && fi.IsDir() {
    			gd.dirs = append(gd.dirs, goDir)
    			goDir = filepath.Join(goDir, machine)
    			if fi, err = os.Stat(goDir); err == nil && fi.IsDir() {
    				gd.dirs = append(gd.dirs, goDir)
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 18:16:28 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. misc/ios/go_ios_exec.go

    	}
    	if err := os.WriteFile(filepath.Join(appdir, "Info.plist"), []byte(infoPlist(pkgpath)), 0744); err != nil {
    		return err
    	}
    	if err := os.WriteFile(filepath.Join(appdir, "ResourceRules.plist"), []byte(resourceRules), 0744); err != nil {
    		return err
    	}
    	return nil
    }
    
    func signApp(appdir string) error {
    	entitlementsPath := filepath.Join(tmpdir, "Entitlements.plist")
    	cmd := exec.Command(
    		"codesign",
    		"-f",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 23.4K bytes
    - Viewed (0)
  6. pkg/volume/util/hostutil/hostutil_test.go

    		},
    		"No Refs error": {
    			expectedError: fmt.Sprintf("directory %s is not mounted", path),
    		},
    		"No Matching refs": {
    			mountRefs:    []string{filepath.Join("foo", "lish")},
    			expectedPath: filepath.Base(path),
    		},
    		"Matched ref": {
    			mountRefs:    []string{filepath.Join(path, "lish")},
    			expectedPath: "lish",
    		},
    	}
    
    	for name, tc := range testCases {
    		t.Run(name, func(t *testing.T) {
    			mounter := &fakeMounter{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 01 16:02:07 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. src/go/types/stdlib_test.go

    		// cmd/distpack also requires GOROOT/VERSION to exist, so use that to
    		// suppress false-positive skips.
    		if _, err := os.Stat(filepath.Join(testenv.GOROOT(t), "test")); os.IsNotExist(err) {
    			if _, err := os.Stat(filepath.Join(testenv.GOROOT(t), "VERSION")); err == nil {
    				t.Skipf("skipping: GOROOT/test not present")
    			}
    		}
    		t.Fatal(err)
    	}
    
    	excluded := make(map[string]bool)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 04:39:56 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  8. tests/integration/pilot/istioctl_test.go

    			jsonOutput := jsonUnmarshallOrFail(t, strings.Join(args, " "), output)
    			g.Expect(jsonOutput).To(HaveKey("bootstrap"))
    
    			args = []string{
    				"--namespace=dummy",
    				"pc", "cluster", fmt.Sprintf("%s.%s", podID, apps.Namespace.Name()), "-o", "json",
    			}
    			output, _ = istioCtl.InvokeOrFail(t, args)
    			jsonOutput = jsonUnmarshallOrFail(t, strings.Join(args, " "), output)
    			g.Expect(jsonOutput).To(Not(BeEmpty()))
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

        service.stopAsync().awaitTerminated();
        assertTrue(service.shutDownCalled);
        assertEquals(Service.State.TERMINATED, service.state());
        executionThread.join();
      }
    
      public void testServiceStopIdempotence() throws Exception {
        WaitOnRunService service = new WaitOnRunService();
    
        service.startAsync().awaitRunning();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  10. src/syscall/dirent_test.go

    			var consumed int
    			consumed, _, files2 = syscall.ParseDirent(buf, -1, files2)
    			buf = buf[consumed:]
    		}
    	}
    
    	// Check results
    	slices.Sort(files)
    	slices.Sort(files2)
    	if strings.Join(files, "|") != strings.Join(files2, "|") {
    		t.Errorf("bad file list: want\n%q\ngot\n%q", files, files2)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top