Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 730 for ensure (0.12 sec)

  1. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

            assertEquals("true", returned.get("useKeyTab"));
            assertEquals("true", returned.get("storeKey"));
            assertEquals("******@****.***", returned.get("principal"));
            // Ensure no unexpected extra options
            assertEquals(3, returned.size(), "Only provided options are expected");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java

        protected static final String JAVABIN = "javabin";
    
        /** Constant for Kryo serializer type. */
        protected static final String KRYO = "kryo";
    
        /** ThreadLocal container for Kryo instances to ensure thread safety. */
        protected final ThreadLocal<Kryo> kryoThreadLocal;
    
        /**
         * Constructs a new DataSerializer.
         * <p>
         * Initializes the ThreadLocal Kryo instances with appropriate configuration.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

          assertWrapsInterruptedException(expected);
        } finally {
          interruptenator.shutdown();
          Thread.interrupted();
        }
      }
    
      /**
       * awaitFullGc() is not quite as reliable a way to ensure calling of a specific finalize method as
       * the more direct await* methods, but should be reliable enough in practice to avoid flakiness of
       * this test. (And if it isn't, we'd like to know about it first!)
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

      public void runTest() throws Exception {
        /*
         * Note that we do not run this test under Android at the moment. For Android testing, see
         * AggregateFutureStateDefaultAtomicHelperTest.
         */
    
        // First, ensure that our classloaders are initializing the correct helper versions:
    
        checkHelperVersion(getClass().getClassLoader(), "SafeAtomicHelper");
        checkHelperVersion(NO_ATOMIC_FIELD_UPDATER, "SynchronizedAtomicHelper");
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

         */
    
        // First, ensure that our classloaders are initializing the correct helper versions:
    
        checkHelperVersion(getClass().getClassLoader(), "AtomicReferenceFieldUpdaterAtomicHelper");
        /*
         * Since we use AtomicReferenceFieldUpdaterAtomicHelper by default, we'll "obviously" use it
         * even when Unsafe isn't available. But it's nice to have a check here to make sure that
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  6. 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)
  7. cmd/bucket-handlers.go

    			writeErrorResponse(ctx, w, errAPI, r.URL)
    			return
    		}
    
    		// Make sure formValues adhere to policy restrictions.
    		if err = checkPostPolicy(formValues, postPolicyForm); err != nil {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErrWithErr(ErrAccessDenied, err), r.URL)
    			return
    		}
    
    		// Ensure that the object size is within expected range, also the file size
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.9K bytes
    - Viewed (0)
  8. maven-tests/mvnw

    CYGWIN* | MINGW*)
      [ -z "${JAVA_HOME-}" ] || JAVA_HOME="$(cygpath --unix "$JAVA_HOME")"
      native_path() { cygpath --path --windows "$1"; }
      ;;
    esac
    
    # set JAVACMD and JAVACCMD
    set_java_home() {
      # For Cygwin and MinGW, ensure paths are in Unix format before anything is touched
      if [ -n "${JAVA_HOME-}" ]; then
        if [ -x "$JAVA_HOME/jre/sh/java" ]; then
          # IBM's JDK on AIX uses strange locations for the executables
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 12 12:05:57 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

                log.get().log(Level.SEVERE, "Exception while executing runnable " + task, e);
              } finally {
                task = null;
              }
            }
          } finally {
            // Ensure that if the thread was interrupted at all while processing the task queue, it
            // is returned to the delegate Executor interrupted so that it may handle the
            // interruption if it likes.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbCopyUtilTest.java

                w.write(payload, payload.length, out);
    
                // Give the writer thread time to process and set exception
                w.wait(100);
            }
    
            // Wait a bit more to ensure exception is captured
            Thread.sleep(100);
    
            // Act + Assert: checkException should throw the SmbException captured by the thread
            assertThrows(SmbException.class, w::checkException);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top