- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 621 for padding (0.04 seconds)
-
tests/lru_test.go
} func TestLRUEdgeCases(t *testing.T) { lc := lru.NewLRU[string, *string](2, nil, 0) // Adding a nil value lc.Add("key1", nil) value, exists := lc.Get("key1") if value != nil || !exists { t.Fatalf("unexpected value or existence flag for key1: value=%v, exists=%v", value, exists) } // Adding an entry with the same key but different value newVal := "val1" lc.Add("key1", &newVal)
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Sep 08 09:19:22 GMT 2025 - 10.4K bytes - Click Count (0) -
docs/bucket/replication/setup_2site_existing_replication.sh
./mc mirror /tmp/data sitea/bucket/ ./mc version enable sitea/bucket ./mc cp /tmp/data/file_1.txt sitea/bucket/marker ./mc rm sitea/bucket/marker ./mc mb siteb/bucket/ ./mc version enable siteb/bucket/ echo "adding replication rule for site a -> site b" ./mc replicate add sitea/bucket/ \ --remote-bucket http://minio:minio123@127.0.0.1:9004/bucket remote_arn=$(./mc replicate ls sitea/bucket --json | jq -r .rule.Destination.Bucket)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Sep 06 09:42:21 GMT 2024 - 5.6K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
// So that is why we cancel only in the case of CAS success. taskFuture.cancel(false); } }; // Adding the listener to both futures guarantees that newFuture will always be set. Adding to // taskFuture guarantees completion if the callable is invoked, and adding to outputFuture // propagates cancellation if the callable has not yet been invoked. outputFuture.addListener(listener, directExecutor());Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 01:35:55 GMT 2025 - 22.1K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/DirectedGraphConnections.java
if (that instanceof Pred) { return this.node.equals(((Pred<?>) that).node); } else { return false; } } @Override public int hashCode() { // Adding the class hashCode to avoid a clash with Succ instances. return Pred.class.hashCode() + node.hashCode(); } } static final class Succ<N> extends NodeConnection<N> { Succ(N node) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 17.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageDeflater.kt
val newSize = deflatedBytes.size - LAST_OCTETS_COUNT_TO_REMOVE_AFTER_DEFLATION deflatedBytes.readAndWriteUnsafe().use { cursor -> cursor.resizeBuffer(newSize) } } else { // Same as adding EMPTY_DEFLATE_BLOCK and then removing 4 bytes. deflatedBytes.writeByte(0x00) } buffer.write(deflatedBytes, deflatedBytes.size) } @Throws(IOException::class)Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 2.1K bytes - Click Count (0) -
internal/bucket/replication/error.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package replication import ( "fmt" ) // Error is the generic type for any error happening during tag // parsing. type Error struct { err error } // Errorf - formats according to a format specifier and returns // the string as a value that satisfies error of type tagging.Error func Errorf(format string, a ...any) error {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 1.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealResponseBody.kt
import okhttp3.MediaType import okhttp3.MediaType.Companion.toMediaTypeOrNull import okhttp3.ResponseBody import okio.BufferedSource class RealResponseBody( /** * Use a string to avoid parsing the content type until needed. This also defers problems caused * by malformed content types. */ private val contentTypeString: String?, private val contentLength: Long, private val source: BufferedSource,
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 1.2K bytes - Click Count (0) -
internal/s3select/csv/errors.go
} func (err *s3Error) Error() string { return err.message } func errCSVParsingError(err error) *s3Error { return &s3Error{ code: "CSVParsingError", message: "Encountered an error parsing the CSV file. Check the file and try again.", statusCode: 400, cause: err, } } func errInvalidTextEncodingError() *s3Error { return &s3Error{ code: "InvalidTextEncoding",
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 1.6K bytes - Click Count (0) -
docs/pt/docs/advanced/middleware.md
E então você também leu como lidar com [CORS com o `CORSMiddleware`](../tutorial/cors.md){.internal-link target=_blank}. Nesta seção, veremos como usar outros middlewares. ## Adicionando middlewares ASGI { #adding-asgi-middlewares }
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.7K bytes - Click Count (0) -
guava-testlib/README.md
# Guava Testlib: Google Testing Libraries for Java Guava testlib is a set of Java classes for more convenient unit testing. ## Adding Guava Testlib to your build Guava testlib's Maven group ID is `com.google.guava` and its artifact ID is `guava-testlib`. To add a dependency on Guava testlib using Maven, use the following: ```xml <dependency> <groupId>com.google.guava</groupId> <artifactId>guava-testlib</artifactId>
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 16 22:01:32 GMT 2025 - 1.7K bytes - Click Count (0)