Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 514 for callback3 (0.21 seconds)

  1. tensorflow/c/eager/c_api_experimental.h

    // required except where indicated.
    typedef struct TFE_CustomDeviceTensorHandleMethods {
      int version = TFE_CUSTOM_DEVICE_VERSION;
    
      // Computes the rank of the tensor handle.
      //
      // Shapes are specified via callbacks because retrieving the shape of a tensor
      // is a blocking operation for async eager; custom devices should avoid
      // retrieving shapes of tensors they wrap until the custom device tensor's
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Click Count (1)
  2. tests/transaction_test.go

    	}
    }
    
    func TestDeeplyNestedTransactionWithBlockAndWrappedCallback(t *testing.T) {
    	transaction := func(ctx context.Context, db *gorm.DB, callback func(ctx context.Context, db *gorm.DB) error) error {
    		return db.WithContext(ctx).Transaction(func(tx *gorm.DB) error {
    			return callback(ctx, tx)
    		})
    	}
    	var (
    		user  = *GetUser("transaction-nested", Config{})
    		user1 = *GetUser("transaction-nested-1", Config{})
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  3. apache-maven/src/assembly/maven/conf/maven-user.properties

    #   RgavCacheKey                     - BOM import caching (session/soft, typically resolved once)
    #   DefaultModelBuilderRequest       - Model building operations (none, ensures fresh dynamic builds)
    #   *                                - Fallback for all other requests (request/soft for temporary child request caching)
    #
    maven.cache.config = \
        SourceCacheKey { scope:session ref:hard } \
        DefaultArtifactResolverRequest { scope:session ref:hard } \
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/AddressTest.java

            assertNotNull(firstName, "First called name should not be null");
        }
    
        @Test
        @DisplayName("nextCalledName should return valid name for fallback attempts")
        void testNextCalledNameContract() {
            // Given
            String expectedNextName = "SERVER15";
            when(mockAddress.nextCalledName(mockContext)).thenReturn(expectedNextName);
    
            // When
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  5. docs/de/docs/advanced/async-tests.md

    MotorClient](https://stackoverflow.com/questions/41584243/runtimeerror-task-attached-to-a-different-loop)), dann denken Sie daran, Objekte zu instanziieren, die einen Event Loop nur innerhalb asynchroner Funktionen benötigen, z. B. einen `@app.on_event("startup")`-Callback.
    
    ///...
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 4.3K bytes
    - Click Count (1)
  6. docs/en/docs/advanced/async-tests.md

    when using [MongoDB's MotorClient](https://stackoverflow.com/questions/41584243/runtimeerror-task-attached-to-a-different-loop)), remember to instantiate objects that need an event loop only within async functions, e.g. an `@app.on_event("startup")` callback.
    
    ///...
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt

          Request
            .Builder()
            .url(url)
            .build()
    
        val promise = CompletableFuture<Response>()
    
        val call = client.newCall(request)
        call.enqueue(
          object : Callback {
            override fun onFailure(
              call: Call,
              e: IOException,
            ) {
              promise.completeExceptionally(e)
            }
    
            override fun onResponse(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/MarkdownRenderer.java

                }
    
                return sanitizedHtml;
            } catch (final Exception e) {
                logger.warn("Failed to render markdown, returning escaped plain text. error={}", e.getMessage());
                // Fallback to escaped plain text
                return escapeHtml(markdown);
            }
        }
    
        /**
         * Escapes HTML special characters for safe display.
         *
         * @param text the text to escape
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 12 10:32:40 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            nestedMap.put("outer", Maps.map("inner", "value").$());
            assertEquals(183L, MemoryUtil.sizeOf(nestedMap));
        }
    
        @Test
        public void test_sizeOf_customObjects() {
            // Test fallback case for custom objects (should return 16L)
            assertEquals(16L, MemoryUtil.sizeOf(new Object()));
            assertEquals(16L, MemoryUtil.sizeOf(new CustomTestObject()));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12K bytes
    - Click Count (0)
  10. docs/uk/docs/async.md

    У попередніх версіях NodeJS/Browser JavaScript ви б використовували «callbacks», що призводить до «callback hell».
    
    ## Співпрограми { #coroutines }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 36.6K bytes
    - Click Count (0)
Back to Top