Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 461 - 470 of 515 for mocks (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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)
  2. 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)
  3. doc/go_mem.html

    var limit = make(chan int, 3)
    
    func main() {
    	for _, w := range work {
    		go func(w func()) {
    			limit <- 1
    			w()
    			<-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)
  4. 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)
  5. 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)
  6. 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)
  7. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

                    }
                }
            };
            systemHelper.init();
            ComponentUtil.register(systemHelper, "systemHelper");
    
            // Initialize DictionaryManager mock
            org.codelibs.fess.dict.DictionaryManager dictionaryManager = new org.codelibs.fess.dict.DictionaryManager() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                    String path = "\\\\server";
                    int maxReferralLevel = 3;
                    buffer = new DfsReferralRequestBuffer(path, maxReferralLevel);
    
                    // Configure mock to do nothing when called
                    mockedSMBUtil.when(() -> SMBUtil.writeInt2(anyLong(), any(byte[].class), anyInt())).thenAnswer(invocation -> null);
    
                    byte[] dst = new byte[buffer.size()];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

            assertTrue(tag.toString().contains("css=new-class"));
            assertTrue(tag.toString().contains("attrName=role"));
            assertTrue(tag.toString().contains("attrValue=link"));
        }
    
        // Mock implementation of Node for testing without external dependencies
        private static class MockNode implements Node {
            private final String nodeName;
            private final Map<String, MockNode> attributes = new HashMap<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 21.1K bytes
    - Click Count (0)
  10. cmd/notification.go

    			}
    			serverLocksResp, err := sys.peerClients[index].GetLocks(ctx)
    			if err != nil {
    				return err
    			}
    			locksResp[index] = &PeerLocks{
    				Addr:  sys.peerClients[index].host.String(),
    				Locks: serverLocksResp,
    			}
    			return nil
    		}, index)
    	}
    	for index, err := range g.Wait() {
    		reqInfo := (&logger.ReqInfo{}).AppendTags("peerAddress",
    			sys.peerClients[index].host.String())
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 46K bytes
    - Click Count (0)
Back to Top