Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 513 for callback3 (0.19 seconds)

  1. schema/callbacks_test.go

    	return nil
    }
    
    func TestCallback(t *testing.T) {
    	user, err := schema.Parse(&UserWithCallback{}, &sync.Map{}, schema.NamingStrategy{})
    	if err != nil {
    		t.Fatalf("failed to parse user with callback, got error %v", err)
    	}
    
    	for _, str := range []string{"BeforeSave", "AfterCreate"} {
    		if !reflect.Indirect(reflect.ValueOf(user)).FieldByName(str).Interface().(bool) {
    			t.Errorf("%v should be true", str)
    		}
    	}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 939 bytes
    - Click Count (0)
  2. okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt

    import kotlinx.coroutines.withTimeout
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.SocketEffect
    import mockwebserver3.junit5.StartStop
    import okhttp3.Callback
    import okhttp3.FailingCall
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClientTestRule
    import okhttp3.Protocol
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.ResponseBody
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/LayeredMavenOptions.java

        }
    
        @Override
        public MavenOptions interpolate(UnaryOperator<String> callback) {
            ArrayList<MavenOptions> interpolatedOptions = new ArrayList<>(options.size());
            for (MavenOptions o : options) {
                interpolatedOptions.add((MavenOptions) o.interpolate(callback));
            }
            return layerMavenOptions(interpolatedOptions);
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  4. guava-gwt/src-super/com/google/common/escape/super/com/google/common/escape/Platform.java

        // instance.  It is always safe to return the same instance because
        // javascript is single-threaded, and only used by blocks that doesn't
        // involve async callbacks.
        return CHAR_BUFFER;
      }
    
      private Platform() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/llm/IntentDetectionResult.java

        }
    
        /**
         * Creates a fallback search intent when intent detection fails.
         *
         * @param originalMessage the original user message
         * @return the fallback search intent result
         */
        public static IntentDetectionResult fallbackSearch(final String originalMessage) {
            return new IntentDetectionResult(ChatIntent.SEARCH, originalMessage, null, "Fallback: using original message as query");
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 13:27:59 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractConditionAggregation.java

            /**
             * @param op The option of condition to be set up. (NotNull)
             */
            void callback(OP op);
        }
    
        @FunctionalInterface
        public interface OperatorCall<CA extends EsAbstractConditionAggregation> {
    
            void callback(CA query);
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

    import java.util.concurrent.atomic.AtomicBoolean;
    
    import org.codelibs.fess.app.service.FailureUrlService;
    import org.codelibs.fess.ds.DataStore;
    import org.codelibs.fess.ds.DataStoreFactory;
    import org.codelibs.fess.ds.callback.IndexUpdateCallback;
    import org.codelibs.fess.entity.DataStoreParams;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.opensearch.client.SearchEngineClient;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

            UnaryOperator<String> callback = v -> {
                String r = request.getUserProperties().getProperty(v);
                if (r == null) {
                    r = request.getSystemProperties().getProperty(v);
                }
                return r != null ? r : v;
            };
            return v -> interpolator.interpolate(v, callback);
        }
    
        static class SimpleSession extends DefaultSession {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/io/Files.java

      }
    
      /**
       * Streams lines from a {@link File}, stopping when our callback returns false, or we have read
       * all of the lines.
       *
       * @param file the file to read from
       * @param charset the charset used to decode the input stream; see {@link StandardCharsets} for
       *     helpful predefined constants
       * @param callback the {@link LineProcessor} to use to handle the lines
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 32.8K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/llm/LlmStreamCallback.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.llm;
    
    /**
     * Callback interface for receiving streaming chat responses from LLM.
     */
    @FunctionalInterface
    public interface LlmStreamCallback {
    
        /**
         * Called for each chunk of the streaming response.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 12 10:32:40 GMT 2026
    - 1.2K bytes
    - Click Count (0)
Back to Top