- Sort Score
- Num 10 results
- Language All
Results 621 - 630 of 4,636 for should (0.13 seconds)
-
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
// Verify output buffer length assertEquals(0x8000, SMBUtil.readInt4(buffer, 68)); // Verify input buffer offset (should be 0 when no input buffer) assertEquals(0, SMBUtil.readInt2(buffer, 72)); // Verify input buffer length (should be 0 when no input buffer) assertEquals(0, SMBUtil.readInt4(buffer, 76)); // Verify additional informationCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java
byte[] buffer = new byte[1024]; int written = request.writeBytesWireFormat(buffer, 0); // Should write exactly 56 bytes (structure size without data) assertEquals(56, written); // Check structure size (first 2 bytes should be 57) assertEquals(57, (buffer[0] & 0xFF) | ((buffer[1] & 0xFF) << 8)); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessHeartbeatMessage.java
* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
// Second decode - should overwrite previous value byte[] buffer2 = new byte[8]; long indexNumber2 = 0x2222222222222222L; SMBUtil.writeInt8(indexNumber2, buffer2, 0); fileInternalInfo.decode(buffer2, 0, buffer2.length); assertEquals(indexNumber2, fileInternalInfo.getIndexNumber()); // Third decode - should overwrite again byte[] buffer3 = new byte[8];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java
import java.util.HashSet; import java.util.Set; import java.util.regex.Matcher; import java.util.regex.Pattern; import java.util.stream.Stream; /** * Generates Javadocs in a particular way. * * TODO: We should remove the workarounds here and migrate some of the changes here into the Javadoc task proper. */ public abstract class GradleJavadocsPlugin implements Plugin<Project> { @Inject
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Sun Mar 01 05:52:34 GMT 2026 - 11.6K bytes - Click Count (0) -
.gitattributes
# These are explicitly windows files and should use crlf *.bat text eol=crlf # These files are text and should be normalized (Convert crlf => lf) *.bash text eol=lf *.css text diff=css *.htm text diff=html *.html text diff=html *.java text diff=java *.sh text eol=lf # These files are binary and should be left untouched # (binary is a macro for -text -diff)
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Sep 02 12:15:16 GMT 2020 - 1.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
int bufferIndex = 0; // Set structure size to 10 (invalid, should be 9) SMBUtil.writeInt2(10, buffer, bufferIndex); SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, bufferIndex), "Should throw SMBProtocolDecodingException for invalid structure size");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java
// Execute for primary transaction int primaryBytes = transaction.writeParameterWordsWireFormat(dst, 0); // The return value should be the number of bytes written // For primary NT transaction: should be at least 38 bytes assertTrue(primaryBytes >= 38); // Execute for secondary transactionCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
internal/bucket/bandwidth/measurement.go
if endTime.Before(m.startTime) { return } duration := endTime.Sub(m.startTime) bytesSinceLastWindow := atomic.SwapUint64(&m.bytesSinceLastWindow, 0) if m.expMovingAvg == 0 { // Should address initial calculation and should be fine for resuming from 0 m.expMovingAvg = float64(bytesSinceLastWindow) / duration.Seconds() return } increment := float64(bytesSinceLastWindow) / duration.Seconds()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Jun 03 20:41:51 GMT 2023 - 2.9K bytes - Click Count (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ExtensibleEnumProvider.java
* <p> * This method is called by Maven during initialization to collect all custom enum values * that should be registered. The returned collection should contain all the enum values * that this provider wants to contribute. * <p> * The values returned by this method should be created using the appropriate factory methods * for the specific enum type, such as {@code language()}, {@code projectScope()}, orCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Apr 03 13:33:59 GMT 2025 - 2.8K bytes - Click Count (0)