- Sort Score
- Num 10 results
- Language All
Results 911 - 920 of 1,838 for _new (0.02 seconds)
-
internal/etag/etag.go
v, ok := h["Content-Md5"] if !ok { return nil, nil } if v[0] == "" { return nil, errors.New("etag: content-md5 is set but contains no value") } b, err := base64.StdEncoding.Strict().DecodeString(v[0]) if err != nil { return nil, err } if len(b) != md5.Size { return nil, errors.New("etag: invalid content-md5") } return ETag(b), nil }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 16 14:27:42 GMT 2025 - 13.2K bytes - Click Count (0) -
src/bytes/bytes.go
} // Apply replacements to buffer. t := make([]byte, len(s)+n*(len(new)-len(old))) w := 0 start := 0 if len(old) > 0 { for range n { j := start + Index(s[start:], old) w += copy(t[w:], s[start:j]) w += copy(t[w:], new) start = j + len(old) } } else { // len(old) == 0 w += copy(t[w:], new) for range n - 1 { _, wid := utf8.DecodeRune(s[start:])
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Sep 16 16:42:15 GMT 2025 - 35.5K bytes - Click Count (0) -
cmd/endpoint-ellipses.go
continue } if stopping { return layout, errors.New("number of disks per node does not match") } eps = append(eps, node.disks[i]) } if stopping { break } } for _, node := range endpointsList { if node.nodeName != "" && singleNode { return layout, errors.New("all arguments must but either single node or distributed") } }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.7K bytes - Click Count (0) -
docs/zh/docs/advanced/additional-responses.md
```Python old_dict = { "old key": "old value", "second old key": "second old value", } new_dict = {**old_dict, "new key": "new value"} ``` 这里, new_dict 将包含来自 old_dict 的所有键值对加上新的键值对: ```python { "old key": "old value", "second old key": "second old value", "new key": "new value", } ``` 您可以使用该技术在路径操作中重用一些预定义的响应,并将它们与其他自定义响应相结合。 **例如:**Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Nov 09 16:29:26 GMT 2024 - 8.1K bytes - Click Count (0) -
internal/store/queuestore.go
) const ( defaultLimit = 100000 // Default store limit. defaultExt = ".unknown" compressExt = ".snappy" ) // errLimitExceeded error is sent when the maximum limit is reached. var errLimitExceeded = errors.New("the maximum store limit reached") // QueueStore - Filestore for persisting items. type QueueStore[_ any] struct { sync.RWMutex entryLimit uint64 directory string fileExt string
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.8K bytes - Click Count (0) -
cmd/data-scanner.go
} } f.updateCurrentPath(folder.name) stopFn := globalScannerMetrics.log(scannerMetricScanFolder, f.root, folder.name) scanFolder(folder) stopFn(map[string]string{"type": "new"}) // Add new folders if this is new and we don't have existing. if !into.Compacted { parent := f.updateCache.find(thisHash.Key()) if parent != nil && !parent.Compacted { f.updateCache.deleteRecursive(h)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 45.5K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/layout/FlatRepositoryLayout.java
return "flat"; } @Override public String pathOf(Artifact artifact) { ArtifactHandler artifactHandler = artifact.getArtifactHandler(); StringBuilder path = new StringBuilder(128); path.append(artifact.getArtifactId()).append(ARTIFACT_SEPARATOR).append(artifact.getVersion()); if (artifact.hasClassifier()) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.7K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/GroupRepositoryMetadata.java
* */ @Deprecated public class GroupRepositoryMetadata extends AbstractRepositoryMetadata { private final String groupId; public GroupRepositoryMetadata(String groupId) { super(new Metadata()); this.groupId = groupId; } @Override public boolean storedInGroupDirectory() { return true; } @OverrideCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.8K bytes - Click Count (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PropertyContributor.java
* (contributions applied) user properties, not only the "new" or "added" properties! * * @param protoSession The proto session, never {@code null}. * @return The user properties with contributions. */ default Map<String, String> contribute(ProtoSession protoSession) { HashMap<String, String> userProperties = new HashMap<>(protoSession.getUserProperties()); contribute(userProperties);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Nov 20 19:58:27 GMT 2024 - 2.3K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t03/ProjectInheritanceTest.java
@Test void testProjectInheritance() throws Exception { File localRepo = getLocalRepositoryPath(); File pom0 = new File(localRepo, "p0/pom.xml"); File pom0Basedir = pom0.getParentFile(); File pom1 = new File(pom0Basedir, "p1/pom.xml"); // load everything... MavenProject project0 = getProject(pom0); MavenProject project1 = getProject(pom1);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 2.5K bytes - Click Count (0)