Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 998 for Unit (0.05 sec)

  1. guava-tests/test/com/google/common/io/FilesTest.java

      }
    
      public void testHash() throws IOException {
        File asciiFile = getTestFile("ascii.txt");
        File i18nFile = getTestFile("i18n.txt");
    
        String init = "d41d8cd98f00b204e9800998ecf8427e";
        assertEquals(init, Hashing.md5().newHasher().hash().toString());
    
        String asciiHash = "e5df5a39f2b8cb71b24e1d8038f93131";
        assertEquals(asciiHash, Files.hash(asciiFile, Hashing.md5()).toString());
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/RangeTest.java

    import java.util.Collections;
    import java.util.List;
    import java.util.NoSuchElementException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link Range}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public class RangeTest extends TestCase {
      public void testOpen() {
        Range<Integer> range = Range.open(4, 8);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

        }
      }
    
      /** The currently stored permits. */
      double storedPermits;
    
      /** The maximum number of stored permits. */
      double maxPermits;
    
      /**
       * The interval between two unit requests, at our stable rate. E.g., a stable rate of 5 permits
       * per second has a stable interval of 200ms.
       */
      double stableIntervalMicros;
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  4. api/maven-api-model/src/main/mdo/maven.mdo

              <name>testResources</name>
              <version>4.0.0+</version>
              <description>
                This element describes all the classpath resources such as properties
                files associated with a project's unit tests.
                The default value is {@code src/test/resources}.
    
                @deprecated Replaced by {@code &lt;Source&gt;} with {@code test} scope and {@code resources} language.
              </description>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Nov 26 03:07:35 UTC 2025
    - 133.3K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt

              return null
            }
    
            override fun connectFailed(
              uri: URI,
              socketAddress: SocketAddress,
              e: IOException,
            ): Unit = throw AssertionError()
          }
    
        val address =
          factory.newAddress(
            proxySelector = nullProxySelector,
          )
        val routeSelector = newRouteSelector(address)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Oct 08 03:50:05 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  6. cmd/object-api-listobjects_test.go

    func TestListObjects(t *testing.T) {
    	ExecObjectLayerTest(t, testListObjects)
    }
    
    // Unit test for ListObjects on VersionedBucket.
    func testListObjectsOnVersionedBuckets(obj ObjectLayer, instanceType string, t1 TestErrHandler) {
    	_testListObjects(obj, instanceType, t1, true)
    }
    
    // Unit test for ListObjects.
    func testListObjects(obj ObjectLayer, instanceType string, t1 TestErrHandler) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 10 18:57:03 UTC 2025
    - 76.1K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/riscv64.s

    	VSETIVLI $0, E32, M1, TA, MA, X12		// 577600cd
    	VSETIVLI $15, E32, M1, TA, MA, X12		// 57f607cd
    	VSETIVLI $31, E32, M1, TA, MA, X12		// 57f60fcd
    	VSETVL	X10, X11, X12				// 57f6a580
    
    	// 31.7.4: Vector Unit-Stride Instructions
    	VLE8V		(X10), V3			// 87010502
    	VLE8V		(X10), V0, V3			// 87010500
    	VLE16V		(X10), V3			// 87510502
    	VLE16V		(X10), V0, V3			// 87510500
    	VLE32V		(X10), V3			// 87610502
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Nov 13 12:17:37 UTC 2025
    - 73.7K bytes
    - Viewed (0)
  8. docs/smb3-features/01-smb3-lease-design.md

        }
        
        public int getLeaseVersion() {
            return getIntProperty(LEASE_VERSION, 2);  // Default to V2 if supported
        }
    }
    ```
    
    ## 8. Testing Strategy
    
    ### 8.1 Unit Tests
    ```java
    package jcifs.tests.smb3;
    
    import org.junit.Test;
    import static org.junit.Assert.*;
    
    public class LeaseTest {
        
        @Test
        public void testLeaseKeyGeneration() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

    import java.util.regex.MatchResult;
    import java.util.regex.Pattern;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link ArbitraryInstances}.
     *
     * @author Ben Yu
     */
    @NullUnmarked
    public class ArbitraryInstancesTest extends TestCase {
    
      public void testGet_primitives() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  10. docs/smb3-features/05-rdma-smb-direct-design.md

                try {
                    // Initialize DiSNI
                    endpointGroup = new RdmaActiveEndpointGroup<DisniRdmaEndpoint>(
                        1000, false, 128, 4, 128);
                    endpointGroup.init(new DisniRdmaEndpointFactory());
                    initialized = true;
                } catch (Exception e) {
                    throw new IOException("Failed to initialize DiSNI", e);
                }
            }
        }
        
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
Back to top