Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,845 for pointerT (0.19 sec)

  1. pkg/printers/internalversion/printers.go

    func printPodList(podList *api.PodList, options printers.GenerateOptions) ([]metav1.TableRow, error) {
    	rows := make([]metav1.TableRow, 0, len(podList.Items))
    	for i := range podList.Items {
    		r, err := printPod(&podList.Items[i], options)
    		if err != nil {
    			return nil, err
    		}
    		rows = append(rows, r...)
    	}
    	return rows, nil
    }
    
    func printPod(pod *api.Pod, options printers.GenerateOptions) ([]metav1.TableRow, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  2. src/go/printer/printer.go

    	commentNewline bool              // true if the comment group contains newlines
    }
    
    type printer struct {
    	// Configuration (does not change after initialization)
    	Config
    	fset *token.FileSet
    
    	// Current state
    	output       []byte       // raw printer result
    	indent       int          // current indentation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 41.6K bytes
    - Viewed (0)
  3. src/runtime/checkptr.go

    	return checkptrBase(ptr) != checkptrBase(end)
    }
    
    func checkptrArithmetic(p unsafe.Pointer, originals []unsafe.Pointer) {
    	if 0 < uintptr(p) && uintptr(p) < minLegalPointer {
    		throw("checkptr: pointer arithmetic computed bad pointer value")
    	}
    
    	// Check that if the computed pointer p points into a heap
    	// object, then one of the original pointers must have pointed
    	// into the same object.
    	base := checkptrBase(p)
    	if base == 0 {
    		return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/printer.go

    // that takes care of accounting and error handling.
    func (p *printer) write(data []byte) {
    	n, err := p.output.Write(data)
    	p.written += n
    	if err != nil {
    		panic(writeError{err})
    	}
    }
    
    var (
    	tabBytes    = []byte("\t\t\t\t\t\t\t\t")
    	newlineByte = []byte("\n")
    	blankByte   = []byte(" ")
    )
    
    func (p *printer) writeBytes(data []byte) {
    	if len(data) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 24 07:17:27 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  5. src/runtime/runtime-gdb.py

    	"""
    	find_goroutine attempts to find the goroutine identified by goid.
    	It returns a tuple of gdb.Value's representing the stack pointer
    	and program counter pointer for the goroutine.
    
    	@param int goid
    
    	@return tuple (gdb.Value, gdb.Value)
    	"""
    	vp = gdb.lookup_type('void').pointer()
    	for ptr in SliceValue(gdb.parse_and_eval("'runtime.allgs'")):
    		if ptr['atomicstatus']['value'] == G_DEAD:
    			continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 12:59:20 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomNodePointer.java

            super(parent);
            this.node = node;
        }
    
        @Override
        public int compareChildNodePointers(NodePointer pointer1, NodePointer pointer2) {
            XmlNode node1 = (XmlNode) pointer1.getBaseValue();
            XmlNode node2 = (XmlNode) pointer2.getBaseValue();
            if (node1 == node2) {
                return 0;
            }
            for (XmlNode child : node.getChildren()) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/symbols/AbstractSymbolTest.kt

        private fun assertSymbolPointer(pointer: KaSymbolPointer<*>, testServices: TestServices) {
            testServices.assertions.assertTrue(value = pointer.pointsToTheSameSymbolAs(pointer)) {
                "The symbol is not equal to itself: ${pointer::class}"
            }
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:43:55 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomAttributePointer.java

            super(parent);
            this.attrib = attrib;
        }
    
        @Override
        public int compareChildNodePointers(NodePointer pointer1, NodePointer pointer2) {
            // should never happen because attributes have no children
            return 0;
        }
    
        @Override
        public Object getValue() {
            return attrib.getValue();
        }
    
        @Override
        public Object getBaseValue() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. src/runtime/mgcstack.go

    // pointer. We call these variables "stack objects".
    //
    // We begin by determining all the stack objects on the stack and all
    // the statically live pointers that may point into the stack. We then
    // process each pointer to see if it points to a stack object. If it
    // does, we scan that stack object. It may contain pointers into the
    // heap, in which case those pointers are passed to the main garbage
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 21:06:52 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  10. src/runtime/mwbbuf.go

    		return
    	}
    
    	// Mark all of the pointers in the buffer and record only the
    	// pointers we greyed. We use the buffer itself to temporarily
    	// record greyed pointers.
    	//
    	// TODO: Should scanobject/scanblock just stuff pointers into
    	// the wbBuf? Then this would become the sole greying path.
    	//
    	// TODO: We could avoid shading any of the "new" pointers in
    	// the buffer if the stack has been shaded, or even avoid
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top