Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 809 for forget (0.61 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

            // Only compare the first 6 bytes that were actually written
            byte[] actualWritten = new byte[6];
            System.arraycopy(buffer, 0, actualWritten, 0, 6);
            assertArrayEquals(expected, actualWritten, "wire format should match expectation");
        }
    
        static Stream<Arguments> validParams() {
            // fid 0x1234, lastWriteTime 0 -> UTime all 0xFF
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

        private Configuration cfg;
    
        @BeforeEach
        public void setup() throws Exception {
            this.cfg = new BaseConfiguration(true);
        }
    
        /**
         * Sub-class of {@link BaseConfiguration} that forces {@code useUnicode()}
         * to return {@code false}. This mimics an ASCII only client
         */
        private static class OffUnicodeConfig extends BaseConfiguration {
            public OffUnicodeConfig() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. docs/features/interceptors.md

        Request request = chain.request();
    
        long t1 = System.nanoTime();
        logger.info(String.format("Sending request %s on %s%n%s",
            request.url(), chain.connection(), request.headers()));
    
        Response response = chain.proceed(request);
    
        long t2 = System.nanoTime();
        logger.info(String.format("Received response for %s in %.1fms%n%s",
            response.request().url(), (t2 - t1) / 1e6d, response.headers()));
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SmbTransportPoolTest.java

                assertEquals(transport, result);
                verify(transportPool).getSmbTransport(context, TEST_HOST, DEFAULT_PORT, true, false);
            }
    
            @Test
            @DisplayName("Should get transport by name with forced signing")
            void testGetSmbTransportByNameForceSigning() throws UnknownHostException, IOException {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top