- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 523 for SECOND (0.67 sec)
-
guava/src/com/google/common/hash/ChecksumHashFunction.java
} } @Override public HashCode hash() { long value = checksum.getValue(); if (bits == 32) { /* * The long returned from a 32-bit Checksum will have all 0s for its second word, so the * cast won't lose any information and is necessary to return a HashCode of the correct * size. */ return HashCode.fromInt((int) value); } else {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
throw new SmbException("Buffer access out of bounds"); } } /** * Safely add integers checking for overflow * * @param a first value * @param b second value * @return sum * @throws SmbException if overflow would occur */ public int safeAdd(int a, int b) throws SmbException { totalValidations.incrementAndGet();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/rank/fusion/SearchResultTest.java
doc1.put("id", "1"); builder1.addDocument(doc1); builder1.allRecordCount(1L); SearchResult result1 = builder1.build(); // Create second result with two documents using a new builder SearchResult.SearchResultBuilder builder2 = SearchResult.create(); Map<String, Object> doc2a = new HashMap<>(); doc2a.put("id", "2a");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
assertNotNull(output); assertTrue(output.contains("00000:")); assertTrue(output.contains("00010:")); // Second line offset // Verify first line contains bytes 0-15 assertTrue(output.contains(" 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F")); // Verify second line contains bytes 16-31 assertTrue(output.contains(" 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F")); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbNamedPipeTest.java
void nullContextThrows() { assertThrows(NullPointerException.class, () -> new SmbNamedPipe("smb://server/IPC$/foo", 0, null)); } @Test @DisplayName("Second constructor sets unshared based on flags") void secondCtorUnsharedFlagPath() throws Exception { // Arrange: include UNSHARED flag to exercise that branch
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
assertEquals(2, bytesWritten, "Should write 2 bytes."); assertEquals(SmbComTransaction.TRANS2_QUERY_PATH_INFORMATION, dst[0], "The first byte should be the subCommand."); assertEquals((byte) 0x00, dst[1], "The second byte should be 0."); } /** * Tests the writeParametersWireFormat method. */ @Test void testWriteParametersWireFormat() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java
return Stream.of(Arguments.of(0x1234, 0L, new byte[] { 0x34, 0x12, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF }), // negative fid wraps around, lastWriteTime = 1000 -> 1 second -> int value 1 Arguments.of(-1, 1000L, new byte[] { (byte) 0xFF, (byte) 0xFF, 0x01, 0x00, 0x00, 0x00 })); } /** * When lastWriteTime is zero the encoded unsigned time must be all 1s. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0) -
utils/utils.go
func FileWithLineNum() string { pcs := [13]uintptr{} // the third caller usually from gorm internal len := runtime.Callers(3, pcs[:]) frames := runtime.CallersFrames(pcs[:len]) for i := 0; i < len; i++ { // second return value is "more", not "ok" frame, _ := frames.Next() if (!strings.HasPrefix(frame.File, gormSourceDir) || strings.HasSuffix(frame.File, "_test.go")) && !strings.HasSuffix(frame.File, ".gen.go") {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Aug 22 11:03:42 UTC 2024 - 4.1K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AtomicLongMap.java
* {@code key} (or zero, if there is none) is passed as the first argument to {@code * accumulatorFunction}, and {@code x} is passed as the second argument. * * @since 21.0 */ @CanIgnoreReturnValue public long accumulateAndGet(K key, long x, LongBinaryOperator accumulatorFunction) { checkNotNull(accumulatorFunction);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
names.names[0].sid_type = (short) jcifs.SID.SID_TYPE_USER; names.names[0].name = new UnicodeString("alice", false); names.names[0].sid_index = 0; // Second is a domain group names.names[1] = new lsarpc.LsarTranslatedName(); names.names[1].sid_type = (short) jcifs.SID.SID_TYPE_DOM_GRP; names.names[1].name = new UnicodeString("Domain Users", false);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0)