Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 638 for Os (0.12 sec)

  1. src/cmd/buildid/buildid.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"flag"
    	"fmt"
    	"log"
    	"os"
    	"strings"
    
    	"cmd/internal/buildid"
    )
    
    func usage() {
    	fmt.Fprintf(os.Stderr, "usage: go tool buildid [-w] file\n")
    	flag.PrintDefaults()
    	os.Exit(2)
    }
    
    var wflag = flag.Bool("w", false, "write build ID")
    
    func main() {
    	log.SetPrefix("buildid: ")
    	log.SetFlags(0)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jun 06 14:30:53 GMT 2022
    - 1.5K bytes
    - Viewed (0)
  2. src/cmd/addr2line/addr2line_test.go

    import (
    	"bufio"
    	"bytes"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"sync"
    	"testing"
    )
    
    // TestMain executes the test binary as the addr2line command if
    // GO_ADDR2LINETEST_IS_ADDR2LINE is set, and runs the tests otherwise.
    func TestMain(m *testing.M) {
    	if os.Getenv("GO_ADDR2LINETEST_IS_ADDR2LINE") != "" {
    		main()
    		os.Exit(0)
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 22:16:54 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  3. internal/ioutil/append-file_nix.go

    package ioutil
    
    import (
    	"io"
    	"os"
    )
    
    // AppendFile - appends the file "src" to the file "dst"
    func AppendFile(dst string, src string, osync bool) error {
    	flags := os.O_WRONLY | os.O_APPEND | os.O_CREATE
    	if osync {
    		flags |= os.O_SYNC
    	}
    	appendFile, err := os.OpenFile(dst, flags, 0o666)
    	if err != nil {
    		return err
    	}
    	defer appendFile.Close()
    
    	srcFile, err := os.Open(src)
    	if err != nil {
    		return err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  4. .teamcity/src/test/kotlin/ApplyDefaultConfigurationTest.kt

            verifyGradleRunnerParams(extraParameters, expectedDaemonParam, Os.WINDOWS)
        }
    
        private
        fun verifyGradleRunnerParams(extraParameters: String, expectedDaemonParam: String, os: Os = Os.LINUX) {
            assertEquals(BuildStep.ExecutionMode.DEFAULT, getGradleStep("GRADLE_RUNNER").executionMode)
    
            assertEquals(expectedRunnerParam(expectedDaemonParam, extraParameters, os), getGradleStep("GRADLE_RUNNER").gradleParams)
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 08:17:56 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  5. api/except.txt

    pkg os, const ModePerm FileMode
    pkg os, const ModeSetgid FileMode
    pkg os, const ModeSetuid FileMode
    pkg os, const ModeSocket FileMode
    pkg os, const ModeSticky FileMode
    pkg os, const ModeSymlink FileMode
    pkg os, const ModeTemporary FileMode
    pkg os, const ModeType = 2399141888
    pkg os, const ModeType = 2399666176
    pkg os, const ModeType FileMode
    pkg os, func Chmod(string, FileMode) error
    pkg os, func Lstat(string) (FileInfo, error)
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 25 00:13:30 GMT 2023
    - 34.6K bytes
    - Viewed (0)
  6. docs/pt/docs/history-design-future.md

    Isso significa que o **FastAPI** foi testado especificamente com os editores usados por 80% dos desenvolvedores Python. Como a maioria dos outros editores tendem a funcionar de forma similar, todos os seus benefícios devem funcionar para virtualmente todos os editores.
    
    Dessa forma eu pude encontrar a melhor maneira de reduzir duplicação de código o máximo possível, ter completação de texto em todos os lugares, conferência de tipos e erros etc.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  7. .github/workflows/go-healing.yml

        name: Go ${{ matrix.go-version }} on ${{ matrix.os }}
        runs-on: ${{ matrix.os }}
        strategy:
          matrix:
            go-version: [1.21.x]
            os: [ubuntu-latest]
        steps:
          - uses: actions/checkout@v4
          - uses: actions/setup-go@v5
            with:
              go-version: ${{ matrix.go-version }}
              check-latest: true
          - name: Build on ${{ matrix.os }}
            if: matrix.os == 'ubuntu-latest'
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 23:44:49 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/ReadWriteTest.java

            try ( SmbFile f = createTestFile() ) {
                try {
                    try ( OutputStream os = f.openOutputStream() ) {
                        writeRandom(4096, 3072, os);
                    }
    
                    // this should truncate
                    try ( OutputStream os = f.openOutputStream() ) {
                        writeRandom(4096, 1024, os);
                    }
    
                    try ( InputStream is = f.getInputStream() ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 13.2K bytes
    - Viewed (0)
  9. tensorflow/api_template_v1.__init__.py

      # Load first party dynamic kernels.
      _tf_dir = _os.path.dirname(_current_file_location)
      _kernel_dir = _os.path.join(_tf_dir, "core", "kernels")
      if _os.path.exists(_kernel_dir):
        _ll.load_library(_kernel_dir)
    
      # Load third party dynamic kernels.
      for _s in _site_packages_dirs:
        _plugin_dir = _os.path.join(_s, "tensorflow-plugins")
        if _os.path.exists(_plugin_dir):
          _ll.load_library(_plugin_dir)
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 23 02:14:00 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  10. docs/debugging/inspect/main.go

    	// Backup any already existing output file
    	_, err := os.Stat(outputFileName)
    	if err == nil {
    		err := os.Rename(outputFileName, outputFileName+"."+time.Now().Format("20060102150405"))
    		if err != nil {
    			fatalErr(err)
    		}
    	}
    
    	// Open the input and create the output file
    	input, err := os.Open(inputFileName)
    	fatalErr(err)
    	defer input.Close()
    	output, err := os.Create(outputFileName)
    	fatalErr(err)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 4.8K bytes
    - Viewed (0)
Back to top