Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 286 for devnode (0.16 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/DomNode.java

    import groovy.util.Node;
    
    /**
     * A node which represents the root of an XML document.
     */
    public class DomNode extends Node {
        private String publicId;
        private String systemId;
    
        static {
            setMetaClass(GroovySystem.getMetaClassRegistry().getMetaClass(DomNode.class), DomNode.class);
        }
        
        public String getPublicId() {
            return publicId;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 02 16:56:13 UTC 2016
    - 1.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/decode.go

    		ByteStringToTime: cbor.ByteStringToTimeAllowed,
    	}.DecMode()
    	if err != nil {
    		panic(err)
    	}
    	return decode
    }()
    
    // DecodeLax is derived from Decode, but does not complain about unknown fields in the input.
    var DecodeLax cbor.DecMode = func() cbor.DecMode {
    	opts := Decode.DecOptions()
    	opts.ExtraReturnErrors &^= cbor.ExtraDecErrorUnknownField // clear bit
    	dm, err := opts.DecMode()
    	if err != nil {
    		panic(err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 14:03:36 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/decode.go

    var (
    	// Errors
    	errShort   = fmt.Errorf("truncated instruction")
    	errUnknown = fmt.Errorf("unknown instruction")
    )
    
    var decoderCover []bool
    
    // Decode decodes the leading bytes in src as a single instruction using
    // byte order ord.
    func Decode(src []byte, ord binary.ByteOrder) (inst Inst, err error) {
    	if len(src) < 4 {
    		return inst, errShort
    	}
    	if decoderCover == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  4. src/internal/coverage/decodemeta/decode.go

    Than McIntosh <******@****.***> 1683835778 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:28 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. cmd/erasure-decode.go

    	}
    
    	// If we cannot decode, just return read quorum error.
    	return nil, fmt.Errorf("%w (offline-disks=%d/%d)", errErasureReadQuorum, disksNotFound, len(p.readers))
    }
    
    // Decode reads from readers, reconstructs data if needed and writes the data to the writer.
    // A set of preferred drives can be supplied. In that case they will be used and the data reconstructed.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 21 14:36:21 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. pkg/proxy/ipvs/netlink_linux.go

    	}
    	return false, nil
    }
    
    // UnbindAddress makes sure IP address is unbound from the network interface.
    func (h *netlinkHandle) UnbindAddress(address, devName string) error {
    	dev, err := h.LinkByName(devName)
    	if err != nil {
    		return fmt.Errorf("error get interface: %s, err: %v", devName, err)
    	}
    	addr := netutils.ParseIPSloppy(address)
    	if addr == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 30 16:18:49 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  7. pkg/proxy/ipvs/netlink.go

    	EnsureAddressBind(address, devName string) (exist bool, err error)
    	// UnbindAddress unbind address from the interface
    	UnbindAddress(address, devName string) error
    	// EnsureDummyDevice checks if dummy device is exist and, if not, create one.  If the dummy device is already exist, return true.
    	EnsureDummyDevice(devName string) (exist bool, err error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 27 19:02:20 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. src/go/printer/performance_test.go

    	b.SetBytes(fileSize)
    	for i := 0; i < b.N; i++ {
    		testprint(io.Discard, fileNode)
    	}
    }
    
    func BenchmarkPrintDecl(b *testing.B) {
    	if declNode == nil {
    		initialize()
    	}
    	b.ReportAllocs()
    	b.SetBytes(declSize)
    	for i := 0; i < b.N; i++ {
    		testprint(io.Discard, declNode)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 15:10:10 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  9. platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/javaapplication/multi/list/LinkedList.java.template

    ${fileComment.multilineComment}${packageDecl.javaStatement}
    public class LinkedList {
        private Node head;
    
        public void add(String element) {
            Node newNode = new Node(element);
    
            Node it = tail(head);
            if (it == null) {
                head = newNode;
            } else {
                it.next = newNode;
            }
        }
    
        private static Node tail(Node head) {
            Node it;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 19:39:09 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/samples/templates/java-list-library/src/main/java/org/gradle/sample/list/LinkedList.java

    package org.gradle.sample.list;
    
    public class LinkedList {
        private Node head;
    
        public void add(String element) {
            Node newNode = new Node(element);
    
            Node it = tail(head);
            if (it == null) {
                head = newNode;
            } else {
                it.next = newNode;
            }
        }
    
        private static Node tail(Node head) {
            Node it;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top