Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 163 for simulate (0.07 seconds)

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

  1. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

                private List<CrawlingInfoParam> storedParams;
    
                @Override
                public CrawlingInfo getLast(String sessionId) {
                    return null; // Return null to simulate create scenario
                }
    
                @Override
                public void store(CrawlingInfo entity) {
                    storedInfo = entity;
                    assertEquals(sessionId, entity.getSessionId());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java

                    processCalled = true;
                    processOrigin = origin;
                    processRequest = request;
                    processResponse = response;
    
                    // Simulate adding headers for testing
                    if (response instanceof HttpServletResponse) {
                        HttpServletResponse httpResponse = (HttpServletResponse) response;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 26.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

            final String tempPath = "/tmp/test.tmp";
            final String outputPath = "/tmp/output.jpg";
    
            // Simulate the variable replacement logic from the source code
            final List<String> processedCommands = new ArrayList<>();
            for (final String command : commands) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 27.8K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        // incomplete.
        val creator = cache.edit("k1")!!
        creator.newSink(0).buffer().use {
          it.writeUtf8("Hello")
        }
    
        // Simulate a severe Filesystem failure on the first initialization.
        filesystem.setFaultyDelete(cacheDir / "k1.0.tmp", true)
        filesystem.setFaultyDelete(cacheDir, true)
        cache =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 59.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                when(mockNameServiceClient.getLocalHost()).thenReturn(mockHost);
                when(mockHost.getHostName()).thenReturn(TEST_HOSTNAME);
                when(mockConfig.isUseUnicode()).thenReturn(false); // Simulate OEM encoding
                when(mockConfig.getDefaultDomain()).thenReturn(TEST_DOMAIN);
    
                Type2Message originalMessage = new Type2Message(mockContext,
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 38.9K bytes
    - Click Count (0)
  6. src/bytes/buffer_test.go

    	var bb Buffer
    	bb.Grow(16 << 20)
    	b.SetBytes(int64(bb.Available()))
    	b.ReportAllocs()
    	for i := 0; i < b.N; i++ {
    		bb.Reset()
    		b := bb.AvailableBuffer()
    		b = b[:cap(b)] // use max capacity to simulate a large append operation
    		bb.Write(b)    // should be nearly infinitely fast
    	}
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Nov 14 19:01:17 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  7. docs/smb3-features/03-multi-channel-design.md

        ChannelFailover failover = new ChannelFailover(manager);
        
        ChannelInfo channel = createTestChannel("test-channel", 1000);
        manager.addChannel(channel);
        
        // Simulate failure
        IOException error = new IOException("Network error");
        failover.handleFailure(channel, error);
        
        // Verify channel marked as failed
        assertEquals(ChannelState.FAILED, channel.getState());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/CriticalPerformanceTest.java

                        for (int i = 0; i < operationsPerThread; i++) {
                            // Simulate the atomic byte tracking operation
                            long start = System.nanoTime();
                            mockBytesEncrypted.addAndGet(1024); // Simulate 1KB message
                            long end = System.nanoTime();
    
                            totalTime.addAndGet(end - start);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

        // Once a header field is decoded and added to the reconstructed header
        // list, it cannot be removed from it. Hence, foo is here.
        assertThat(hpackReader!!.getAndResetHeaderList()).isEqualTo(headerBlock)
    
        // Simulate receiving a small dynamic table size update, that implies eviction.
        bytesIn.writeByte(0x3F) // Dynamic table size update (size = 55).
        bytesIn.writeByte(0x18)
        hpackReader!!.readHeaders()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 38.6K bytes
    - Click Count (0)
  10. docs/es/docs/advanced/stream-data.md

    Luego puedes usar esta nueva clase en `response_class=PNGStreamingResponse` en tu *path operation function*:
    
    {* ../../docs_src/stream_data/tutorial002_py310.py ln[23:27] hl[23] *}
    
    ### Simular un archivo { #simulate-a-file }
    
    En este ejemplo estamos simulando un archivo con `io.BytesIO`, que es un objeto tipo archivo que vive solo en memoria, pero nos permite usar la misma interfaz.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:12:26 GMT 2026
    - 5.7K bytes
    - Click Count (0)
Back to Top