Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 821 for Ensure (0.12 sec)

  1. src/test/java/jcifs/netbios/NameServicePacketTest.java

            NameServicePacket.writeInt4(100, src, 6); // ttl
            NameServicePacket.writeInt2(6, src, 10); // rDataLength (for one NbtAddress)
    
            packet.questionName = mockQuestionName; // Ensure questionName is set
    
            int read = packet.readResourceRecordWireFormat(src, 0);
            assertEquals(18, read); // 2 (pointer) + 2 (type) + 2 (class) + 4 (ttl) + 2 (rDataLength) + 6 (rData)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

          .readTimeout(Duration.ofMillis(500))
          .addInterceptor(
            Interceptor { chain: Interceptor.Chain ->
              val response = chain.proceed(chain.request())
              // Ensure application interceptors never see a null body.
              assertThat(response.body).isNotNull()
              response
            },
          ).build()
    
      private fun configureClientTestRule(): OkHttpClientTestRule {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbResourceTest.java

         */
        private SmbResource createMockResource() {
            return mock(SmbResource.class);
        }
    
        @BeforeEach
        void setUp() {
            // Reset mocks to ensure clean state for each test
            reset(mockResource, mockLocator, mockContext);
        }
    
        @Nested
        @DisplayName("Interface Contract Tests")
        class InterfaceContractTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/CharSource.java

       * as bytes using the given {@link Charset}.
       *
       * <p>If {@link ByteSource#asCharSource} is called on the returned source with the same charset,
       * the default implementation of this method will ensure that the original {@code CharSource} is
       * returned, rather than round-trip encoding. Subclasses that override this method should behave
       * the same way.
       *
       * @since 20.0
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/CharSource.java

       * as bytes using the given {@link Charset}.
       *
       * <p>If {@link ByteSource#asCharSource} is called on the returned source with the same charset,
       * the default implementation of this method will ensure that the original {@code CharSource} is
       * returned, rather than round-trip encoding. Subclasses that override this method should behave
       * the same way.
       *
       * @since 20.0
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

        }
    
        /**
         * Deletes a crawling information record and all its associated parameters.
         * First deletes all related CrawlingInfoParam records, then deletes the main record
         * with immediate refresh to ensure consistency.
         *
         * @param crawlingInfo the crawling information entity to delete
         */
        public void delete(final CrawlingInfo crawlingInfo) {
            setupDeleteCondition(crawlingInfo);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFile.java

                        setInfoReq.setFileInformation(new FileRenameInformation2(destPath, replace));
                        sh.send(setInfoReq);
                    } finally {
                        // Always close the file handle - ensure createResp is not null
                        if (createResp != null && createResp.getFileId() != null) {
                            final Smb2CloseRequest closeReq = new Smb2CloseRequest(sh.getConfig(), createResp.getFileId());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                /*
                 * Yes, there is the potential to drop packets
                 * because we might close the socket during a
                 * request. However the chances are slim and the
                 * retry code should ensure the overall request
                 * is serviced. The alternative complicates things
                 * more than I think is worth it.
                 */
    
                if (this.socket != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java

                assertTrue("process should be called for " + origin, processCalled);
                assertEquals(origin, processOrigin);
            }
        }
    
        // Test constants are not modifiable (ensure they're final)
        public void test_constantsAreImmutable() throws Exception {
            Field originField = CorsHandler.class.getDeclaredField("ACCESS_CONTROL_ALLOW_ORIGIN");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/exec/Crawler.java

            }
    
        }
    
        /**
         * Initializes OpenSearch monitoring probes.
         * Forces the loading of process, OS, and JVM monitoring probes
         * to ensure they are available for system monitoring during crawling.
         */
        static void initializeProbes() {
            // Force probes to be loaded
            ProcessProbe.getInstance();
            OsProbe.getInstance();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 31K bytes
    - Viewed (0)
Back to top