- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,309 for inNode (0.12 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
src/cmd/go/internal/lockedfile/internal/filelock/filelock_fcntl.go
} var ( mu sync.Mutex inodes = map[File]inode{} locks = map[inode]inodeLock{} ) func lock(f File, lt lockType) (err error) { // POSIX locks apply per inode and process, and the lock for an inode is // released when *any* descriptor for that inode is closed. So we need to // synchronize access to each inode internally, and must serialize lock and // unlock calls that refer to the same inode through different descriptors.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 17 02:24:35 UTC 2023 - 5.5K bytes - Viewed (0) -
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) -
src/vendor/golang.org/x/net/http2/hpack/encode.go
Cherry Mui <******@****.***> 1669134308 -0500
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 17:16:14 UTC 2022 - 7.1K bytes - Viewed (0) -
pkg/volume/util/fs/fs.go
} inodes, _ := fsquota.GetInodes(path) if inodes != nil { usage.Inodes = inodes.Value() } if inodes != nil && consumption != nil { return usage, nil } topLevelStat := &unix.Stat_t{} err := unix.Stat(path, topLevelStat) if err != nil { return usage, err } // dedupedInode stores inodes that could be duplicates (nlink > 1)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jan 20 02:56:02 UTC 2022 - 3.8K bytes - Viewed (0)