Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,168 for Avoid (0.01 sec)

  1. src/main/java/org/codelibs/curl/io/ContentOutputStream.java

         * If an error occurs during file deletion, it is logged but not thrown to avoid
         * masking exceptions from the main operation.
         *
         * @throws IOException if an I/O error occurs during stream closure
         */
        @Override
        public void close() throws IOException {
            try {
                super.close();
            } finally {
                if (!isInMemory() && !done) {
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/AccessResultImplTest.java

        }
    
        public void test_initWithResultDataOnly() {
            // Test init method with ResultData only
            AccessResultImpl<Long> result = new AccessResultImpl<>();
    
            ResultData resultData = new ResultData();
            resultData.setTransformerName("TestTransformer");
            resultData.setData(new byte[0]); // Set data to avoid getData() error
    
            result.init(null, resultData);
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            when(mockConfig.getNetbiosScope()).thenReturn(null);
            // Configure OEM encoding to avoid NullPointerException
            when(mockConfig.getOemEncoding()).thenReturn("UTF-8");
        }
    
        @Test
        @DisplayName("Constructor with Configuration only should create empty Name instances")
        void testConstructorWithConfigOnly() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

        // we intercept the factory call.
        private MockedStatic<SmbTransport> smbtStatic;
    
        @BeforeEach
        void setUp() throws Exception {
            // Create a real NtlmPasswordAuthentication instance
            auth = new NtlmPasswordAuthentication("TESTDOMAIN", "testuser", "testpass");
    
            // Initialize ServerData to avoid NullPointerException
            SmbTransport.ServerData serverData = transport.new ServerData();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/LazyLogger.java

         *
         * We could use Suppliers.memoizingSupplier here, but I micro-optimized to this implementation
         * to avoid the extra class for the lambda (and maybe more for memoizingSupplier itself) and the
         * indirection.
         *
         * One thing to *avoid* is a change to make each Logger user use memoizingSupplier directly:
         * That may introduce an extra class for each lambda (currently a dozen).
         */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. futures/listenablefuture1/pom.xml

        "version" that omits the class to avoid conflicts with the copy in Guava
        itself. The idea is:
    
        - If users want only ListenableFuture, they depend on listenablefuture-1.0.
    
        - If users want all of Guava, they depend on guava, which, as of Guava
        27.0, depends on
        listenablefuture-9999.0-empty-to-avoid-conflict-with-guava. The 9999.0-...
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 02 19:27:26 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  7. guava/module.json

                "requires": "1.0.3"
              }
            },
            {
              "group": "com.google.guava",
              "module": "listenablefuture",
              "version": {
                "requires": "9999.0-empty-to-avoid-conflict-with-guava"
              }
            },
            {
              "group": "org.jspecify",
              "module": "jspecify",
              "version": {
                "requires": "${jspecify.version}"
              }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 29 19:50:42 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/TearDown.java

       * com.google.common.testing.junit4.TearDownTestCase} for example.
       *
       * <p>A failing {@link TearDown} may or may not fail a tl4j test, depending on the version of
       * JUnit test case you are running under. To avoid failing in the face of an exception regardless
       * of JUnit version, implement a {@link SloppyTearDown} instead.
       *
       * <p>tl4j details: For backwards compatibility, {@code junit3.TearDownTestCase} currently does
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt

      /** Returns the original request that initiated this call. */
      fun request(): Request
    
      /**
       * Invokes the request immediately, and blocks until the response can be processed or is in error.
       *
       * To avoid leaking resources callers should close the [Response] which in turn will close the
       * underlying [ResponseBody].
       *
       * ```java
       * // ensure the response (and underlying response body) is closed
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

            ObjectIdentifiers.SHA256_WITH_ECDSA -> "SHA256withECDSA"
            else -> error("unexpected signature algorithm: ${signature.algorithm}")
          }
        }
    
      // Avoid Long.hashCode(long) which isn't available on Android 5.
      override fun hashCode(): Int {
        var result = 0
        result = 31 * result + version.toInt()
        result = 31 * result + serialNumber.hashCode()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top