- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 291 for small (0.02 seconds)
-
src/arena/arena.go
This functionality in this package is mostly captured in the Arena type. Arenas allocate large chunks of memory for Go values, so they're likely to be inefficient for allocating only small amounts of small Go values. They're best used in bulk, on the order of MiB of memory allocated on each use. Note that by allowing for this limited form of manual memory allocation
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Oct 12 20:23:36 GMT 2022 - 4.3K bytes - Click Count (0) -
.teamcity/src/main/kotlin/model/BucketExtensions.kt
/** * Split a list of elements into nearly even sublist. If an element is too large, largeElementSplitFunction will be used to split the large element into several smaller pieces; * if some elements are too small, they will be aggregated by smallElementAggregateFunction. * * @param list the list to split, must be ordered by size desc * @param toIntFunction the function used to map the element to its "size"
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Feb 12 09:12:03 GMT 2025 - 5.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
private enum TimeoutsToUse { ANY(Timeout.values()), PAST(Timeout.MIN, Timeout.MINUS_SMALL, Timeout.ZERO), FUTURE(Timeout.SMALL, Timeout.MAX), SMALL(Timeout.SMALL), FINITE(Timeout.MIN, Timeout.MINUS_SMALL, Timeout.ZERO, Timeout.SMALL), INFINITE(Timeout.LARGE, Timeout.MAX); final ImmutableList<Timeout> timeouts; TimeoutsToUse(Timeout... timeouts) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 21:00:51 GMT 2025 - 27.1K bytes - Click Count (0) -
internal/grid/grid.go
}, } var internal32KByteBuffer = bpool.Pool[*[]byte]{ New: func() *[]byte { m := make([]byte, 0, biggerBufMin) return &m }, } // GetByteBuffer can be replaced with a function that returns a small // byte buffer. // When replacing PutByteBuffer should also be replaced // There is no minimum size. var GetByteBuffer = func() []byte { b := *internalByteBuffer.Get() return b[:0] }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 7K bytes - Click Count (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/IntegrationTest.kt
import org.gradle.api.tasks.InputDirectory import org.gradle.api.tasks.PathSensitive import org.gradle.api.tasks.PathSensitivity /** * Verifies the correct behavior of a feature, as opposed to just a small unit of code. * Usually referred to as 'functional tests' in literature, but our code base has historically * been using the term 'integration test'. */ @CacheableTask abstract class IntegrationTest : DistributionTest() {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 2K bytes - Click Count (0) -
.github/CONTRIBUTING.md
- Favour a working external library if appropriate. There are many examples of OkHttp libraries that can sit on top or hook in via existing APIs. - Get working code on a personal branch with tests before you submit a PR. - OkHttp is a small and light dependency. Don't introduce new dependencies or major new functionality.
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Mar 17 04:16:26 GMT 2019 - 1.4K bytes - Click Count (0) -
cmd/server-rlimit.go
return err } _, vssLimit, err := sys.GetMaxMemoryLimit() if err != nil { return err } if vssLimit > 0 && vssLimit < humanize.GiByte { logger.Info("WARNING: maximum virtual memory limit (%s) is too small for 'go runtime', please consider setting `ulimit -v` to unlimited", humanize.IBytes(vssLimit)) } if ctx.MemLimit > 0 { debug.SetMemoryLimit(int64(ctx.MemLimit)) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jul 02 15:09:36 GMT 2024 - 2.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/IsProbablyUtf8.kt
* limitations under the License. */ package okhttp3.internal import java.io.EOFException import okio.BufferedSource /** * Returns true if the body in question probably contains human-readable text. Uses a small * sample of code points to detect Unicode control characters commonly used in binary file * signatures. * * @param codePointLimit the number of code points to read in order to make a decision. */
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Oct 06 22:47:06 GMT 2025 - 1.4K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java
// I'm fully aware that the file could just be moved using File.rename but // there are bugs in various JVM that have problems doing this across // different filesystem. So we'll incur the small hit to actually copy // here and be safe. jvz. // ---------------------------------------------------------------------------- try {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/QuantilesAlgorithm.java
Collection<Integer> indexes, int scale, double[] dataset); static double getMinValue(double[] array, int from) { // This is basically a copy of com.google.math.Rank#getMinValue, with a small change in the // method signature: we always search to the end of the array. int min = from; for (int i = from + 1; i < array.length; i++) { if (array[min] > array[i]) { min = i; }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 7.1K bytes - Click Count (0)