Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 485 for inNode (0.16 sec)

  1. src/go/types/util.go

    func argErrPos(call *ast.CallExpr) positioner { return inNode(call, call.Rparen) }
    
    // startPos returns the start position of node n.
    func startPos(n ast.Node) token.Pos { return n.Pos() }
    
    // endPos returns the position of the first character immediately after node n.
    func endPos(n ast.Node) token.Pos { return n.End() }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. src/go/types/errors.go

    }
    
    func (e posSpan) Pos() token.Pos {
    	return e.pos
    }
    
    // inNode creates a posSpan for the given node.
    // Invariant: node.Pos() <= pos < node.End() (node.End() is the position of the
    // first byte after node within the source).
    func inNode(node ast.Node, pos token.Pos) posSpan {
    	start, end := node.Pos(), node.End()
    	if debug {
    		assert(start <= pos && pos < end)
    	}
    	return posSpan{start, pos, end}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/encode.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package modes
    
    import (
    	"github.com/fxamacker/cbor/v2"
    )
    
    var Encode cbor.EncMode = func() cbor.EncMode {
    	encode, err := cbor.EncOptions{
    		// Map keys need to be sorted to have deterministic output, and this is the order
    		// defined in RFC 8949 4.2.1 "Core Deterministic Encoding Requirements".
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 15 15:31:10 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. src/internal/coverage/encodecounter/encode.go

    // writing; when writing counter data files, clients pass a
    // CounterVisitor to the write/emit routines, then the expectation is
    // that the VisitFuncs method will then invoke the callback "f" with
    // data for each function to emit to the file.
    type CounterVisitor interface {
    	VisitFuncs(f CounterVisitorFn) error
    }
    
    // CounterVisitorFn describes a callback function invoked when writing
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. cmd/erasure-encode.go

    	return fmt.Errorf("%w (offline-disks=%d/%d)", writeErr, countErrs(p.errs, errDiskNotFound), len(p.writers))
    }
    
    // Encode reads from the reader, erasure-encodes the data and writes to the writers.
    func (e *Erasure) Encode(ctx context.Context, src io.Reader, writers []io.Writer, buf []byte, quorum int) (total int64, err error) {
    	writer := &multiWriter{
    		writers:     writers,
    		writeQuorum: quorum,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. docs/en/docs/how-to/async-sql-encode-databases.md

    You can also use <a href="https://github.com/encode/databases" class="external-link" target="_blank">`encode/databases`</a> with **FastAPI** to connect to databases using `async` and `await`.
    
    It is compatible with:
    
    * PostgreSQL
    * MySQL
    * SQLite
    
    In this example, we'll use **SQLite**, because it uses a single file and Python has integrated support. So, you can copy this example and run it as is.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. src/internal/coverage/encodemeta/encode.go

    apocelipes <******@****.***> 1709068395 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 17:16:10 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/pod_cache_test.go

    )
    
    func openNsTestOverride(s string) (NetnsCloser, error) {
    	return newFakeNs(inc()), nil
    }
    
    func openNsTestOverrideWithInodes(inodes ...uint64) func(s string) (NetnsCloser, error) {
    	i := 0
    	return func(s string) (NetnsCloser, error) {
    		inode := inodes[i]
    		i++
    		return newFakeNsInode(inc(), inode), nil
    	}
    }
    
    func TestUpsertPodCache(t *testing.T) {
    	counter.Store(0)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. cmd/callhome.go

    	}{Version: healthInfo.Version}
    
    	enc := json.NewEncoder(gzWriter)
    	if e := enc.Encode(header); e != nil {
    		internalLogIf(ctx, fmt.Errorf("Could not encode health info header: %w", e))
    		return nil
    	}
    
    	if e := enc.Encode(healthInfo); e != nil {
    		internalLogIf(ctx, fmt.Errorf("Could not encode health info: %w", e))
    		return nil
    	}
    
    	gzWriter.Flush()
    	gzWriter.Close()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 16:53:34 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Node.java

         */
        @Nullable
        Dependency getDependency();
    
        /**
         * Gets the child nodes of this node.
         *
         * @return the child nodes of this node, never {@code null}
         */
        @Nonnull
        List<Node> getChildren();
    
        /**
         * @return repositories of this node
         */
        @Nonnull
        List<RemoteRepository> getRemoteRepositories();
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top