Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 529 for ensure (0.45 sec)

  1. src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java

            assertEquals(0, initialThroughput);
    
            // Add some data transfer
            channelInfo.addBytesSent(1000);
            channelInfo.addBytesReceived(2000);
    
            // Wait a bit to ensure time passes
            try {
                Thread.sleep(10);
            } catch (InterruptedException e) {
                Thread.currentThread().interrupt();
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/DosErrorTest.java

            assertIterableEquals(Arrays.asList(0x00000000, 0x00050001, 0x007b0001), dosCaptor.getAllValues());
            assertIterableEquals(Arrays.asList(0x00000000, 0xc0000022, 0xc0000033), ntCaptor.getAllValues());
    
            // And ensure no further interactions happened
            verifyNoMoreInteractions(consumer);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/transport/ResponseTest.java

    @ExtendWith(MockitoExtension.class)
    public class ResponseTest {
    
        @Mock
        private Response mockResponse;
    
        @BeforeEach
        void setUp() {
            // Reset mock before each test to ensure clean state
            // MockitoExtension handles this automatically for @Mock fields, but good to be aware.
        }
    
        @Test
        void testIsReceived() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt

       *
       * Because the encoding of interleaved data is not well-defined for HTTP/1, duplex request
       * bodies may only be used with HTTP/2. Calls to HTTP/1 servers will fail before the HTTP request
       * is transmitted. If you cannot ensure that your client and server both support HTTP/2, do not
       * use this feature.
       *
       * ### Duplex APIs
       *
       * With regular request bodies it is not legal to write bytes to the sink passed to
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 04 17:43:43 UTC 2025
    - 9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

         *
         * @return byte array containing associated data
         */
        public byte[] getAssociatedData() {
            final byte[] aad = new byte[52]; // Use full header size to ensure all data fits
            int index = 0;
    
            // Protocol ID
            SMBUtil.writeInt4(TRANSFORM_PROTOCOL_ID, aad, index);
            index += 4;
    
            // Skip signature (16 bytes of zeros for AAD)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/escape/ArrayBasedCharEscaper.java

        this.replacements = escaperMap.getReplacementArray();
        this.replacementsLength = replacements.length;
        if (safeMax < safeMin) {
          // If the safe range is empty, set the range limits to opposite extremes
          // to ensure the first test of either value will (almost certainly) fail.
          safeMax = Character.MIN_VALUE;
          safeMin = Character.MAX_VALUE;
        }
        this.safeMin = safeMin;
        this.safeMax = safeMax;
      }
    
      /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

        public void setUp() throws Exception {
            super.setUp();
    
            // Create a temporary test file
            testFile = File.createTempFile("test_mapping", ".txt");
            testFile.deleteOnExit();
            // Ensure the test file is initially empty
            try (java.io.FileWriter fw = new java.io.FileWriter(testFile)) {
                fw.write("");
            }
    
            // Create a temporary project.properties file for SystemHelper
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  8. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

                this.prefix = prefix;
                return this;
            }
    
            /**
             * Sets the attributes of the XML node.
             * <p>
             * The provided map will be copied to ensure immutability.
             *
             * @param attributes the map of attribute names to values
             * @return this builder instance
             */
            public Builder attributes(Map<String, String> attributes) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Jul 19 11:09:56 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

        peer.sendFrame().windowUpdate(3, 5)
        peer.acceptFrame() // DATA STREAM 3 "fghi"
        peer.play()
    
        // Play it back.
        val connection = connect(peer)
        connection.writePingAndAwaitPong() // Ensure the SETTINGS have been received.
        val stream = connection.newStream(headerEntries("a", "android"), true)
        val sink = stream.sink.buffer()
        sink.writeUtf8("abcdefghi")
        sink.flush()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/context/SingletonContextTest.java

        }
    
        @Test
        void testGetInstanceInitializesIfNull() {
            // Test getInstance initializes the context if it's null
            assertNull(getSingletonInstanceViaReflection()); // Ensure it's null initially
            CIFSContext context = SingletonContext.getInstance();
            assertNotNull(context);
            assertNotNull(getSingletonInstanceViaReflection()); // Should be initialized now
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top