Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 115 for newDir (0.37 sec)

  1. src/net/ipsock_plan9.go

    	}
    	name := string(buf[:n])
    	ctl, err := os.OpenFile(netdir+"/"+fd.net+"/"+name+"/ctl", os.O_RDWR, 0)
    	if err != nil {
    		listen.Close()
    		return nil, err
    	}
    	data, err := os.OpenFile(netdir+"/"+fd.net+"/"+name+"/data", os.O_RDWR, 0)
    	if err != nil {
    		listen.Close()
    		ctl.Close()
    		return nil, err
    	}
    	raddr, err := readPlan9Addr(fd.net, netdir+"/"+fd.net+"/"+name+"/remote")
    	if err != nil {
    		listen.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 20:38:53 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/client-services/src/test/groovy/org/gradle/internal/daemon/client/serialization/ClasspathInfererTest.groovy

                if (uri.startsWith("jar:")) {
                    int pos = uri.indexOf('!')
                    def newURI = uri.substring(0, pos + 2)
                    return new URI(newURI).toURL()
                } else {
                    def newURI = uri - resource
                    return new URI(newURI).toURL()
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/config.go

    	t.String = types.Types[types.TSTRING]
    	t.BytePtr = types.NewPtr(types.Types[types.TUINT8])
    	t.Int32Ptr = types.NewPtr(types.Types[types.TINT32])
    	t.UInt32Ptr = types.NewPtr(types.Types[types.TUINT32])
    	t.IntPtr = types.NewPtr(types.Types[types.TINT])
    	t.UintptrPtr = types.NewPtr(types.Types[types.TUINTPTR])
    	t.Float32Ptr = types.NewPtr(types.Types[types.TFLOAT32])
    	t.Float64Ptr = types.NewPtr(types.Types[types.TFLOAT64])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  4. src/net/file_plan9.go

    		}
    		defer close(fd)
    
    		dir := netdir + "/" + comp[n-2]
    		ctl = os.NewFile(uintptr(fd), dir+"/"+file)
    		ctl.Seek(0, io.SeekStart)
    		var buf [16]byte
    		n, err := ctl.Read(buf[:])
    		if err != nil {
    			return nil, err
    		}
    		name = string(buf[:n])
    	default:
    		if len(comp) < 4 {
    			return nil, errors.New("could not find control file for connection")
    		}
    		dir := netdir + "/" + comp[1] + "/" + name
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. src/crypto/aes/modes_test.go

    func TestCTRAble(t *testing.T) {
    	b := cipher.Block(&testBlock{})
    	if _, ok := b.(ctrAble); !ok {
    		t.Fatalf("testBlock does not implement the ctrAble interface")
    	}
    	s := cipher.NewCTR(b, []byte{})
    	if _, ok := s.(testInterface); !ok {
    		t.Fatalf("cipher.NewCTR did not use ctrAble interface")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 14 15:32:26 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  6. src/net/interface_plan9.go

    	}
    	return []Interface{*ifc}, nil
    }
    
    func readInterface(i int) (*Interface, error) {
    	ifc := &Interface{
    		Index: i + 1,                             // Offset the index by one to suit the contract
    		Name:  netdir + "/ipifc/" + itoa.Itoa(i), // Name is the full path to the interface path in plan9
    	}
    
    	ifcstat := ifc.Name + "/status"
    	ifcstatf, err := open(ifcstat)
    	if err != nil {
    		return nil, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 14:00:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. src/crypto/aes/ctr_s390x.go

    	storage [streamBufferSize]byte // array backing buffer slice
    }
    
    // NewCTR returns a Stream which encrypts/decrypts using the AES block
    // cipher in counter mode. The length of iv must be the same as [BlockSize].
    func (c *aesCipherAsm) NewCTR(iv []byte) cipher.Stream {
    	if len(iv) != BlockSize {
    		panic("cipher.NewCTR: IV length must equal block size")
    	}
    	var ac aesctr
    	ac.block = c
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. src/net/lookup_plan9.go

    		return n, nil
    	}
    	return 0, UnknownNetworkError(name)
    }
    
    func (*Resolver) lookupHost(ctx context.Context, host string) (addrs []string, err error) {
    	// Use netdir/cs instead of netdir/dns because cs knows about
    	// host names in local network (e.g. from /lib/ndb/local)
    	lines, err := queryCS(ctx, "net", host, "1")
    	if err != nil {
    		return nil, handlePlan9DNSError(err, host)
    	}
    loop:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:08:38 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/device_util.cc

      name_to_id_.emplace(string(name), DeviceId(new_id));
    
      const XlaOpRegistry::DeviceRegistration* compilation_device;
      if (!XlaOpRegistry::GetCompilationDevice(device_type->type(),
                                               &compilation_device)) {
        compilation_device = nullptr;
      }
      id_to_compilation_device_.push_back(compilation_device);
    
      return DeviceId(new_id);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/composition.go

    	if a.result.Error != nil {
    		return types.NewErr("composited variable %q fails to compile: %v", a.name, a.result.Error)
    	}
    
    	v, details, err := a.result.Program.ContextEval(a.context, a.activation)
    	if details == nil {
    		return types.NewErr("unable to get evaluation details of variable %q", a.name)
    	}
    	costPtr := details.ActualCost()
    	if costPtr == nil {
    		return types.NewErr("unable to calculate cost of variable %q", a.name)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 13 21:06:39 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top