Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 139 for fchdir (0.1 sec)

  1. OWNERS_ALIASES

        - cpanato # SIG Technical Lead / RelEng subproject owner / Release Manager
        - jeremyrickard # SIG Chair / RelEng subproject owner / Release Manager
        - justaugustus # SIG Chair / RelEng subproject owner / Release Manager
        - puerco # SIG Technical Lead / RelEng subproject owner / Release Manager
        - saschagrunert # SIG Chair / RelEng subproject owner / Release Manager
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 23:08:03 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_sql_databases/test_sql_databases_py39.py

    
    @pytest.fixture(scope="module", name="client")
    def get_client(tmp_path_factory: pytest.TempPathFactory):
        tmp_path = tmp_path_factory.mktemp("data")
        cwd = os.getcwd()
        os.chdir(tmp_path)
        test_db = Path("./sql_app.db")
        if test_db.is_file():  # pragma: nocover
            test_db.unlink()
        # Import while creating the client to create the DB after starting the test session
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_sql_databases/test_sql_databases.py

    from ...utils import needs_pydanticv1
    
    
    @pytest.fixture(scope="module")
    def client(tmp_path_factory: pytest.TempPathFactory):
        tmp_path = tmp_path_factory.mktemp("data")
        cwd = os.getcwd()
        os.chdir(tmp_path)
        test_db = Path("./sql_app.db")
        if test_db.is_file():  # pragma: nocover
            test_db.unlink()
        # Import while creating the client to create the DB after starting the test session
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py310.py

    from ...utils import needs_py310, needs_pydanticv1
    
    
    @pytest.fixture(scope="module")
    def client(tmp_path_factory: pytest.TempPathFactory):
        tmp_path = tmp_path_factory.mktemp("data")
        cwd = os.getcwd()
        os.chdir(tmp_path)
        test_db = Path("./sql_app.db")
        if test_db.is_file():  # pragma: nocover
            test_db.unlink()
        # Import while creating the client to create the DB after starting the test session
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  5. cmd/auth-handler_test.go

    func TestIsReqAuthenticated(t *testing.T) {
    	ctx, cancel := context.WithCancel(GlobalContext)
    	defer cancel()
    
    	objLayer, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(fsDir)
    	if err = newTestConfig(globalMinioDefaultRegion, objLayer); err != nil {
    		t.Fatalf("unable initialize config file, %s", err)
    	}
    
    	initAllSubsystems(ctx)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. src/os/exec/lp_windows_test.go

    		files:     []string{`p1\a.bat`, `p2\a.bat`},
    		PATH:      []string{`.\p1`, `p1`, `p2`},
    		searchFor: `a`,
    		want:      `p1\a.bat`,
    	},
    }
    
    func TestLookPathWindows(t *testing.T) {
    	// Not parallel: uses Chdir and Setenv.
    
    	// We are using the "printpath" command mode to test exec.Command here,
    	// so we won't be calling helperCommand to resolve it.
    	// That may cause it to appear to be unused.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:38:12 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  7. internal/kms/config.go

    				cert := certificate.Get()
    				return &cert, nil
    			}
    		}
    
    		var caDir string
    		if opts != nil {
    			caDir = opts.CADir
    		}
    		conf.RootCAs, err = certs.GetRootCAs(env.Get(EnvKESServerCA, caDir))
    		if err != nil {
    			return nil, err
    		}
    
    		client := kes.NewClientWithConfig("", conf)
    		client.Endpoints = endpoints
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 12 14:31:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  8. src/os/file.go

    		return err
    	}
    	return Chmod(name, fi.Mode()|ModeSticky)
    }
    
    // Chdir changes the current working directory to the named directory.
    // If there is an error, it will be of type *PathError.
    func Chdir(dir string) error {
    	if e := syscall.Chdir(dir); e != nil {
    		testlog.Open(dir) // observe likely non-existent directory
    		return &PathError{Op: "chdir", Path: dir, Err: e}
    	}
    	if runtime.GOOS == "windows" {
    		getwdCache.Lock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:37 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  9. src/internal/xcoff/file.go

    	case U802TOCMAGIC:
    		fhdr := new(FileHeader32)
    		if err := binary.Read(sr, binary.BigEndian, fhdr); err != nil {
    			return nil, err
    		}
    		nscns = fhdr.Fnscns
    		symptr = uint64(fhdr.Fsymptr)
    		nsyms = fhdr.Fnsyms
    		opthdr = fhdr.Fopthdr
    		hdrsz = FILHSZ_32
    	case U64_TOCMAGIC:
    		fhdr := new(FileHeader64)
    		if err := binary.Read(sr, binary.BigEndian, fhdr); err != nil {
    			return nil, err
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 12 14:42:29 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativePreCompiledHeaderIntegrationTest.groovy

            true
        }
    
        def pchCompiledOnceForEach(List pchDirs, message=DEFAULT_PCH_MESSAGE) {
            assert output.count(getUniquePragmaOutput(message)) == pchDirs.size()
            pchDirs.each { pchHeaderDirName ->
                def outputDirectories = file(pchHeaderDirName).listFiles().findAll { it.isDirectory() }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 20.9K bytes
    - Viewed (0)
Back to top