Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 367 for role (0.02 seconds)

  1. mockwebserver-junit4/README.md

    ```
    @Rule public final MockWebServerRule serverRule = new MockWebServerRule();
    ```
    
    The `serverRule` field has a `server` field. It is an instance of `MockWebServer`. That instance
    will be shut down automatically after the test runs.
    
    For Kotlin, the `@JvmField` annotation is also necessary:
    
    ```
    @JvmField @Rule val serverRule = MockWebServerRule()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 706 bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

        val rule = findMatchingRule(domainLabels)
        if (domainLabels.size == rule.size && rule[0][0] != EXCEPTION_MARKER) {
          return null // The domain is a public suffix.
        }
    
        val firstLabelOffset =
          if (rule[0][0] == EXCEPTION_MARKER) {
            // Exception rules hold the effective TLD plus one.
            domainLabels.size - rule.size
          } else {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  3. CHANGELOG/CHANGELOG-1.17.md

    - github.com/gliderlabs/ssh: v0.1.1
    - github.com/go-critic/go-critic: 1df3008
    - github.com/go-kit/kit: v0.8.0
    - github.com/go-lintpack/lintpack: v0.5.2
    - github.com/go-logfmt/logfmt: v0.3.0
    - github.com/go-ole/go-ole: v1.2.1
    - github.com/go-stack/stack: v1.8.0
    - github.com/go-toolsmith/astcast: v1.0.0
    - github.com/go-toolsmith/astcopy: v1.0.0
    - github.com/go-toolsmith/astequal: v1.0.0
    - github.com/go-toolsmith/astfmt: v1.0.0
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Thu Jan 28 10:44:33 GMT 2021
    - 346.2K bytes
    - Click Count (1)
  4. docs/bucket/replication/setup_ilm_expiry_replication.sh

    ## other site
    id=$(./mc ilm rule list siteb/bucket --json | jq '.config.Rules[] | select(.Expiration.Days==3) | .ID' | sed 's/"//g')
    # Remove rule from siteb
    ./mc ilm rule remove --id "${id}" siteb/bucket
    sleep 30s # allow to replicate
    
    # sitea should still contain the transition portion of rule
    transitionRuleDays=$(./mc ilm rule list sitea/bucket --json | jq '.config.Rules[0].Transition.Days')
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Sep 06 09:42:21 GMT 2024
    - 12.8K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    take out of it, and burning with curiosity, she ran across the
    field after it, and fortunately was just in time to see it pop
    down a large rabbit-hole under the hedge.
    
      In another moment down went Alice after it, never once
    considering how in the world she was to get out again.
    
      The rabbit-hole went straight on like a tunnel for some way,
    and then dipped suddenly down, so suddenly that Alice had not a
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy

        CtClass internalInterface
        CtClass incubatingInterface
        CtClass stablePublicInterface
    
        Map interfaces
    
        def setup() {
            rule = new IncubatingInternalInterfaceAddedRule(getInitializationParams())
            rule.context = context
    
            oldBase = instanceScopedPool.get(OldBase.name)
            newBase = instanceScopedPool.get(NewBase.name)
            newSuper = instanceScopedPool.get(NewSuper.name)
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 4K bytes
    - Click Count (0)
  7. cmd/bucket-lifecycle_test.go

    			expectedErr: errInvalidStorageClass,
    		},
    		{
    			// no transition rule
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 31 09:57:57 GMT 2022
    - 7K bytes
    - Click Count (0)
  8. internal/bucket/object/lock/lock.go

    			parts = append(parts, fmt.Sprintf("Mode: %s", config.Rule.DefaultRetention.Mode))
    		}
    		if config.Rule.DefaultRetention.Days != nil {
    			parts = append(parts, fmt.Sprintf("Days: %d", *config.Rule.DefaultRetention.Days))
    		}
    		if config.Rule.DefaultRetention.Years != nil {
    			parts = append(parts, fmt.Sprintf("Years: %d", *config.Rule.DefaultRetention.Years))
    		}
    	}
    	return strings.Join(parts, ", ")
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

       * a "hole" in it so that set tests of {@code ContiguousSet} can suppress them with {@code
       * FeatureSpecificTestSuiteBuilder.suppressing()}.
       */
      /*
       * TODO(cpovirk): or we could make HOLES_FORBIDDEN a feature. Or we could declare that
       * implementations are permitted to throw IAE if a hole is requested, and we could update
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 8.5K bytes
    - Click Count (0)
  10. mockwebserver-junit4/src/test/java/mockwebserver3/junit4/MockWebServerRuleTest.kt

    class MockWebServerRuleTest {
      @Test fun statementStartsAndStops() {
        val rule = MockWebServerRule()
        val called = AtomicBoolean()
        val statement: Statement =
          rule.apply(
            object : Statement() {
              override fun evaluate() {
                called.set(true)
                rule.server
                  .url("/")
                  .toUrl()
                  .openConnection()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.6K bytes
    - Click Count (0)
Back to Top