- Sort Score
- Result 10 results
- Languages All
Results 491 - 500 of 800 for adjust (0.06 sec)
-
cmd/erasure-object.go
} partNumber := fi.Parts[partIndex].Number // Save the current part name and size. partSize := fi.Parts[partIndex].Size partLength := partSize - partOffset // partLength should be adjusted so that we don't write more data than what was requested. if partLength > (length - totalBytesRead) { partLength = length - totalBytesRead }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 24 04:05:31 UTC 2025 - 80.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
*/ @Override public void write(final byte[] b, final int off, final int len) throws IOException { writeDirect(b, off, len, 0); } /** * Just bypasses TransWaitNamedPipe - used by DCERPC bind. * * @param b the byte array containing the data to write * @param off the start offset in the data * @param len the number of bytes to writeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.8K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java
} // Convert modules element to subprojects Element modulesElement = root.child(MODULES).orElse(null); if (modulesElement != null) { // domtrip makes this much simpler - just change the element name // The formatting and structure are preserved automatically modulesElement.name(SUBPROJECTS); context.detail("Converted <modules> to <subprojects>");Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 16.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
* These methods "should" call checkNotNull. However, I'm wary of accidentally introducing * anything that might slow down execution on such a hot path. Given that the methods are only * package-private, I feel OK with just not testing them for NPE. * * Note that testing casValue is particularly dangerous because it uses Unsafe under some * versions of Java, and apparently Unsafe can cause SIGSEGV instead of NPE—almost as if it's
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 24.9K bytes - Viewed (0) -
src/archive/zip/zip_test.go
memset(p[n:n+repeat], part.b) n += repeat if n == len(p) { return } skipBytes = 0 } } if n != len(p) { err = io.ErrUnexpectedEOF } return } // Just testing the rleBuffer used in the Zip64 test above. Not used by the zip code. func TestRLEBuffer(t *testing.T) { b := new(rleBuffer) var all []byte writes := []string{"abcdeee", "eeeeeee", "eeeefghaaiii"}
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.6K bytes - Viewed (0) -
src/bytes/bytes.go
// sep is placed between elements in the resulting slice. func Join(s [][]byte, sep []byte) []byte { if len(s) == 0 { return []byte{} } if len(s) == 1 { // Just return a copy. return append([]byte(nil), s[0]...) } var n int if len(sep) > 0 { if len(sep) >= maxInt/(len(s)-1) { panic("bytes: Join output length overflow") }
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Sep 16 16:42:15 UTC 2025 - 35.5K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmSspTest.java
verify(mockResponse, never()).setStatus(any(int.class)); } /** * Test case for the instance method doAuthentication. * It should just delegate to the static authenticate method. * @throws IOException */ @Test public void testDoAuthentication() throws IOException { // Setup: No "Authorization" header to follow a simple path
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.4K bytes - Viewed (1) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
String stringRep = transformHeader.toString(); // Then assertNotNull(stringRep); assertTrue(stringRep.contains("Smb2TransformHeader")); // toString() implementation may vary, just check it's not null and not empty assertFalse(stringRep.isEmpty()); } @Test @DisplayName("Should generate correct associated data for AEAD") void testGetAssociatedData() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java
* During lifecycle the Artifact.getFile() can change from target/classes to the actual jar. * This clearly shows that target/classes should not be abused as artifactFile just for the classpath */ File reactorProjectFile = reactorProjects.get(artifact); if (reactorProjectFile != null) { artifact.setFile(reactorProjectFile);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 15.6K bytes - Viewed (0) -
cmd/erasure-decode.go
if missingPartsHeal == 1 { return newBuf, errFileNotFound } else if bitrotHeal == 1 { return newBuf, errFileCorrupt } return newBuf, nil } // If we cannot decode, just return read quorum error. return nil, fmt.Errorf("%w (offline-disks=%d/%d)", errErasureReadQuorum, disksNotFound, len(p.readers)) } // Decode reads from readers, reconstructs data if needed and writes the data to the writer.Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Aug 29 01:40:52 UTC 2024 - 9.5K bytes - Viewed (0)