Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 708 for two (0.01 sec)

  1. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

      @WeakOuter
      private final class ServiceDelegate extends AbstractService {
    
        // A handle to the running task so that we can stop it when a shutdown has been requested.
        // These two fields are volatile because their values will be accessed from multiple threads.
        private volatile @Nullable Cancellable runningTask;
        private volatile @Nullable ScheduledExecutorService executorService;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  2. doc/go_mem.html

    which are unordered by happens before
    (that is, neither <i>r</i> happens before <i>w</i>
    nor <i>w</i> happens before <i>r</i>).
    </p>
    
    <p>
    A <i>write-write data race</i> on memory location <i>x</i>
    consists of two write-like memory operations <i>w</i> and <i>w'</i> on <i>x</i>,
    at least one of which is non-synchronizing,
    which are unordered by happens before.
    </p>
    
    <p>
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Aug 05 15:41:37 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v2_test.go

    		},
    		{
    			name: "del-on-two",
    			input: [][]xlMetaV2ShallowVersion{
    				0: {vDelMarker, vObj}, // disk 0
    				1: {vDelMarker, vObj}, // disk 1
    				2: {vObj},             // disk 2
    			},
    			quorum:      2,
    			reqVersions: 0,
    			want:        []xlMetaV2ShallowVersion{vDelMarker, vObj},
    		},
    		{
    			name: "del-on-two-16stripe",
    			input: [][]xlMetaV2ShallowVersion{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/MoreObjects.java

     * methods with {@code MoreObjects}</a>.
     *
     * @author Laurence Gonsalves
     * @since 18.0 (since 2.0 as {@code Objects})
     */
    @GwtCompatible
    public final class MoreObjects {
      /**
       * Returns the first of two given parameters that is not {@code null}, if either is, or otherwise
       * throws a {@link NullPointerException}.
       *
       * <p>To find the first non-null element in an iterable, use {@code Iterables.find(iterable,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

        }
    
        @Test
        void testDigitGreaterThanNonBmpCharacters() {
            ComparableVersion c1 = new ComparableVersion("1");
            // MATHEMATICAL SANS-SERIF DIGIT TWO
            ComparableVersion c2 = new ComparableVersion("\uD835\uDFE4");
            assertTrue(c1.compareTo(c2) > 0, "expected " + "1" + " > " + "\uD835\uDFE4");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

      }
    
      /**
       * If the client closes the connection while it is consuming the response body, attempts to peek
       * or read the trailers should throw.
       *
       * This test needs to make two interventions to prevent OkHttp from reading the entire response
       * body, which it will attempt to do otherwise:
       *
       *  * Don't cache the response. The cache will try to read the entire response body so that it
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 08 21:45:04 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

            final List<String> indices = (List<String>) method.invoke(suggester, aliasName);
    
            assertNotNull("Indices list should not be null", indices);
            assertEquals("Should find exactly two indices", 2, indices.size());
            assertTrue("Should contain first index", indices.contains(index1));
            assertTrue("Should contain second index", indices.contains(index2));
    
            // Cleanup
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

            byte[] data1 = "Hello ".getBytes();
            byte[] data2 = "World".getBytes();
    
            // When
            outputStream.write(data1);
            outputStream.write(data2);
    
            // Then - verify two write requests were sent
            verify(mockTreeHandle, times(2)).send(any(Smb2WriteRequest.class), any());
        }
    
        @Test
        void testConstructorWithSmbFileOnly() throws IOException, CIFSException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

    /** Benchmarks for {@link ExecutionList}. */
    @VmOptions({"-Xms8g", "-Xmx8g"})
    @NullUnmarked
    public class ExecutionListBenchmark {
      private static final int NUM_THREADS = 10; // make a param?
    
      // simple interface to wrap our two implementations.
      interface ExecutionListWrapper {
        void add(Runnable runnable, Executor executor);
    
        void execute();
    
        /** Returns the underlying implementation, useful for the Footprint benchmark. */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

         * Inputs are <every possible 10-character string of characters "a./">
         *
         * Expected outputs are generated by the code itself, but they've been
         * checked against the inputs under Bash in order to confirm that the two
         * forms are equivalent (though not necessarily minimal, though we hope this
         * to be the case). Thus, this test is more of a regression test.
         *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top