- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 176 for safely (0.03 sec)
-
cmd/erasure-multipart.go
// Wait for all renames to finish. errs := g.Wait() err := reduceWriteQuorumErrs(ctx, errs, objectOpIgnoredErrs, writeQuorum) if err != nil { er.cleanupMultipartPath(ctx, paths...) } // We can safely allow RenameFile errors up to len(er.getDisks()) - writeQuorum // otherwise return failure. Cleanup successful renames. return evalDisks(disks, errs), err }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Sep 07 16:13:09 UTC 2025 - 47.3K bytes - Viewed (0) -
cmd/erasure-object.go
m, ok := isObjectDangling(metaArr, errs, dataErrsByPart) if !ok { // We only come here if we cannot figure out if the object // can be deleted safely, in such a scenario return ReadQuorum error. return FileInfo{}, errErasureReadQuorum } tags := make(map[string]string, 16) tags["set"] = strconv.Itoa(er.setIndex) tags["pool"] = strconv.Itoa(er.poolIndex)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Sep 07 16:13:09 UTC 2025 - 80.4K bytes - Viewed (0) -
cmd/iam.go
// are multiple openid provider configurations with the same ID // provider. We lookup the provider associated with some one of // the roleARNs to check if the user still exists. If they don't // we can safely remove credentials for this parent user // associated with any of the provider configurations. // // If there is no roleARN mapped to the user, the user may be // coming from a policy claim based openid provider.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 75.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Request.java
* different Maven operations. All implementations must be immutable to ensure thread safety * and predictable behavior in concurrent environments. * * @param <S> the type of ProtoSession associated with this request, allowing for * type-safe session handling in specific request implementations * * @see ProtoSession * @see RequestTrace * @see Result * @since 4.0.0
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
final int flags = oldFlags | ServerMessageBlock2.SMB2_FLAGS_SIGNED; SMBUtil.writeInt4(flags, data, offset + 16); // Create new Mac instance for thread safety without blocking other operations Mac mac; try { mac = createMacInstance(); } catch (GeneralSecurityException e) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java
* The implementation of this is a little slow, since it creates * a number of objects each time it is called. This could be optimized * to keep the same objects around, but then thread-safety issues would arise. * * @param contextNode The node to start searching from. * @param expression A valid XPath string.Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
System.out.printf(" Avg tree operation time: %.2f ns%n", avgOpTimeNs); // Verify thread safety and performance assertTrue(exceptions.isEmpty(), "No exceptions should occur with thread-safe collections: " + exceptions); assertEquals(threadCount * operationsPerThread, treeOperations.get());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java
} assertDoesNotThrow(() -> channelManager.shutdown()); } @Test void testConcurrentAccess() throws InterruptedException { // Test thread safety Thread[] threads = new Thread[10]; for (int i = 0; i < threads.length; i++) { threads[i] = new Thread(() -> { channelManager.getChannels();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java
* <li>Handle project forking states</li> * </ul> * * The service maintains the mutable state of projects as they progress through * their build lifecycle, ensuring thread-safety and proper state management. * All implementations must be thread-safe as they may be accessed concurrently * during parallel builds. * * @since 4.0.0 * @see org.apache.maven.api.services.ProjectBuilder * @see Project */ @Experimental
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jan 30 23:29:13 UTC 2025 - 12K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java
* <pre> * {@code * String escapedXml = XmlUtil.escapeXml("<tag>value</tag>"); * Map<String, Object> dataMap = XmlUtil.getDataMap(accessResultData); * } * </pre> * * <h2>Thread Safety:</h2> * <p> * This class is thread-safe as it does not maintain any state. * </p> * * <h2>Dependencies:</h2> * <ul> * <li>org.apache.logging.log4j.Logger</li> * <li>org.apache.logging.log4j.LogManager</li>
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 9.4K bytes - Viewed (0)