Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 91 for newDir (0.27 sec)

  1. src/crypto/cipher/ctr.go

    // implementation of CTR, like crypto/aes. NewCTR will check for this interface
    // and return the specific Stream if found.
    type ctrAble interface {
    	NewCTR(iv []byte) Stream
    }
    
    // NewCTR returns a [Stream] which encrypts/decrypts using the given [Block] in
    // counter mode. The length of iv must be the same as the [Block]'s block size.
    func NewCTR(block Block, iv []byte) Stream {
    	if ctr, ok := block.(ctrAble); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. pkg/apis/certificates/validation/validation.go

    }
    
    func ValidateCertificateSigningRequestUpdate(newCSR, oldCSR *certificates.CertificateSigningRequest) field.ErrorList {
    	opts := getValidationOptions(newCSR, oldCSR)
    	return validateCertificateSigningRequestUpdate(newCSR, oldCSR, opts)
    }
    
    func ValidateCertificateSigningRequestStatusUpdate(newCSR, oldCSR *certificates.CertificateSigningRequest) field.ErrorList {
    	opts := getValidationOptions(newCSR, oldCSR)
    	opts.allowSettingCertificate = true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:49 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  3. pkg/apis/certificates/validation/validation_test.go

    		Usages:     validUsages,
    		Request:    newCSRPEM(t),
    		SignerName: "example.com/something",
    	}
    
    	tests := []struct {
    		name   string
    		newCSR *capi.CertificateSigningRequest
    		oldCSR *capi.CertificateSigningRequest
    		errs   []string
    	}{{
    		name:   "no-op",
    		newCSR: &capi.CertificateSigningRequest{ObjectMeta: validUpdateMeta, Spec: validSpec},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:49 UTC 2023
    - 61K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/clone_constants_for_better_clustering.cc

      TF_ASSIGN_OR_RETURN(Node * new_in, graph_->AddNode(new_in_def));
    
      for (const Edge* e : n->in_edges()) {
        if (e->IsControlEdge()) {
          graph_->AddControlEdge(e->src(), new_in);
        } else {
          graph_->AddEdge(e->src(), e->src_output(), new_in, e->dst_input());
        }
      }
    
      new_in->set_assigned_device_name(n->assigned_device_name());
      return new_in;
    }
    
    namespace {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/cel/common/values.go

    			return types.NullValue
    		}
    		return types.NewErr("invalid data, got null for schema with nullable=false")
    	}
    	if schema.IsXIntOrString() {
    		switch v := unstructured.(type) {
    		case string:
    			return types.String(v)
    		case int:
    			return types.Int(v)
    		case int32:
    			return types.Int(v)
    		case int64:
    			return types.Int(v)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:30:17 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top