Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 53 for OK (0.14 sec)

  1. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), const FLUSHO ideal-int
    pkg syscall (netbsd-arm64-cgo), const F_MAXFD = 11
    pkg syscall (netbsd-arm64-cgo), const F_MAXFD ideal-int
    pkg syscall (netbsd-arm64-cgo), const F_OK = 0
    pkg syscall (netbsd-arm64-cgo), const F_OK ideal-int
    pkg syscall (netbsd-arm64-cgo), const F_PARAM_MASK = 4095
    pkg syscall (netbsd-arm64-cgo), const F_PARAM_MASK ideal-int
    pkg syscall (netbsd-arm64-cgo), const F_PARAM_MAX = 4095
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  2. src/archive/zip/zip_test.go

    		t.Errorf("ModifiedTime: got %d, want %d\n", got, want)
    	}
    	if got, want := fh2.ModifiedDate, fh.ModifiedDate; got != want {
    		t.Errorf("ModifiedDate: got %d, want %d\n", got, want)
    	}
    
    	if sysfh, ok := fi.Sys().(*FileHeader); !ok && sysfh != fh {
    		t.Errorf("Sys didn't return original *FileHeader")
    	}
    }
    
    func TestFileHeaderRoundTrip(t *testing.T) {
    	fh := &FileHeader{
    		Name:             "foo.txt",
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  3. src/cmd/api/main_test.go

    					for _, id := range n.Names {
    						mark(id)
    					}
    					if len(n.Names) == 0 {
    						// embedded field T or *T?
    						typ := n.Type
    						if ptr, ok := typ.(*ast.StarExpr); ok {
    							typ = ptr.X
    						}
    						if id, ok := typ.(*ast.Ident); ok {
    							mark(id)
    						}
    					}
    				}
    				return false
    			default:
    				return false
    			}
    		})
    	}
    }
    
    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)
  4. misc/ios/go_ios_exec.go

    		err = runOnDevice(appdir)
    	} else {
    		err = runOnSimulator(appdir)
    	}
    	if err != nil {
    		// If the lldb driver completed with an exit code, use that.
    		if err, ok := err.(*exec.ExitError); ok {
    			if ws, ok := err.Sys().(interface{ ExitStatus() int }); ok {
    				return ws.ExitStatus(), nil
    			}
    		}
    		return 1, err
    	}
    	return 0, nil
    }
    
    func runOnSimulator(appdir string) error {
    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)
  5. src/cmd/asm/internal/asm/testdata/amd64error.s

    	// .Z instructions
    	VMOVDQA32.Z Z0, Z1               // ERROR "mask register must be specified for .Z instructions"
    	VMOVDQA32.Z Z0, K0, Z1           // ERROR "invalid instruction"
    	VMOVDQA32.Z Z0, K1, Z1           // ok
    
    	RDPID (BX)			 // ERROR "invalid instruction"
    
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 14 00:03:57 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  6. src/archive/tar/stat_unix.go

    	sys, ok := fi.Sys().(*syscall.Stat_t)
    	if !ok {
    		return nil
    	}
    	h.Uid = int(sys.Uid)
    	h.Gid = int(sys.Gid)
    	if doNameLookups {
    		// Best effort at populating Uname and Gname.
    		// The os/user functions may fail for any number of reasons
    		// (not implemented on that platform, cgo not enabled, etc).
    		if u, ok := userMap.Load(h.Uid); ok {
    			h.Uname = u.(string)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  7. doc/go_spec.html

    </p>
    
    <pre>
    v, ok = x.(T)
    v, ok := x.(T)
    var v, ok = x.(T)
    var v, ok interface{} = x.(T) // dynamic types of v and ok are T and bool
    </pre>
    
    <p>
    yields an additional untyped boolean value. The value of <code>ok</code> is <code>true</code>
    if the assertion holds. Otherwise it is <code>false</code> and the value of <code>v</code> is
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  8. src/archive/tar/tar_test.go

    type testFile struct {
    	ops fileOps
    	pos int64
    }
    
    func (f *testFile) Read(b []byte) (int, error) {
    	if len(b) == 0 {
    		return 0, nil
    	}
    	if len(f.ops) == 0 {
    		return 0, io.EOF
    	}
    	s, ok := f.ops[0].(string)
    	if !ok {
    		return 0, errors.New("unexpected Read operation")
    	}
    
    	n := copy(b, s)
    	if len(s) > n {
    		f.ops[0] = s[n:]
    	} else {
    		f.ops = f.ops[1:]
    	}
    	f.pos += int64(len(b))
    	return n, nil
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  9. src/bufio/bufio.go

    	b.lastByte = -1
    	b.lastRuneSize = -1
    
    	n, err = b.writeBuf(w)
    	if err != nil {
    		return
    	}
    
    	if r, ok := b.rd.(io.WriterTo); ok {
    		m, err := r.WriteTo(w)
    		n += m
    		return n, err
    	}
    
    	if w, ok := w.(io.ReaderFrom); ok {
    		m, err := w.ReadFrom(b.rd)
    		n += m
    		return n, err
    	}
    
    	if b.w-b.r < len(b.buf) {
    		b.fill() // buffer not full
    	}
    
    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)
  10. src/cmd/asm/internal/asm/endtoend_test.go

    	pList := new(obj.Plist)
    	var ok bool
    	testOut = new(strings.Builder) // The assembler writes test output to this buffer.
    	ctxt.Bso = bufio.NewWriter(os.Stdout)
    	ctxt.IsAsm = true
    	defer ctxt.Bso.Flush()
    	failed := false
    	ctxt.DiagFunc = func(format string, args ...interface{}) {
    		failed = true
    		t.Errorf(format, args...)
    	}
    	pList.Firstpc, ok = parser.Parse()
    	if !ok || failed {
    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)
Back to top