Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 501 - 510 of 839 for ensures (0.15 seconds)

  1. src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java

         * One thread sets alive to false, other threads should see the change immediately.
         */
        @Test
        public void test_aliveField_volatileVisibility() throws Exception {
            // Ensure alive starts as true
            assertTrue(dataStore.alive);
    
            final int readerThreadCount = 5;
            final long testDurationMs = 200; // Run for 200ms
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (1)
  2. 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
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Sep 25 18:22:49 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  3. 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.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 10.6K bytes
    - Click Count (0)
  4. 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);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

                        // add missing '/' between url and path
                        url.append('/');
                    }
    
                    url.append(path);
    
                    // ensure resulting url ends with slash if initial url was
                    if (initialUrlEndsWithSlash && !path.endsWith("/")) {
                        url.append('/');
                    }
                }
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  6. docs/debugging/README.md

    mc admin trace --verbose myminio
    ```
    
    To trace entire HTTP request and also internode communication
    
    ```sh
    mc admin trace --all --verbose myminio
    ```
    
    ## Subnet Health
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            long actualSize = MemoryUtil.sizeOf(complexMap);
            assertEquals(689L, actualSize);
        }
    
        @Test
        public void test_getUsedMemory_variations() {
            // Test multiple calls to ensure consistency
            long memory1 = MemoryUtil.getUsedMemory();
            assertTrue(memory1 >= 0);
    
            // Create some objects to change memory usage
            @SuppressWarnings("unused")
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/util/OptionalUtilTest.java

            assertNull(emptyOptional.orElse(null));
        }
    
        @Test
        public void test_ofNullable_multipleTypesInSequence() {
            // Test multiple different types in sequence to ensure type safety
            OptionalEntity<String> stringOpt = OptionalUtil.ofNullable("string");
            OptionalEntity<Integer> intOpt = OptionalUtil.ofNullable(42);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  9. README.md

    - **Code of Conduct**: Gradle enforces a [Code of Conduct](https://gradle.org/conduct/) to ensure a welcoming and supportive community for all contributors.
    
    ---
    
    ### 🔗 **Additional Resources**
    
    To make the most out of Gradle, take advantage of these additional resources:
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Feb 12 18:58:41 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/io/CharSourceTest.java

          TestCharSource okSource = new TestCharSource(STRING);
          assertThrows(IOException.class, () -> okSource.copyTo(new TestCharSink(option)));
          // ensure reader was closed IF it was opened (depends on implementation whether or not it's
          // opened at all if sink.newWriter() throws).
          assertTrue(
              "stream not closed when copying to sink with option: " + option,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.6K bytes
    - Click Count (0)
Back to Top