Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 239 for Ioperm (0.21 sec)

  1. src/cmd/go/internal/work/shell.go

    			return sh.CopyFile(dst, src, perm, force)
    		}
    	}
    
    	// The perm argument is meant to be adjusted according to umask,
    	// but we don't know what the umask is.
    	// Create a dummy file to find out.
    	// This avoids build tags and works even on systems like Plan 9
    	// where the file mask computation incorporates other information.
    	mode := perm
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  2. internal/disk/directio_unsupported.go

    // https://github.com/openzfs/zfs/commit/a584ef26053065f486d46a7335bea222cb03eeea
    
    // OpenFileDirectIO wrapper around os.OpenFile nothing special
    func OpenFileDirectIO(filePath string, flag int, perm os.FileMode) (*os.File, error) {
    	return os.OpenFile(filePath, flag, perm)
    }
    
    // DisableDirectIO is a no-op
    func DisableDirectIO(f *os.File) error {
    	return nil
    }
    
    // AlignedBlock simply returns an unaligned buffer
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/inline/interleaved/interleaved.go

    			if base.Debug.DumpInlFuncProps != "" && !fn.Wrapper() {
    				inlheur.DumpFuncProps(fn, base.Debug.DumpInlFuncProps)
    			}
    		}
    
    		bigCaller := base.Flag.LowerL != 0 && inline.IsBigFunc(fn)
    		if bigCaller && base.Flag.LowerM > 1 {
    			fmt.Printf("%v: function %v considered 'big'; reducing max cost of inlinees\n", ir.Line(fn), fn)
    		}
    
    		match := func(n ir.Node) bool {
    			switch n := n.(type) {
    			case *ir.CallExpr:
    				return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:42:52 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. internal/config/errors-utils.go

    	if errors.Is(err, syscall.EADDRINUSE) {
    		return ErrPortAlreadyInUse(err).Msg("Specified port is already in use")
    	} else if errors.Is(err, syscall.EACCES) || errors.Is(err, syscall.EPERM) {
    		if netErr, ok := err.(*net.OpError); ok {
    			return ErrPortAccess(netErr).Msg("Insufficient permissions to use specified port")
    		}
    	}
    
    	// Failed to identify what type of error this, return a simple UI error
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. cmd/os_other.go

    import (
    	"io"
    	"os"
    	"syscall"
    )
    
    func access(name string) error {
    	_, err := os.Lstat(name)
    	return err
    }
    
    func osMkdirAll(dirPath string, perm os.FileMode, _ string) error {
    	// baseDir is not honored in plan9 and solaris platforms.
    	return os.MkdirAll(dirPath, perm)
    }
    
    // readDirFn applies the fn() function on each entries at dirPath, doesn't recurse into
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Sep 13 15:14:36 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. src/math/rand/race_test.go

    				seed += int64(Intn(Int()))
    				seed += int64(Int31n(Int31()))
    				seed += int64(Int63n(Int63()))
    				seed += int64(NormFloat64())
    				seed += int64(Uint32())
    				seed += int64(Uint64())
    				for _, p := range Perm(10) {
    					seed += int64(p)
    				}
    				Read(buf)
    				for _, b := range buf {
    					seed += int64(b)
    				}
    				Seed(int64(i*j) * seed)
    			}
    		}(i)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 28 16:06:21 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  7. src/net/error_test.go

    				c.Close()
    				t.Fatalf("%s succeeded, want error", op)
    			}
    			if perr := parseDialError(err); perr != nil {
    				t.Fatal(perr)
    			}
    			operr := err.(*OpError).Err
    			aerr, ok := operr.(*AddrError)
    			if !ok {
    				t.Fatalf("OpError.Err is %T, want *AddrError", operr)
    			}
    			want := tt.lit
    			if tt.lit == "" {
    				want = tt.addr.IP.String()
    			}
    			if aerr.Addr != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/bench_test.go

    //go:noinline
    func fn(a, b int) bool {
    	c := false
    	if a > 0 {
    		if b < 0 {
    			d = d + 1
    		}
    		c = true
    	}
    	return c
    }
    
    func BenchmarkPhioptPass(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		a := rand.Perm(i/10 + 10)
    		for i := 1; i < len(a)/2; i++ {
    			fn(a[i]-a[i-1], a[i+len(a)/2-2]-a[i+len(a)/2-1])
    		}
    	}
    }
    
    type Point struct {
    	X, Y int
    }
    
    //go:noinline
    func sign(p1, p2, p3 Point) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 02:36:06 UTC 2023
    - 835 bytes
    - Viewed (0)
  9. tensorflow/c/python_api.cc

    }
    
    void ExtendSession(TF_Session* session, TF_Status* status) {
      TF_ExtendSession(session, status);
    }
    
    std::string GetHandleShapeAndType(TF_Graph* graph, TF_Output output) {
      Node* node = &output.oper->node;
      tensorflow::core::CppShapeInferenceResult::HandleData handle_data;
      handle_data.set_is_set(true);
      {
        mutex_lock l(graph->mu);
        tensorflow::shape_inference::InferenceContext* ic =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jul 12 18:48:56 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_permissions.txt

    func main() {
    	for _, name := range []string{"go.mod", "go.sum"} {
    		fi, err := os.Stat(name)
    		if err != nil {
    			fmt.Fprintf(os.Stderr, "%s: %v\n", err)
    			continue
    		}
    		fmt.Printf("%s: 0%o\n", name, fi.Mode().Perm())
    	}
    }
    -- go.mod --
    module TODO
    
    go 1.14
    -- go.sum --
    -- go.mod.want --
    module golang.org/issue/34634
    
    go 1.14
    
    require rsc.io/sampler v1.99.99
    -- go.sum.want --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 1.2K bytes
    - Viewed (0)
Back to top