Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 187 for simulate (0.06 seconds)

  1. RELEASE.md

    *   `tf.lite`:
    
        *   `tf.quantization.quantize_and_dequantize_v2` has been introduced, which
            updates the gradient definition for quantization which is outside the
            range to be 0. To simulate the V1 the behavior of
            `tf.quantization.quantize_and_dequantize(...)` use
            `tf.grad_pass_through(tf.quantization.quantize_and_dequantize_v2)(...)`.
    
    *   Building TensorFlow:
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Mar 30 18:31:38 GMT 2026
    - 746.5K bytes
    - Click Count (3)
  2. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

                                String result = circuitBreaker.executeWithCircuitBreaker(() -> {
                                    if ((threadId + iteration) % 10 == 0) {
                                        throw new RuntimeException("Simulated failure");
                                    }
                                    return "success";
                                });
                                successCount.incrementAndGet();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.2K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

       * Assigns a thread to the given {@link Future} to provide {@link ListenableFuture} functionality.
       *
       * <p><b>Warning:</b> If the input future does not already implement {@code ListenableFuture}, the
       * returned future will emulate {@link ListenableFuture#addListener} by taking a thread from an
       * internal, unbounded pool at the first call to {@code addListener} and holding it until the
       * future is {@linkplain Future#isDone() done}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java

            protected boolean performReconnection(HandleInfo info) throws Exception {
                if (shouldSucceed) {
                    return true;
                } else {
                    throw new IOException("Simulated reconnection failure");
                }
            }
    
            public void testCreateReconnectionRequest(HandleInfo handle) {
                createReconnectionRequest(handle);
            }
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java

            assertEquals(0, response.status, "Status should be 0.");
            assertEquals(2, response.numEntries, "Number of entries should be 2.");
        }
    
        /**
         * Tests the readDataWireFormat method.
         * This test simulates a response with two share entries.
         */
        @Test
        void testReadDataWireFormat() throws IOException {
            NetShareEnumResponse response = new NetShareEnumResponse();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  6. misc/ios/go_ios_exec.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This program can be used as go_ios_$GOARCH_exec by the Go tool. It executes
    // binaries on the iOS Simulator using the XCode toolchain.
    package main
    
    import (
    	"fmt"
    	"go/build"
    	"log"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"syscall"
    )
    
    const debug = false
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Sep 16 00:34:45 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerErrorHandlingTest.java

            QueryLogReader errorReader = new QueryLogReader() {
                @Override
                public QueryLog read() {
                    throw new RuntimeException("Simulated read error");
                }
    
                @Override
                public void close() {
                }
            };
    
            CountDownLatch latch = new CountDownLatch(1);
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

                while (handle.isActive()) {
                    try {
                        // Note: Actual SMB2 Change Notify implementation would go here
                        // For now, this is a placeholder that simulates monitoring
    
                        // In a real implementation, we would:
                        // 1. Send SMB2 Change Notify request
                        // 2. Wait for response
                        // 3. Process changes
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  9. docs/tr/docs/tutorial/background-tasks.md

    Bu, parametre alabilen standart bir fonksiyondur.
    
    `async def` de olabilir, normal `def` de olabilir; **FastAPI** bunu doğru şekilde nasıl ele alacağını bilir.
    
    Bu örnekte görev fonksiyonu bir dosyaya yazacaktır (email göndermeyi simüle ediyor).
    
    Ve yazma işlemi `async` ve `await` kullanmadığı için fonksiyonu normal `def` ile tanımlarız:
    
    {* ../../docs_src/background_tasks/tutorial001_py310.py hl[6:9] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 5K bytes
    - Click Count (0)
  10. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

            when(mockFuture.actionGet(anyLong(), any(TimeUnit.class))).thenAnswer(invocation -> {
                int count = attemptCount.incrementAndGet();
                if (count <= 5) {
                    throw new RuntimeException("Simulated failure #" + count);
                }
                return "Success";
            });
    
            final String result = fesenClient.get(c -> mockFuture);
    
            assertEquals("Success", result);
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Jan 12 06:25:38 GMT 2026
    - 16.9K bytes
    - Click Count (0)
Back to Top