Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for os (0.29 sec)

  1. configure.py

      """
      makefile_download_dir = os.path.join(_TF_WORKSPACE_ROOT, 'tensorflow',
                                           'contrib', 'makefile', 'downloads')
      if os.path.isdir(makefile_download_dir):
        for root, _, filenames in os.walk(makefile_download_dir):
          for f in filenames:
            if f.endswith('BUILD'):
              os.remove(os.path.join(root, f))
    
    
    def get_var(environ_cp,
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/CopyUtil.java

         *
         * @param os
         *            出力ストリーム
         * @return ラップされた出力ストリーム
         */
        protected static OutputStream wrap(final OutputStream os) {
            if (os instanceof BufferedOutputStream) {
                return os;
            }
            if (os instanceof ByteArrayOutputStream) {
                return os;
            }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 52.4K bytes
    - Viewed (0)
  3. cmd/xl-storage_test.go

    	}
    
    	if err = os.Chmod(slashpath.Join(permDeniedDir, "mybucket"), 0o400); err != nil {
    		t.Fatalf(fmt.Sprintf("Unable to change permission to temporary directory %v. %v", slashpath.Join(permDeniedDir, "mybucket"), err))
    	}
    	t.Cleanup(func() {
    		os.Chmod(slashpath.Join(permDeniedDir, "mybucket"), 0o775)
    	})
    
    	if err = os.Chmod(permDeniedDir, 0o400); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  4. cmd/xl-storage.go

    	if err != nil {
    		return err
    	}
    
    	filePath := pathJoin(volumeDir, path)
    	if err = checkPathLength(filePath); err != nil {
    		return err
    	}
    
    	flags := os.O_CREATE | os.O_WRONLY | os.O_TRUNC
    
    	var w *os.File
    	if sync {
    		// Perform DirectIO along with fdatasync for larger xl.meta, mostly when
    		// xl.meta has "inlined data" we prefer writing O_DIRECT and then doing
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  5. tensorflow/BUILD

            ["//third_party/bazel_platforms/os:android"],
            [],
        ),
        values = if_oss(
            {"crosstool_top": "//external:android/crosstool"},
            {},
        ),
        visibility = ["//visibility:public"],
    )
    
    config_setting(
        name = "android_x86",
        constraint_values = if_google(
            ["//third_party/bazel_platforms/os:android"],
            [],
        ),
        values = dict(
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (8)
  6. cmd/test-utils_test.go

    			defer zippedFile.Close()
    			extractedFilePath := filepath.Join(targetDir, file.Name)
    			if file.FileInfo().IsDir() {
    				return os.MkdirAll(extractedFilePath, file.Mode())
    			}
    			outputFile, err := os.OpenFile(extractedFilePath, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, file.Mode())
    			if err != nil {
    				return err
    			}
    			defer outputFile.Close()
    			_, err = io.Copy(outputFile, zippedFile)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  7. cmd/sts-handlers_test.go

    	c.mustListObjects(ctx, lisaClient, "projectaorb")
    	c.mustNotListObjects(ctx, lisaClient, "other")
    }
    
    func TestIAMWithOpenIDMultipleConfigsValidation1(t *testing.T) {
    	openIDServer := os.Getenv(EnvTestOpenIDServer)
    	openIDServer2 := os.Getenv(EnvTestOpenIDServer2)
    	if openIDServer == "" || openIDServer2 == "" {
    		t.Skip("Skipping OpenID test as enough OpenID servers are not provided.")
    	}
    	testApps := testClientApps
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  8. src/archive/zip/reader_test.go

    			if err != nil {
    				t.Errorf("obscuretestdata.DecodeToTempFile(%s): %v", path, err)
    				return
    			}
    			defer os.Remove(tf)
    			path = tf
    		}
    		var rc *ReadCloser
    		rc, err = OpenReader(path)
    		if err == nil {
    			defer rc.Close()
    			z = &rc.Reader
    		}
    		var err2 error
    		raw, err2 = os.ReadFile(path)
    		if err2 != nil {
    			t.Errorf("ReadFile(%s) error=%v", path, err2)
    			return
    		}
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    	if *debugGcc {
    		fmt.Fprintf(os.Stderr, "$ %s <<EOF\n", strings.Join(args, " "))
    		os.Stderr.Write(stdin)
    		fmt.Fprint(os.Stderr, "EOF\n")
    	}
    	stdout, stderr, ok := run(stdin, args)
    	if *debugGcc {
    		os.Stderr.Write(stdout)
    		os.Stderr.Write(stderr)
    	}
    	if !ok {
    		os.Stderr.Write(stderr)
    		os.Exit(2)
    	}
    	return string(stdout), string(stderr)
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  10. cmd/admin-handlers-users.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"net/http"
    	"os"
    	"sort"
    	"strconv"
    	"time"
    
    	"github.com/klauspost/compress/zip"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/minio/internal/cachevalue"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
Back to top