- Sort Score
- Num 10 results
- Language All
Results 461 - 470 of 1,396 for putA (0.02 seconds)
-
docs/iam/access-manager-plugin.go
// Allow user `minio` to perform any action. var res Result if accountValue == "minio" { res.Result = true } else { // All other users may not perform any `s3:Put*` operations. res.Result = true if strings.HasPrefix(actionValue, "s3:Put") { res.Result = false } } fmt.Printf("account: %v | action: %v | allowed: %v\n", accountValue, actionValue, res.Result) json.NewEncoder(w).Encode(res) return }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Feb 08 17:15:20 GMT 2024 - 2.7K bytes - Click Count (0) -
cmd/warm-backend.go
type WarmBackendGetOpts struct { startOffset int64 length int64 } // WarmBackend provides interface to be implemented by remote tier backends type WarmBackend interface { Put(ctx context.Context, object string, r io.Reader, length int64) (remoteVersionID, error) PutWithMeta(ctx context.Context, object string, r io.Reader, length int64, meta map[string]string) (remoteVersionID, error)Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Oct 31 22:10:24 GMT 2024 - 4K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleReleaseNotesPlugin.java
replacementTokens.put("releaseDate", dateTime); replacementTokens.put("version", moduleIdentity.getVersion().map(GradleVersion::getVersion)); replacementTokens.put("baseVersion", moduleIdentity.getVersion().map(v -> v.getBaseVersion().getVersion()));Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri May 16 18:26:52 GMT 2025 - 6.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/JoinerTest.java
assertEquals("", j.join(ImmutableMap.of())); assertEquals(":", j.join(ImmutableMap.of("", ""))); Map<@Nullable String, @Nullable String> mapWithNulls = new LinkedHashMap<>(); mapWithNulls.put("a", null); mapWithNulls.put(null, "b"); assertThrows(NullPointerException.class, () -> j.join(mapWithNulls)); assertEquals("a:00;00:b", j.useForNull("00").join(mapWithNulls));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
assertThat(map.containsValue(one)).isFalse(); assertThat(map.putIfAbsent(two, three)).isNull(); assertThat(map.remove(two)).isSameInstanceAs(three); assertThat(map.put(three, one)).isNull(); assertThat(map.put(one, two)).isNull(); assertThat(map).containsEntry(three, one); assertThat(map).containsEntry(one, two); // TODO(cgruber): Confirm with fry@ that this is a reasonable substitute.
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 13.3K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java
Map<String, Artifact> artifactMap = new LinkedHashMap<>(); if (artifacts != null) { for (Artifact artifact : artifacts) { artifactMap.put(versionlessKey(artifact), artifact); } } return artifactMap; } public static Artifact copyArtifactSafe(Artifact artifact) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 6.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlan.java
return plan.keySet().stream(); } public void addProject(MavenProject project, Map<String, BuildStep> steps) { plan.put(project, steps); } public void addStep(MavenProject project, String name, BuildStep step) { plan.get(project).put(name, step); } public Stream<BuildStep> allSteps() { return plan.values().stream().flatMap(m -> m.values().stream()); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 28 12:11:25 GMT 2025 - 6.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginRealmCache.java
throw pluginContainerException; } throw e; } } @Override public CacheRecord put(Key key, ClassRealm pluginRealm, List<Artifact> pluginArtifacts) { Objects.requireNonNull(pluginRealm, "pluginRealm cannot be null"); Objects.requireNonNull(pluginArtifacts, "pluginArtifacts cannot be null");Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 7.5K bytes - Click Count (0) -
docs_src/body/tutorial004_py310.py
from fastapi import FastAPI from pydantic import BaseModel class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None app = FastAPI() @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item, q: str | None = None): result = {"item_id": item_id, **item.model_dump()} if q: result.update({"q": q})
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 414 bytes - Click Count (0) -
docs_src/body_multiple_params/tutorial005_an_py310.py
from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None @app.put("/items/{item_id}") async def update_item(item_id: int, item: Annotated[Item, Body(embed=True)]): results = {"item_id": item_id, "item": item}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 409 bytes - Click Count (0)