Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 581 - 590 of 653 for mocks (0.13 seconds)

  1. cmd/tier.go

    // name tierName, otherwise returns madmin.Unsupported and false. N B this
    // function is meant for internal use, where the caller is expected to take
    // appropriate locks.
    func (config *TierConfigMgr) isTierNameInUse(tierName string) (madmin.TierType, bool) {
    	if t, ok := config.Tiers[tierName]; ok {
    		return t.Type, true
    	}
    	return madmin.Unsupported, false
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

            QueryBuilder result = matchAllQueryCommand.execute(context, query, boost);
    
            assertNotNull(result);
    
            // Note: Actual log output verification would require a log appender mock
            // but we can at least ensure the method executes without errors
            logger.info("Execute method called with query: {} and boost: {}", query, boost);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17K bytes
    - Click Count (0)
  3. gradle/libs.versions.toml

    kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "serialization" }
    mockserver = { module = "org.testcontainers:mockserver", version.ref = "testcontainers" }
    mockserver-client = { module = "org.mock-server:mockserver-client-java-no-dependencies", version.ref = "mockserver-client" }
    native-image-svm = { module = "org.graalvm.nativeimage:svm", version.ref = "graalvm" }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 31 22:01:48 GMT 2026
    - 12K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java

         * all access is properly synchronized via indexUpdateCallback lock.
         */
        @Test
        public void test_deleteUrlList_synchronizedAccess() throws Exception {
            // Create a mock IndexUpdateCallback for synchronization
            IndexUpdateCallback mockCallback = new IndexUpdateCallback() {
                @Override
                public void store(DataStoreParams paramMap, Map<String, Object> dataMap) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 19.7K bytes
    - Click Count (0)
  5. cmd/metrics-v3-types.go

    	promMetrics := metricValues.ToPromMetrics(mg.CollectorPath.metricPrefix(),
    		mg.ExtraLabels)
    	for _, metric := range promMetrics {
    		ch <- metric
    	}
    }
    
    // LockAndSetBuckets - locks the buckets and sets the given buckets. It returns
    // a function to unlock the buckets.
    func (mg *MetricsGroup) LockAndSetBuckets(buckets []string) func() {
    	mg.bucketsLock.Lock()
    	mg.buckets = buckets
    	return func() {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Feb 28 19:33:08 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  6. cmd/object-api-interface.go

    	PreserveETag                        string    // preserves this etag during a PUT call.
    	NoLock                              bool      // indicates to lower layers if the caller is expecting to hold locks.
    	HasIfMatch                          bool      // indicates if the request has If-Match header
    	ProxyRequest                        bool      // only set for GET/HEAD in active-active replication scenario
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

        @Test
        public void test_installArtifact_default() {
            PluginHelper testHelper = new PluginHelper() {
                @Override
                protected void install(Artifact artifact) {
                    // Mock install method
                }
            };
    
            Artifact artifact = new Artifact("fess-ds-test", "1.0.0", "http://test.com/test.jar");
    
            try {
                testHelper.installArtifact(artifact);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 22.6K bytes
    - Click Count (0)
  8. doc/go_mem.html

    var limit = make(chan int, 3)
    
    func main() {
    	for _, w := range work {
    		go func(w func()) {
    			limit &lt;- 1
    			w()
    			&lt;-limit
    		}(w)
    	}
    	select{}
    }
    </pre>
    
    <h3 id="locks">Locks</h3>
    
    <p>
    The <code>sync</code> package implements two lock data types,
    <code>sync.Mutex</code> and <code>sync.RWMutex</code>.
    </p>
    
    <p class="rule">
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Aug 05 15:41:37 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/test/resources/dag.txt

    	quarkus/extensions/vertx/deployment/pom.xml
    	quarkus/extensions/jackson/deployment/pom.xml
    	quarkus/test-framework/junit5-internal/pom.xml
    	quarkus/core/junit4-mock/pom.xml
    	quarkus/extensions/resteasy-classic/resteasy/deployment/pom.xml
    	quarkus/extensions/devservices/deployment/pom.xml
    quarkus/extensions/resteasy-reactive/quarkus-resteasy-reactive-jackson/deployment/pom.xml
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 224K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

    import static java.util.concurrent.TimeUnit.SECONDS;
    import static org.junit.Assert.assertThrows;
    import static org.mockito.Mockito.doThrow;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.timeout;
    import static org.mockito.Mockito.verify;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 63K bytes
    - Click Count (0)
Back to Top