Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 984 for forSet (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            int alignedSize = (expectedSize + 7) & ~7; // size8 alignment
            assertEquals(alignedSize, size);
        }
    
        @Test
        @DisplayName("Should write correct bytes to wire format with session binding")
        void testWriteBytesWireFormatWithSessionBinding() throws Exception {
            // Given
            request.setSessionBinding(true);
            byte[] buffer = new byte[512];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/DoubleUtilsTest.java

      }
    
      public void testOneBits() {
        assertEquals(DoubleUtils.ONE_BITS, Double.doubleToRawLongBits(1.0));
      }
    
      private static void failFormat(String template, Object... args) {
        fail(String.format(template, args));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. pom.xml

    			<plugin>
    				<groupId>net.revelc.code.formatter</groupId>
    				<artifactId>formatter-maven-plugin</artifactId>
    				<version>2.26.0</version>
    				<executions>
    					<execution>
    						<goals>
    							<goal>format</goal>
    						</goals>
    					</execution>
    				</executions>
    				<configuration>
    					<configFile>https://www.codelibs.org/assets/formatter/eclipse-formatter-1.0.xml</configFile>
    				</configuration>
    			</plugin>
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Fri Jun 20 20:21:38 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            byte[] copiedFileId = new byte[16];
            System.arraycopy(buffer, 8, copiedFileId, 0, 16);
            assertArrayEquals(expectedFileId, copiedFileId);
        }
    
        @Test
        @DisplayName("Test wire format structure matches SMB2 specification")
        void testWireFormatStructure() {
            byte[] buffer = new byte[256];
            Arrays.fill(buffer, (byte) 0xCC); // Fill with pattern to detect unwritten areas
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

            assertFalse("Should capture some thread dump output", capturedOutput.isEmpty());
    
            // Verify format - should contain "Thread:" entries
            boolean hasThreadEntry = capturedOutput.stream().anyMatch(line -> line.startsWith("Thread:"));
            assertTrue("Should contain Thread: entries", hasThreadEntry);
    
            // Verify format - should contain stack trace entries
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbCopyUtil.java

                        }
    
                        i = i == 1 ? 0 : 1;
                        off += read;
                    }
    
                    if (log.isDebugEnabled()) {
                        log.debug(String.format("Copied a total of %d bytes", off));
                    }
    
                    if (dh.isSMB2()) {
                        final Smb2SetInfoRequest req = new Smb2SetInfoRequest(dh.getConfig(), dfd.getFileId());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

                assertEquals(buffer2[i], buffer3[i], "Mismatch at position " + i);
            }
        }
    
        @Test
        @DisplayName("Test with typical Windows pipe name format")
        void testWithTypicalWindowsPipeName() {
            // Test with typical Windows named pipe format
            String pipeName = "\\pipe\\TestPipe";
            FsctlPipeWaitRequest request = new FsctlPipeWaitRequest(pipeName, 30000L);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt

      private fun formatDate(date: Date): String? {
        val rfc1123: DateFormat = SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss zzz", Locale.US)
        rfc1123.timeZone = TimeZone.getTimeZone("GMT")
        return rfc1123.format(date)
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/StopwatchTest.java

        assertEquals(0, stopwatch.elapsed(MILLISECONDS));
        ticker.advance(1);
        assertEquals(1, stopwatch.elapsed(MILLISECONDS));
      }
    
      @J2ktIncompatible // TODO(b/259213718): Switch J2kt to String.format("%.4g") once that's supported
      public void testToString() {
        stopwatch.start();
        assertEquals("0.000 ns", stopwatch.toString());
        ticker.advance(1);
        assertEquals("1.000 ns", stopwatch.toString());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/SessionServicePacket.java

            }
            return buffer[bufferIndex] & 0xFF;
        }
    
        int type, length;
    
        /**
         * Writes the packet to the specified byte array in wire format.
         *
         * @param dst the destination byte array to write to
         * @param dstIndex the starting index in the destination array
         * @return written bytes
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top