Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 7,664 for require (0.71 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt

      override fun isCanceled() = canceled
    
      override fun plan(): FakePlan {
        // Return deferred plans preferentially. These don't require addPlan().
        if (deferredPlans.isNotEmpty()) return deferredPlans.removeFirst() as FakePlan
    
        if (nextPlanIndex >= plans.size && autoGeneratePlans) addPlan()
    
        require(nextPlanIndex < plans.size) {
          "not enough plans! call addPlan() or set autoGeneratePlans=true in the test to set this up"
        }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. cmd/bucket-replication-utils_gen.go

    		err = msgp.WrapError(err, "LastUpdate")
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z *BucketReplicationResyncStatus) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 4
    	// string "v"
    	o = append(o, 0x84, 0xa1, 0x76)
    	o = msgp.AppendInt(o, z.Version)
    	// string "brs"
    	o = append(o, 0xa3, 0x62, 0x72, 0x73)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 59.3K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/promotion/PublishNightlySnapshot.kt

                if (matchResult == null) {
                    null
                } else {
                    (matchResult.groupValues[1].toInt() - 4).apply {
                        require(this in 2..23)
                    }
                }
            }
        }
    }
    
    fun ScheduleTrigger.scheduledTrigger(
        branch: VersionedSettingsBranch,
        policy: SchedulingPolicy,
        pendingChangesOnly: Boolean,
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Dec 29 08:57:18 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. build-logic/jvm/src/main/kotlin/gradlebuild/propagated-env-variables.kt

        "credential",
        "auth"
    )
    
    
    fun Test.filterEnvironmentVariables(inheritDevelocityAccessToken: Boolean) {
        environment = makePropagatedEnvironment()
        environment.forEach { (key, _) ->
            require(credentialsKeywords.none { key.contains(it, true) }) { "Found sensitive data in filtered environment variables: $key" }
        }
    
        if (inheritDevelocityAccessToken) {
            System.getenv("DEVELOCITY_ACCESS_KEY")?.let {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Oct 15 18:27:39 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. .github/workflows/osv-scanner-scheduled.yml

    # limitations under the License.
    # ==============================================================================
    
    name: OSV-Scanner Scheduled Scan
    
    on:
      schedule:
        - cron: 0 4 * * 1
    
    permissions:
      # Require writing security events to upload SARIF file to security tab
      security-events: write
      # Only need to read contents
      contents: read
    
    jobs:
      scan-scheduled:
        if: github.repository == 'tensorflow/tensorflow'
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Mon Dec 01 09:57:00 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/features/SetFeature.java

      }
    
      @Override
      public Set<Feature<? super Set>> getImpliedFeatures() {
        return implied;
      }
    
      @Retention(RetentionPolicy.RUNTIME)
      @Inherited
      @TesterAnnotation
      public @interface Require {
        SetFeature[] value() default {};
    
        SetFeature[] absent() default {};
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapReplaceValuesTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class ListMultimapReplaceValuesTester<K, V> extends AbstractListMultimapTester<K, V> {
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
      public void testReplaceValuesPreservesOrder() {
        List<V> values = asList(v3(), v1(), v4());
    
        for (K k : sampleKeys()) {
          resetContainer();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/MultimapFeature.java

      }
    
      @Override
      public Set<Feature<? super Multimap>> getImpliedFeatures() {
        return implied;
      }
    
      @Retention(RetentionPolicy.RUNTIME)
      @Inherited
      @TesterAnnotation
      public @interface Require {
        MultimapFeature[] value() default {};
    
        MultimapFeature[] absent() default {};
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/features/ListFeature.java

      }
    
      @Override
      public Set<Feature<? super List>> getImpliedFeatures() {
        return implied;
      }
    
      @Retention(RetentionPolicy.RUNTIME)
      @Inherited
      @TesterAnnotation
      public @interface Require {
        ListFeature[] value() default {};
    
        ListFeature[] absent() default {};
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapReplaceValuesTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class SetMultimapReplaceValuesTester<K, V>
        extends AbstractMultimapTester<K, V, SetMultimap<K, V>> {
    
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
      public void testReplaceValuesHandlesDuplicates() {
        List<V> values = asList(v0(), v1(), v0());
    
        for (K k : sampleKeys()) {
          resetContainer();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top