- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 505 for blivit (0.06 seconds)
-
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
@DisplayName("Should not reuse connection when session limit reached") void testSessionLimitPreventsReuse() throws Exception { // Given: Config with session limit of 1 when(config.getSessionLimit()).thenReturn(1); // Create first connection SmbTransportImpl first = pool.getSmbTransport(ctx, address, 445, false); // Mock that session limit is reachedCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 19.2K bytes - Click Count (0) -
docs_src/query_param_models/tutorial002_an_py310.py
from typing import Annotated, Literal from fastapi import FastAPI, Query from pydantic import BaseModel, Field app = FastAPI() class FilterParams(BaseModel): model_config = {"extra": "forbid"} limit: int = Field(100, gt=0, le=100) offset: int = Field(0, ge=0) order_by: Literal["created_at", "updated_at"] = "created_at" tags: list[str] = [] @app.get("/items/")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Sep 17 18:54:10 GMT 2024 - 483 bytes - Click Count (0) -
helm/minio/templates/_helper_custom_command.txt
{{- else }} MC="/usr/bin/mc --insecure" {{- end }} # connectToMinio # Use a check-sleep-check loop to wait for MinIO service to be available connectToMinio() { SCHEME=$1 ATTEMPTS=0 ; LIMIT=29 ; # Allow 30 attempts set -e ; # fail if we can't read the keys. ACCESS=$(cat /config/rootUser) ; SECRET=$(cat /config/rootPassword) ; set +e ; # The connections to minio are allowed to fail.Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Feb 19 20:34:14 GMT 2022 - 1.4K bytes - Click Count (0) -
internal/pubsub/pubsub.go
totalSubs := atomic.AddInt32(&ps.numSubscribers, 1) if ps.maxSubscribers > 0 && totalSubs > ps.maxSubscribers { atomic.AddInt32(&ps.numSubscribers, -1) return fmt.Errorf("the limit of `%d` subscribers is reached", ps.maxSubscribers) } ps.Lock() defer ps.Unlock() sub := &Sub[T]{ch: subCh, types: Mask(mask.Mask()), filter: filter} ps.subs = append(ps.subs, sub)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 06 16:57:30 GMT 2024 - 5.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java
return Collections.emptyList(); } List<String> readings = new ArrayList<>(); int limit = Math.min(langs.length, getMaxReadingNum()); for (int i = 0; i < limit; i++) { readings.add(text.toUpperCase() + "_" + langs[i]); } return readings; } }
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Sep 01 13:33:03 GMT 2025 - 13.5K bytes - Click Count (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
} // Reasonable upper limit (1TB) long maxSize = 1099511627776L; if (size > maxSize) { failedValidations.incrementAndGet(); log.warn("File size exceeds reasonable limit: {} > {}", size, maxSize); throw new SmbException("File size exceeds limit: " + size); } } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java
int limit = Integer.parseInt(protoSession.getUserProperties().get(Constants.MAVEN_BUILDER_MAX_PROBLEMS)); return create(limit, p -> true); } else { return create(100); } } /** * Creates new instance of problem collector with the specified maximum problem count limit, * but only preserves problems that match the given filter.
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jul 18 17:30:19 GMT 2025 - 11.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
assertThrows(IllegalArgumentException.class, () -> Iterators.limit(list.iterator(), -1)); assertFalse(Iterators.limit(list.iterator(), 0).hasNext()); assertFalse(Iterators.limit(list.iterator(), 1).hasNext()); list.add("cool"); assertFalse(Iterators.limit(list.iterator(), 0).hasNext()); assertEquals(list, newArrayList(Iterators.limit(list.iterator(), 1)));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 57.3K bytes - Click Count (0) -
helm/minio/templates/_helper_create_svcacct.txt
MINIO_ACCESSKEY_SECRETKEY_TMP="/tmp/accessKey_and_secretKey_svcacct_tmp" # connectToMinio # Use a check-sleep-check loop to wait for MinIO service to be available connectToMinio() { SCHEME=$1 ATTEMPTS=0 ; LIMIT=29 ; # Allow 30 attempts set -e ; # fail if we can't read the keys. ACCESS=$(cat /config/rootUser) ; SECRET=$(cat /config/rootPassword) ; set +e ; # The connections to minio are allowed to fail.Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Mar 28 23:20:50 GMT 2024 - 3.4K bytes - Click Count (0) -
cmd/metacache-bucket_test.go
for i := range elements { bm.findCache(listPathOptions{ ID: mustGetUUID(), Bucket: "", BaseDir: pathNames[i%paths], Prefix: "", FilterPrefix: "", Marker: "", Limit: 0, AskDisks: "strict", Recursive: false, Separator: slashSeparator, Create: true, }) } b.ReportAllocs() for i := 0; b.Loop(); i++ { bm.findCache(listPathOptions{Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 1.8K bytes - Click Count (0)