Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 2,009 for unit (0.02 seconds)

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

          } finally {
            lockStateChanged(this);
          }
        }
    
        @Override
        public boolean tryLock(long timeout, TimeUnit unit) throws InterruptedException {
          aboutToAcquire(this);
          try {
            return super.tryLock(timeout, unit);
          } finally {
            lockStateChanged(this);
          }
        }
    
        @Override
        public void unlock() {
          try {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 17:06:34 GMT 2025
    - 35.9K bytes
    - Click Count (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/HelpTest.java

    import org.apache.maven.cling.invoker.mvnup.UpgradeContext;
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mockito;
    
    import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    /**
     * Unit tests for the Help goal.
     */
    class HelpTest {
    
        private Help help;
    
        @BeforeEach
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Aug 29 12:46:51 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/FilteredMultimapTest.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.base.Predicate;
    import java.util.Map.Entry;
    import java.util.Objects;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link Multimaps} filtering methods.
     *
     * @author Jared Levy
     */
    @GwtIncompatible // nottested
    @NullUnmarked
    public class FilteredMultimapTest extends TestCase {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 12 03:49:18 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  4. okhttp-brotli/src/test/java/okhttp3/brotli/BrotliInterceptorTest.kt

        val responseString = same.body.string()
        assertThat(responseString).isEmpty()
      }
    
      private fun response(
        url: String,
        bodyHex: ByteString,
        fn: Response.Builder.() -> Unit = {},
      ): Response =
        Response
          .Builder()
          .body(bodyHex.toResponseBody("text/plain".toMediaType()))
          .code(200)
          .message("OK")
          .request(Request.Builder().url(url).build())
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Aug 22 08:12:58 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

          } finally {
            lockStateChanged(this);
          }
        }
    
        @Override
        public boolean tryLock(long timeout, TimeUnit unit) throws InterruptedException {
          aboutToAcquire(this);
          try {
            return super.tryLock(timeout, unit);
          } finally {
            lockStateChanged(this);
          }
        }
    
        @Override
        public void unlock() {
          try {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 17:06:34 GMT 2025
    - 35.9K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

          ListenableFuture<V> delegate,
          long time,
          TimeUnit unit,
          ScheduledExecutorService scheduledExecutor) {
        TimeoutFuture<V> result = new TimeoutFuture<>(delegate);
        Fire<V> fire = new Fire<>(result);
        result.timer = scheduledExecutor.schedule(fire, time, unit);
        delegate.addListener(fire, directExecutor());
        return result;
      }
    
      /*
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 8K bytes
    - Click Count (0)
  7. docs/distributed/samples/bootstrap-partial.ldif

    # Create hardware engg org unit
    dn: ou=hwengg,dc=min,dc=io
    objectClass: organizationalUnit
    ou: hwengg
    
    # Create people sub-org
    dn: ou=people,ou=hwengg,dc=min,dc=io
    objectClass: organizationalUnit
    ou: people
    
    # Create Alice, Bob and Cody in hwengg
    dn: uid=alice1,ou=people,ou=hwengg,dc=min,dc=io
    objectClass: inetOrgPerson
    cn: Alice Smith
    sn: Smith
    uid: alice1
    mail: ******@****.***
    userPassword: {SSHA}Yeh2/IV/q/HjG2yzN3YdE9CAF3EJFCLu
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Sep 12 15:59:00 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  8. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/nullaway/NullawayStatusService.kt

                    }
                }
            }
        }
    
        private fun projectS(num: Int) = if (num == 1) "project" else "projects"
    
        private inline fun printResult(block: NullawayStatusService.() -> Unit) {
            val delimiter = "=".repeat(72)
            println(delimiter)
            block()
            println(delimiter)
        }
    
        companion object {
            val SERVICE_NAME = NullawayStatusService::class.qualifiedName!!
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Aug 20 13:18:23 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  9. .github/pull_request_template.md

    - [ ] Each commit in the pull request should have a meaningful subject line and body.
      Note that commits might be squashed by a maintainer on merge.
    - [ ] Write unit tests that match behavioral changes, where the tests fail if the changes to the runtime are not applied.
      This may not always be possible but is a best-practice.
    - [ ] Run `mvn verify` to make sure basic checks pass.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:30:05 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  10. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/IntegrationTest.kt

    import org.gradle.api.tasks.InputDirectory
    import org.gradle.api.tasks.PathSensitive
    import org.gradle.api.tasks.PathSensitivity
    
    
    /**
     * Verifies the correct behavior of a feature, as opposed to just a small unit of code.
     * Usually referred to as 'functional tests' in literature, but our code base has historically
     * been using the term 'integration test'.
     */
    @CacheableTask
    abstract class IntegrationTest : DistributionTest() {
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2K bytes
    - Click Count (0)
Back to Top