Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 69 for lineFor (0.29 sec)

  1. src/cmd/internal/objfile/objfile.go

    func (x byAddr) Swap(i, j int)      { x[i], x[j] = x[j], x[i] }
    
    func (e *Entry) PCLineTable() (Liner, error) {
    	// If the raw file implements Liner directly, use that.
    	// Currently, only Go intermediate objects and archives (goobj) use this path.
    	if pcln, ok := e.raw.(Liner); ok {
    		return pcln, nil
    	}
    	// Otherwise, read the pcln tables and build a Liner out of that.
    	textStart, symtab, pclntab, err := e.raw.pcln()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 24 16:01:55 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  2. src/cmd/vendor/rsc.io/markdown/break.go

    	buf.WriteString(s.prefix)
    	buf.WriteString(b.raw)
    	buf.WriteByte('\n')
    }
    
    func newHR(p *parseState, s line) (line, bool) {
    	if isHR(s) {
    		p.doneBlock(&ThematicBreak{Position{p.lineno, p.lineno}, s.string()})
    		return line{}, true
    	}
    	return s, false
    }
    
    func isHR(s line) bool {
    	t := s
    	t.trimSpace(0, 3, false)
    	switch c := t.peek(); c {
    	case '-', '_', '*':
    		for i := 0; ; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/ops/nn_ops.h

    // Computes rectified linear gradients for a Relu operation.
    Status ReluGrad(AbstractContext* ctx, AbstractTensorHandle* const gradients,
                    AbstractTensorHandle* const features,
                    AbstractTensorHandle** backprops, const char* name = nullptr,
                    const char* raw_device_name = nullptr);
    
    // Computes rectified linear: `max(features, 0)`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 10 19:11:36 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  4. test/ken/rob2.go

    	return slist.PrintOne(true)
    }
    
    func Get() int {
    	var c int
    
    	if peekc >= 0 {
    		c = peekc
    		peekc = -1
    	} else {
    		c = int(input[inputindex])
    		inputindex++
    		if c == '\n' {
    			lineno = lineno + 1
    		}
    		if c == nilchar {
    			inputindex = inputindex - 1
    			c = EOF
    		}
    	}
    	return c
    }
    
    func WhiteSpace(c int) bool {
    	return c == ' ' || c == '\t' || c == '\r' || c == '\n'
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 4.3K bytes
    - Viewed (0)
  5. src/cmd/vendor/rsc.io/markdown/heading.go

    			id, s = extractID(p, s)
    
    			// Goldmark is strict about the id syntax.
    			for _, c := range id {
    				if c >= 0x80 || !isLetterDigit(byte(c)) {
    					p.corner = true
    				}
    			}
    		}
    		pos := Position{p.lineno, p.lineno}
    		p.doneBlock(&Heading{pos, n, p.newText(pos, s), id})
    		return line{}, true
    	}
    	return s, false
    }
    
    // extractID removes an ID attribute from s if one is present.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssagen/nowb.go

    		// Record the path.
    		funcs[target] = nowritebarrierrecCall{target: src, lineno: pos}
    		q.PushRight(target.Nname)
    	}
    	for !q.Empty() {
    		fn := q.PopLeft().Func
    
    		// Check fn.
    		if fn.WBPos.IsKnown() {
    			var err strings.Builder
    			call := funcs[fn]
    			for call.target != nil {
    				fmt.Fprintf(&err, "\n\t%v: called by %v", base.FmtPos(call.lineno), call.target.Nname)
    				call = funcs[call.target]
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 17:29:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. src/runtime/testdata/testprogcgo/tracebackctxt_c.c

    };
    
    struct cgoTracebackArg {
    	uintptr_t  context;
    	uintptr_t  sigContext;
    	uintptr_t* buf;
    	uintptr_t  max;
    };
    
    struct cgoSymbolizerArg {
    	uintptr_t   pc;
    	const char* file;
    	uintptr_t   lineno;
    	const char* func;
    	uintptr_t   entry;
    	uintptr_t   more;
    	uintptr_t   data;
    };
    
    // Uses atomic adds and subtracts to catch the possibility of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 29 15:30:38 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/AutoTestedSamplesToolingApiTest.groovy

            def checkDiagnostic = { diagnostic ->
                if (diagnostic.kind.name() == 'ERROR') {
                    String[] lines = source.split("\n")
                    int lineNo = diagnostic.lineNumber - 1
    
                    def message = "Compilation error in sample in line: \n" + lines[lineNo] + "\n" + diagnostic + "\n"
                    message = message - sourceFile.absolutePath
                    throw new AssertionError(message)
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  9. guava/javadoc-link/checker-framework/package-list

    org.checkerframework.checker.initialization
    org.checkerframework.checker.initialization.qual
    org.checkerframework.checker.interning
    org.checkerframework.checker.interning.qual
    org.checkerframework.checker.linear
    org.checkerframework.checker.linear.qual
    org.checkerframework.checker.lock
    org.checkerframework.checker.lock.qual
    org.checkerframework.checker.nullness
    org.checkerframework.checker.nullness.compatqual
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 07 19:00:31 UTC 2017
    - 3.8K bytes
    - Viewed (0)
  10. test/chanlinear.go

    // Copyright 2014 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test that dequeuing from a pending channel doesn't
    // take linear time.
    
    package main
    
    import (
    	"fmt"
    	"runtime"
    	"time"
    )
    
    // checkLinear asserts that the running time of f(n) is in O(n).
    // tries is the initial number of iterations.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top