Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for tf (0.28 sec)

  1. src/archive/zip/reader_test.go

    			return
    		}
    	} else {
    		path := filepath.Join("testdata", zt.Name)
    		if zt.Obscured {
    			tf, err := obscuretestdata.DecodeToTempFile(path)
    			if err != nil {
    				t.Errorf("obscuretestdata.DecodeToTempFile(%s): %v", path, err)
    				return
    			}
    			defer os.Remove(tf)
    			path = tf
    		}
    		var rc *ReadCloser
    		rc, err = OpenReader(path)
    		if err == nil {
    			defer rc.Close()
    			z = &rc.Reader
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  2. src/archive/tar/reader_test.go

    		}
    
    		for j, tf := range v.tests {
    			switch tf := tf.(type) {
    			case testRead:
    				b := make([]byte, tf.cnt)
    				n, err := fr.Read(b)
    				if got := string(b[:n]); got != tf.wantStr || err != tf.wantErr {
    					t.Errorf("test %d.%d, Read(%d):\ngot  (%q, %v)\nwant (%q, %v)", i, j, tf.cnt, got, err, tf.wantStr, tf.wantErr)
    				}
    			case testWriteTo:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/issue1435.go

    	if err != nil {
    		return fmt.Errorf("unable to find %d tasks: %v", pid, err)
    	}
    	expectedProc := fmt.Sprintf("Pid:\t%d", pid)
    	foundAThread := false
    	for _, f := range fs {
    		tf := fmt.Sprintf("/proc/%s/status", f.Name())
    		d, err := os.ReadFile(tf)
    		if err != nil {
    			// There are a surprising number of ways this
    			// can error out on linux.  We've seen all of
    			// the following, so treat any error here as
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jul 28 21:31:41 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  4. src/archive/tar/writer_test.go

    		}
    
    		for j, tf := range v.tests {
    			switch tf := tf.(type) {
    			case testWrite:
    				got, err := fw.Write([]byte(tf.str))
    				if got != tf.wantCnt || err != tf.wantErr {
    					t.Errorf("test %d.%d, Write(%s):\ngot  (%d, %v)\nwant (%d, %v)", i, j, tf.str, got, err, tf.wantCnt, tf.wantErr)
    				}
    			case testReadFrom:
    				f := &testFile{ops: tf.ops}
    				got, err := fw.ReadFrom(f)
    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)
  5. api/go1.1.txt

    pkg syscall (windows-386), const TF_DISCONNECT = 1
    pkg syscall (windows-386), const TF_REUSE_SOCKET = 2
    pkg syscall (windows-386), const TF_USE_DEFAULT_WORKER = 0
    pkg syscall (windows-386), const TF_USE_KERNEL_APC = 32
    pkg syscall (windows-386), const TF_USE_SYSTEM_THREAD = 16
    pkg syscall (windows-386), const TF_WRITE_BEHIND = 4
    pkg syscall (windows-386), const TIME_ZONE_ID_DAYLIGHT = 2
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  6. api/go1.txt

    pkg syscall (windows-386), const TF_DISCONNECT ideal-int
    pkg syscall (windows-386), const TF_REUSE_SOCKET ideal-int
    pkg syscall (windows-386), const TF_USE_DEFAULT_WORKER ideal-int
    pkg syscall (windows-386), const TF_USE_KERNEL_APC ideal-int
    pkg syscall (windows-386), const TF_USE_SYSTEM_THREAD ideal-int
    pkg syscall (windows-386), const TF_WRITE_BEHIND ideal-int
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
Back to top