Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 498 for varios (0.16 sec)

  1. android/guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

    import java.util.List;
    import java.util.Random;
    import java.util.concurrent.locks.Lock;
    import java.util.concurrent.locks.ReentrantLock;
    import org.jspecify.annotations.NullUnmarked;
    
    /** A benchmark comparing the various striped implementations. */
    @VmOptions({"-Xms12g", "-Xmx12g", "-d64"})
    @NullUnmarked
    public class StripedBenchmark {
      private static final Supplier<Lock> LOCK_SUPPLIER =
          new Supplier<Lock>() {
            @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

    import java.util.concurrent.atomic.AtomicReference;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Supplemental tests for {@link Monitor}.
     *
     * <p>This test class contains various test cases that don't fit into the test case generation in
     * {@link GeneratedMonitorTest}.
     *
     * @author Justin T. Sampson
     */
    @NullUnmarked
    public class SupplementalMonitorTest extends TestCase {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/TestUtil.java

    import com.google.common.collect.Iterators;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.Set;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Utility methods used in various common.graph tests. */
    @NullUnmarked
    final class TestUtil {
      static final String ERROR_ELEMENT_NOT_IN_GRAPH = "not an element of this graph";
      static final String ERROR_NODE_NOT_IN_GRAPH =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

    import java.util.concurrent.atomic.AtomicReference;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Supplemental tests for {@link Monitor}.
     *
     * <p>This test class contains various test cases that don't fit into the test case generation in
     * {@link GeneratedMonitorTest}.
     *
     * @author Justin T. Sampson
     */
    @NullUnmarked
    public class SupplementalMonitorTest extends TestCase {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  5. cmd/xl-storage_windows_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"fmt"
    	"testing"
    )
    
    // Test if various paths work as expected when converted to UNC form
    func TestUNCPaths(t *testing.T) {
    	testCases := []struct {
    		objName string
    		pass    bool
    	}{
    		{"/abcdef", true},
    		{"/a/b/c/d/e/f/g", true},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Nov 29 06:35:16 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/util/SMBUtilTest.java

            SMBUtil.writeInt8(input, buffer, 0);
            long result = SMBUtil.readInt8(buffer, 0);
            assertEquals(input, result);
        }
    
        @Test
        void testTimeConversionRoundTrip() {
            // Test various time values
            long[] testTimes = { 1000L, 1500000000000L, System.currentTimeMillis() };
            byte[] buffer = new byte[8];
    
            for (long time : testTimes) {
                SMBUtil.writeTime(time, buffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

                "32768, 16384, 'test*.txt', 500, 32768" })
        void testConstructorWithVariousParameters(int sid, int resumeKey, String filename, int batchCount, int batchSize) {
            // Test constructor with various parameter combinations
            trans2FindNext2 = new Trans2FindNext2(config, sid, resumeKey, filename, batchCount, batchSize);
    
            assertNotNull(trans2FindNext2);
    
            // Verify parameters are written correctly
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

            if (idList == null) {
                return getAllWebConfigList();
            }
            return getAllWebConfigList(true, true, false, idList);
        }
    
        /**
         * Retrieves web crawling configurations with various filtering options.
         *
         * @param withLabelType whether to include label type information (currently not used in implementation)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

    import java.util.concurrent.ConcurrentSkipListMap;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Helper classes for various benchmarks.
     *
     * @author Christopher Swenson
     */
    @NullUnmarked
    final class BenchmarkHelpers {
      /** So far, this is the best way to test various implementations of {@link Set} subclasses. */
      public interface CollectionsImplEnum {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                int bytesRead = response.readBytesWireFormat(buffer, bufferIndex);
    
                // Then
                assertEquals(4, bytesRead);
            }
    
            @Test
            @DisplayName("Should read from various buffer positions")
            void testReadBytesWireFormatAtDifferentPositions() throws SMBProtocolDecodingException {
                // Given
                byte[] buffer = new byte[20];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
Back to top