Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for much (0.22 sec)

  1. src/cmd/cgo/doc.go

    /*
    Cgo enables the creation of Go packages that call C code.
    
    # Using cgo with the go command
    
    To use cgo write normal Go code that imports a pseudo-package "C".
    The Go code can then refer to types such as C.size_t, variables such
    as C.stdout, or functions such as C.putchar.
    
    If the import of "C" is immediately preceded by a comment, that
    comment, called the preamble, is used as a header when compiling
    the C parts of the package. For example:
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  2. src/archive/zip/reader_test.go

    // that contains a zip file bigger.zip that contains a zip file
    // big.zip that contains big.file, which contains 2³²-1 zeros.
    // The big.zip file is interesting because it has no zip64 header,
    // much like the innermost zip files in the well-known 42.zip.
    //
    // biggest.zip was generated by changing isZip64 to use > uint32max
    // instead of >= uint32max and then running this program:
    //
    //	package main
    //
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  3. .github/ISSUE_TEMPLATE/00-bug.yml

    title: "import/path: issue title"
    
    body:
      - type: markdown
        attributes:
          value: |
            Thanks for helping us improve! 🙏 Please answer these questions and provide as much information as possible about your problem.
    
      - type: input
        id: go-version
        attributes:
          label: Go version
          description: |
            What version of Go are you using (`go version`)?
    
    Others
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  4. doc/go1.17_spec.html

    		if c == r {
    			return i
    		}
    	}
    	// invalid: missing return statement
    }
    </pre>
    
    <p>
    A function declaration may omit the body. Such a declaration provides the
    signature for a function implemented outside Go, such as an assembly routine.
    </p>
    
    <pre>
    func min(x int, y int) int {
    	if x &lt; y {
    		return x
    	}
    	return y
    }
    
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    		tr := &TypeRepr{}
    		tr.Set("%s*", t.C)
    		return &Type{
    			Size:  c.ptrSize,
    			Align: c.ptrSize,
    			Go:    &ast.StarExpr{X: t.Go},
    			C:     tr,
    		}
    	case *dwarf.TypedefType:
    		// C has much more relaxed rules than Go for
    		// implicit type conversions. When the parameter
    		// is type T defined as *X, simulate a little of the
    		// laxness of C by making the argument *X instead of T.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  6. doc/godebug.md

    but that should be extremely rare.
    
    GODEBUG settings added for compatibility will be maintained
    for a minimum of two years (four Go releases).
    Some, such as `http2client` and `http2server`,
    will be maintained much longer, even indefinitely.
    
    When possible, each GODEBUG setting has an associated
    [runtime/metrics](/pkg/runtime/metrics/) counter
    named `/godebug/non-default-behavior/<name>:events`
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/parse.go

    		return 0
    	}
    	return uint16(reg)
    }
    
    // Note: There are two changes in the expression handling here
    // compared to the old yacc/C implementations. Neither has
    // much practical consequence because the expressions we
    // see in assembly code are simple, but for the record:
    //
    // 1) Evaluation uses uint64; the old one used int64.
    // 2) Precedence uses Go rules not C rules.
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  8. src/bytes/bytes.go

    			// the cutover is about 16 byte skips.
    			// TODO: if large prefixes of sep are matching
    			// we should cutover at even larger average skips,
    			// because Equal becomes that much more expensive.
    			// This code does not take that effect into account.
    			j := bytealg.IndexRabinKarp(s[i:], sep)
    			if j < 0 {
    				return -1
    			}
    			return i + j
    		}
    	}
    	return -1
    }
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  9. lib/time/update.bash

    # consult https://www.iana.org/time-zones for the latest versions,
    # update CODE and DATA below, and then run
    #
    #	./update.bash -commit
    #
    # That will prepare the files and create the commit.
    #
    # To review such a commit (as the reviewer), use:
    #
    #	git codereview change NNNNNN   # CL number
    #	cd lib/time
    #	./update.bash
    #
    # If it prints "No updates needed.", then the generated files
    # in the CL match the update.bash in the CL.
    Shell Script
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Feb 02 18:20:41 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/issue1435.go

    			// can error out on linux.  We've seen all of
    			// the following, so treat any error here as
    			// equivalent to the "process is gone":
    			//    os.IsNotExist(err),
    			//    "... : no such process",
    			//    "... : bad file descriptor.
    			continue
    		}
    		lines := strings.Split(string(d), "\n")
    		for _, line := range lines {
    			// Different kernel vintages pad differently.
    			line = strings.TrimSpace(line)
    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)
Back to top