Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 498 for type2 (0.18 seconds)

  1. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

            scriptEngineFactory.add("type1", engine1);
            scriptEngineFactory.add("type2", engine2);
    
            // Execute with first engine
            Object result1 = scriptExecutor.execute("type1", "script for engine1");
            assertEquals("engine1:processed: script for engine1", result1);
    
            // Execute with second engine
            Object result2 = scriptExecutor.execute("type2", "script for engine2");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

        @Test
        public void test_constructor_withTypeAndMessage() {
            // Test constructor with type and message
            String type = "Bearer";
            String message = "Invalid access token provided";
            InvalidAccessTokenException exception = new InvalidAccessTokenException(type, message);
    
            assertEquals(type, exception.getType());
            assertEquals(message, exception.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

            assertEquals(type1, type2);
    
            Map<String, Object> source1 = event.toSource();
            Map<String, Object> source2 = event.toSource();
            assertSame(source1, source2);
        }
    
        // Test edge cases for version numbers
        @Test
        public void test_versionNumberEdgeCases() {
            TestSearchLogEvent event = new TestSearchLogEvent("id", 0L, "type");
    
            // Test minimum value
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  4. docs/de/docs/python-types.md

        print(data)
    ```
    
    ### Generische Typen { #generic-types }
    
    Einige Typen können „Typ-Parameter“ in eckigen Klammern annehmen, um ihre inneren Typen zu definieren, z. B. eine „Liste von Strings“ würde als `list[str]` deklariert.
    
    Diese Typen, die Typ-Parameter annehmen können, werden **generische Typen** oder **Generics** genannt.
    
    Sie können dieselben eingebauten Typen als Generics verwenden (mit eckigen Klammern und Typen darin):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 12.6K bytes
    - Click Count (1)
  5. docs/de/docs/advanced/advanced-python-types.md

    # Fortgeschrittene Python-Typen { #advanced-python-types }
    
    Hier sind einige zusätzliche Ideen, die beim Arbeiten mit Python-Typen nützlich sein könnten.
    
    ## `Union` oder `Optional` verwenden { #using-union-or-optional }
    
    Wenn Ihr Code aus irgendeinem Grund nicht `|` verwenden kann, z. B. wenn es nicht in einer Typannotation ist, sondern in etwas wie `response_model=`, können Sie anstelle des senkrechten Strichs (`|`) `Union` aus `typing` verwenden.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 07:57:30 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/IterablesTest.java

      }
    
      private static class TypeA {}
    
      private interface TypeB {}
    
      private static class HasBoth extends TypeA implements TypeB {}
    
      @GwtIncompatible // Iterables.filter(Iterable, Class)
      public void testFilterByType_iterator() throws Exception {
        HasBoth hasBoth = new HasBoth();
        Iterable<TypeA> alist = Lists.newArrayList(new TypeA(), new TypeA(), hasBoth, new TypeA());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 47.5K bytes
    - Click Count (0)
  7. fastapi/types.py

    import types
    from collections.abc import Callable
    from enum import Enum
    from typing import Any, TypeVar, Union
    
    from pydantic import BaseModel
    from pydantic.main import IncEx as IncEx
    
    DecoratedCallable = TypeVar("DecoratedCallable", bound=Callable[..., Any])
    UnionType = getattr(types, "UnionType", Union)
    ModelNameMap = dict[type[BaseModel] | type[Enum], str]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:41:21 GMT 2026
    - 438 bytes
    - Click Count (0)
  8. docs/pt/docs/python-types.md

    O Python possui suporte para "type hints" opcionais (também chamados de "type annotations").
    
    Esses **"type hints"** ou anotações são uma sintaxe especial que permite declarar o <dfn title="por exemplo: str, int, float, bool">tipo</dfn> de uma variável.
    
    Ao declarar tipos para suas variáveis, editores e ferramentas podem oferecer um melhor suporte.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/FluentIterableTest.java

      }
    
      private static class TypeA {}
    
      private interface TypeB {}
    
      private static class HasBoth extends TypeA implements TypeB {}
    
      @GwtIncompatible // Iterables.filter(Iterable, Class)
      public void testFilterByType() throws Exception {
        HasBoth hasBoth = new HasBoth();
        FluentIterable<TypeA> alist =
            FluentIterable.from(asList(new TypeA(), new TypeA(), hasBoth, new TypeA()));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 31.2K bytes
    - Click Count (0)
  10. docs/es/docs/python-types.md

    # Introducción a Tipos en Python { #python-types-intro }
    
    Python tiene soporte para "anotaciones de tipos" opcionales (también llamadas "type hints").
    
    Estas **"anotaciones de tipos"** o type hints son una sintaxis especial que permite declarar el <dfn title="por ejemplo: str, int, float, bool">tipo</dfn> de una variable.
    
    Al declarar tipos para tus variables, los editores y herramientas te pueden proporcionar un mejor soporte.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 11.6K bytes
    - Click Count (1)
Back to Top