Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 40 for joins (0.14 sec)

  1. misc/go_android_exec/main.go

    		return 0, err
    	}
    	var deviceCwd string
    	if isStd {
    		// Note that we use path.Join here instead of filepath.Join:
    		// The device paths should be slash-separated even if the go_android_exec
    		// wrapper itself is compiled for Windows.
    		deviceCwd = path.Join(deviceGoroot, "src", importPath)
    	} else {
    		deviceCwd = path.Join(deviceGopath, "src", importPath)
    		if modDir != "" {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  2. 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",
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/cthread_unix.c

    	int i;
    	pthread_t thread_id[MaxThread];
    	
    	if(nthread > MaxThread)
    		nthread = MaxThread;
    	for(i=0; i<nthread; i++)
    		pthread_create(&thread_id[i], 0, addThread, &max);
    	for(i=0; i<nthread; i++)
    		pthread_join(thread_id[i], 0);		
    }
    
    static void*
    goDummyCallbackThread(void* p)
    {
    	int i, max;
    
    	max = *(int*)p;
    	for(i=0; i<max; i++)
    		goDummy();
    	return NULL;
    }
    
    int
    callGoInCThread(int max)
    {
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed May 17 21:53:11 GMT 2023
    - 1K bytes
    - Viewed (0)
  4. src/cmd/api/main_test.go

    var exitCode = 0
    
    func Check(t *testing.T) {
    	checkFiles, err := filepath.Glob(filepath.Join(testenv.GOROOT(t), "api/go1*.txt"))
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	var nextFiles []string
    	if v := runtime.Version(); strings.Contains(v, "devel") || strings.Contains(v, "beta") {
    		next, err := filepath.Glob(filepath.Join(testenv.GOROOT(t), "api/next/*.txt"))
    		if err != nil {
    			t.Fatal(err)
    		}
    		nextFiles = next
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  5. src/archive/tar/tar_test.go

    		t.Errorf("ModTime = %v; want %v", g, e)
    	}
    }
    
    func TestFileInfoHeaderSymlink(t *testing.T) {
    	testenv.MustHaveSymlink(t)
    
    	tmpdir := t.TempDir()
    
    	link := filepath.Join(tmpdir, "link")
    	target := tmpdir
    	if err := os.Symlink(target, link); err != nil {
    		t.Fatal(err)
    	}
    	fi, err := os.Lstat(link)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  6. src/bufio/bufio.go

    // returns (slice of full buffers, remaining bytes before delim, total number
    // of bytes in the combined first two elements, error).
    // The complete result is equal to
    // `bytes.Join(append(fullBuffers, finalFragment), nil)`, which has a
    // length of `totalLen`. The result is structured in this way to allow callers
    // to minimize allocations and copies.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  7. src/archive/tar/reader.go

    				return nil, ErrHeader
    			}
    			sparseMap = append(sparseMap, value)
    		default:
    			paxHdrs[key] = value
    		}
    	}
    	if len(sparseMap) > 0 {
    		paxHdrs[paxGNUSparseMap] = strings.Join(sparseMap, ",")
    	}
    	return paxHdrs, nil
    }
    
    // readHeader reads the next block header and assumes that the underlying reader
    // is already aligned to a block boundary. It returns the raw block of the
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  8. src/archive/tar/writer_test.go

    		}
    		sa, sb = sa[1:], sb[1:]
    	}
    	for len(sa) > 0 {
    		ss = append(ss, uniqueA+sa[0])
    		sa = sa[1:]
    	}
    	for len(sb) > 0 {
    		ss = append(ss, uniqueB+sb[0])
    		sb = sb[1:]
    	}
    	return strings.Join(ss, "\n")
    }
    
    func TestWriter(t *testing.T) {
    	type (
    		testHeader struct { // WriteHeader(hdr) == wantErr
    			hdr     Header
    			wantErr error
    		}
    		testWrite struct { // Write(str) == (wantCnt, wantErr)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/endtoend_test.go

    // Output is generated by, in effect, turning on -S and comparing the
    // result against a golden file.
    
    func testEndToEnd(t *testing.T, goarch, file string) {
    	input := filepath.Join("testdata", file+".s")
    	architecture, ctxt := setArch(goarch)
    	architecture.Init(ctxt)
    	lexer := lex.NewLexer(input)
    	parser := NewParser(ctxt, architecture, lexer)
    	pList := new(obj.Plist)
    	var ok bool
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  10. api/go1.2.txt

    pkg syscall (linux-arm-cgo), const IPV6_HOPLIMIT ideal-int
    pkg syscall (linux-arm-cgo), const IPV6_HOPOPTS ideal-int
    pkg syscall (linux-arm-cgo), const IPV6_IPSEC_POLICY ideal-int
    pkg syscall (linux-arm-cgo), const IPV6_JOIN_ANYCAST ideal-int
    pkg syscall (linux-arm-cgo), const IPV6_LEAVE_ANYCAST ideal-int
    pkg syscall (linux-arm-cgo), const IPV6_MTU ideal-int
    pkg syscall (linux-arm-cgo), const IPV6_MTU_DISCOVER ideal-int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Oct 18 04:36:59 GMT 2013
    - 1.9M bytes
    - Viewed (2)
Back to top