- Sort Score
- Num 10 results
- Language All
Results 431 - 440 of 834 for Length (0.07 seconds)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelWriter.java
Objects.requireNonNull(model, "model cannot be null"); String encoding = model.getModelEncoding(); // TODO Use StringUtils here if (encoding == null || encoding.length() <= 0) { encoding = "UTF-8"; } try (Writer out = new OutputStreamWriter(output, encoding)) { write(out, options, model); } }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 2.7K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/ClasspathArtifactResolver.java
results.add(result); Artifact artifact = request.getArtifact(); if ("maven-test".equals(artifact.getGroupId())) { String scope = artifact.getArtifactId().substring("scope-".length()); try { artifact = artifact.setFile(ProjectClasspathTestType.getFileForClasspathResource( ProjectClasspathTestType.DIR + "transitive-" + scope + "-dep.xml"));
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.1K bytes - Click Count (0) -
internal/ringbuffer/README.md
# Usage ```go package main import ( "fmt" "github.com/smallnest/ringbuffer" ) func main() { rb := ringbuffer.New(1024) // write rb.Write([]byte("abcd")) fmt.Println(rb.Length()) fmt.Println(rb.Free()) // read buf := make([]byte, 4) rb.Read(buf) fmt.Println(string(buf)) } ``` It is possible to use an existing buffer with by replacing `New` with `NewBuffer`.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed May 15 00:11:04 GMT 2024 - 2.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 10 07:39:11 GMT 2025 - 25.5K bytes - Click Count (0) -
internal/ringbuffer/ring_buffer.go
} r.buf[r.w] = c r.w++ if r.w == r.size { r.w = 0 } if r.w == r.r { r.isFull = true } return nil } // Length return the length of available read bytes. func (r *RingBuffer) Length() int { r.mu.Lock() defer r.mu.Unlock() if r.w == r.r { if r.isFull { return r.size } return 0 } if r.w > r.r { return r.w - r.r
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 13.3K bytes - Click Count (0) -
tensorflow/c/c_api_experimental.h
// `len`. The format is subject to change in the future. // The returned string is heap-allocated, and caller should call free() on it. TF_CAPI_EXPORT extern const char* TF_GraphDebugString(TF_Graph* graph, size_t* len); // Returns the function content in a human-readable format, with length set in
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 15.1K bytes - Click Count (0) -
cmd/storage-rest-common.go
storageRESTSrcVolume = "svol" storageRESTSrcPath = "spath" storageRESTDstVolume = "dvol" storageRESTDstPath = "dpath" storageRESTOffset = "offset" storageRESTLength = "length" storageRESTCount = "count" storageRESTBitrotAlgo = "balg" storageRESTBitrotHash = "bhash" storageRESTDiskID = "did" storageRESTForceDelete = "fdel"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Aug 12 08:38:15 GMT 2024 - 2.9K bytes - Click Count (0) -
cmd/storage-rest-server.go
var tmp [4]byte _, err := io.ReadFull(respBody, tmp[:]) if err != nil { return err } length := binary.LittleEndian.Uint32(tmp[:]) n, err := io.CopyBuffer(w, io.LimitReader(respBody, int64(length)), buf) if err != nil { return err } if n != int64(length) { return io.ErrUnexpectedEOF } continue case 32: continue default:
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 45.7K bytes - Click Count (0) -
internal/grid/grid.go
// byte buffer. // When replacing PutByteBuffer should also be replaced // There is no minimum size. var GetByteBuffer = func() []byte { b := *internalByteBuffer.Get() return b[:0] } // GetByteBufferCap returns a length 0 byte buffer with at least the given capacity. func GetByteBufferCap(wantSz int) []byte { if wantSz < defaultBufferSize { b := GetByteBuffer()[:0] if cap(b) >= wantSz { return b } PutByteBuffer(b)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 7K bytes - Click Count (0) -
tensorflow/c/c_api_internal.h
namespace tensorflow { // Set the shapes and types of the output's handle. // // The lengths of the arrays pointed to by `shapes`, `ranks`, and `types` must // all be equal to `num_shapes_and_types`. If `ranks[i] != -1`, (i.e., if the // rank is known), then it must be equal to the length of `shapes[i]`; if // `ranks[i] == 1`, then `shapes[i]` may be nullptr. //Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Sat May 13 00:49:12 GMT 2023 - 7.6K bytes - Click Count (0)