Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for figure (0.29 sec)

  1. src/archive/tar/strconv_test.go

    		var p parser
    		got := p.parseNumeric([]byte(v.in))
    		ok := (p.err == nil)
    		if ok != v.ok {
    			if v.ok {
    				t.Errorf("parseNumeric(%q): got parsing failure, want success", v.in)
    			} else {
    				t.Errorf("parseNumeric(%q): got parsing success, want failure", v.in)
    			}
    		}
    		if ok && got != v.want {
    			t.Errorf("parseNumeric(%q): got %d, want %d", v.in, got, v.want)
    		}
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 09 05:28:50 GMT 2021
    - 14K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/issue18146.go

    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build cgo && !windows
    
    // Issue 18146: pthread_create failure during syscall.Exec.
    
    package cgotest
    
    import (
    	"bytes"
    	"crypto/md5"
    	"os"
    	"os/exec"
    	"runtime"
    	"syscall"
    	"testing"
    	"time"
    )
    
    func test18146(t *testing.T) {
    	if testing.Short() {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Sep 05 23:35:32 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  3. api/go1.3.txt

    pkg syscall (netbsd-386), const MAP_WIRED ideal-int
    pkg syscall (netbsd-386), const MCL_CURRENT = 1
    pkg syscall (netbsd-386), const MCL_CURRENT ideal-int
    pkg syscall (netbsd-386), const MCL_FUTURE = 2
    pkg syscall (netbsd-386), const MCL_FUTURE ideal-int
    pkg syscall (netbsd-386), const MS_ASYNC = 1
    pkg syscall (netbsd-386), const MS_ASYNC ideal-int
    pkg syscall (netbsd-386), const MS_INVALIDATE = 2
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
  4. src/cmd/cgo/ast.go

    	sel := (*n).(*ast.SelectorExpr)
    	// For now, assume that the only instance of capital C is when
    	// used as the imported package identifier.
    	// The parser should take care of scoping in the future, so
    	// that we will be able to distinguish a "top-level C" from a
    	// local C.
    	if l, ok := sel.X.(*ast.Ident); !ok || l.Name != "C" {
    		return
    	}
    	if context == ctxAssign2 {
    		context = ctxExpr
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  5. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), const MCL_CURRENT = 1
    pkg syscall (netbsd-arm64-cgo), const MCL_CURRENT ideal-int
    pkg syscall (netbsd-arm64-cgo), const MCL_FUTURE = 2
    pkg syscall (netbsd-arm64-cgo), const MCL_FUTURE ideal-int
    pkg syscall (netbsd-arm64-cgo), const MS_ASYNC = 1
    pkg syscall (netbsd-arm64-cgo), const MS_ASYNC ideal-int
    pkg syscall (netbsd-arm64-cgo), const MSG_BCAST = 256
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  6. doc/go1.17_spec.html

    for operands of the key type; thus the key type must not be a function, map, or
    slice.
    If the key type is an interface type, these
    comparison operators must be defined for the dynamic key values;
    failure will cause a <a href="#Run_time_panics">run-time panic</a>.
    
    </p>
    
    <pre>
    map[string]int
    map[*T]struct{ x, y float64 }
    map[string]interface{}
    </pre>
    
    <p>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  7. PATENTS

    transfer and otherwise run, modify and propagate the contents of this
    implementation of Go, where such license applies only to those patent
    claims, both currently owned or controlled by Google and acquired in
    the future, licensable by Google that are necessarily infringed by this
    implementation of Go.  This grant does not include claims that would be
    infringed only as a consequence of further modification of this
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Dec 06 21:31:59 GMT 2010
    - 1.3K bytes
    - Viewed (0)
  8. src/archive/tar/writer.go

    	}
    	if tw.err != nil {
    		return tw.err
    	}
    
    	// Trailer: two zero blocks.
    	err := tw.Flush()
    	for i := 0; i < 2 && err == nil; i++ {
    		_, err = tw.w.Write(zeroBlock[:])
    	}
    
    	// Ensure all future actions are invalid.
    	tw.err = ErrWriteAfterClose
    	return err // Report IO errors
    }
    
    // regFileWriter is a fileWriter for writing data to a regular file entry.
    type regFileWriter struct {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  9. api/go1.1.txt

    pkg syscall (freebsd-386), const MAP_STACK ideal-int
    pkg syscall (freebsd-386), const MCL_CURRENT = 1
    pkg syscall (freebsd-386), const MCL_CURRENT ideal-int
    pkg syscall (freebsd-386), const MCL_FUTURE = 2
    pkg syscall (freebsd-386), const MCL_FUTURE ideal-int
    pkg syscall (freebsd-386), const MSG_COMPAT = 32768
    pkg syscall (freebsd-386), const MSG_CTRUNC = 32
    pkg syscall (freebsd-386), const MSG_DONTROUTE = 4
    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)
  10. src/cmd/cgo/gcc.go

    		}
    		if t.Name == "string" {
    			return !top
    		}
    		if t.Name == "error" {
    			return true
    		}
    		if goTypes[t.Name] != nil {
    			return false
    		}
    		// We can't figure out the type. Conservative
    		// approach is to assume it has a pointer.
    		return true
    	case *ast.SelectorExpr:
    		if l, ok := t.X.(*ast.Ident); !ok || l.Name != "C" {
    			// Type defined in a different package.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top