- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,427 for appends (0.1 sec)
-
src/bytes/buffer.go
} }() // TODO(http://golang.org/issue/51462): We should rely on the append-make // pattern so that the compiler can call runtime.growslice. For example: // return append(b, make([]byte, n)...) // This avoids unnecessary zero-ing of the first len(b) bytes of the // allocated slice, but this pattern causes b to escape onto the heap. // // Instead use the append-make pattern with a nil slice to ensure that
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Oct 29 16:47:05 UTC 2024 - 15.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralDataInternal.java
/** * Replaces the host with the given FQDN if it is currently unqualified * * @param fqdn */ void fixupHost ( String fqdn ); /** * Possibly appends the given domain name to the host name if it is currently unqualified * * @param domain */ void fixupDomain ( String domain ); /** * Reduces path consumed by the given value
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.4K bytes - Viewed (0) -
internal/logger/reqinfo.go
updated = true break } } if !updated { // Append to the end of tags list r.tags = append(r.tags, KeyVal{key, val}) } return r } // GetTags - returns the user defined tags func (r *ReqInfo) GetTags() []KeyVal { if r == nil { return nil } r.RLock() defer r.RUnlock() return append(make([]KeyVal, 0, len(r.tags)), r.tags...) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 22:22:04 UTC 2024 - 4.4K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.9K bytes - Viewed (0) -
internal/grid/types.go
// Value returns the underlying value. // Regular append mechanics should be observed. // If no value has been set yet, a new array is created. func (j *Array[T]) Value() []T { if j.val == nil { j.val = j.p.newA(10) } return j.val } // Append a value to the underlying array. // The returned Array is always the same as the one called. func (j *Array[T]) Append(v ...T) *Array[T] { if j.val == nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 15.5K bytes - Viewed (0) -
internal/grid/grid.go
func readAllInto(b []byte, r *wsutil.Reader, want int64) ([]byte, error) { read := int64(0) for { if len(b) == cap(b) { // Add more capacity (let append pick how much). b = append(b, 0)[:len(b)] } n, err := r.Read(b[len(b):cap(b)]) b = b[:len(b)+n] if err != nil { if errors.Is(err, io.EOF) { if want >= 0 && read+int64(n) != want { return nil, io.ErrUnexpectedEOF }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 6.9K bytes - Viewed (0) -
apache-maven/pom.xml
TODO: templates are loaded from classpath, in "normal" JAR project local template would override docgen one, but in this case the packaging=pom all I could do is use additionalClasspathElement that APPENDS classpath, hence template is renamed to maven-configuration.md.vm, to avoid conflict (and picking up resolver template) -->
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 13:41:46 UTC 2024 - 13.4K bytes - Viewed (0) -
docs/en/docs/js/termynal.js
// moving as she/he scrolls const finish = this.generateFinish() finish.style.visibility = 'hidden' this.container.appendChild(finish) // Appends dynamically loaded lines to existing line elements. this.lines = [...this.container.querySelectorAll(`[${this.pfx}]`)].concat(this.lineData); for (let line of this.lines) { line.style.visibility = 'hidden'
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu May 12 00:06:16 UTC 2022 - 9.3K bytes - Viewed (0) -
internal/logger/logrotate.go
Compress bool } // Writer is a concurrency-safe writer with file rotation. type Writer struct { // opts are the configuration options for this Writer opts Options // f is the currently open file used for appends. // Writes to f are only synchronized once Close() is called, // or when files are being rotated. f *os.File pw *xioutil.PipeWriter pr *xioutil.PipeReader }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.8K bytes - Viewed (0)