Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2881 - 2890 of 3,317 for object (0.64 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

    @Suppress("UNCHECKED_CAST")
    internal fun <T> List<T>.toImmutableList(): List<T> =
      when {
        this.isEmpty() -> emptyList()
        this.size == 1 -> Collections.singletonList(this[0])
        // Collection.toArray returns Object[] (covariant).
        // It is faster than creating real T[] via reflection (Arrays.copyOf).
        else -> (this as java.util.Collection<*>).toArray().asList().unmodifiable() as List<T>
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (1)
  2. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java

            // Test building with default values
            String id = "test-id";
            SuggestSettings settings = builder.build(client, id);
    
            assertNotNull(settings);
            // Verify that the settings object was created with the correct parameters
            // Note: We can't directly verify internal state of SuggestSettings without getters,
            // but we can verify it was created successfully
        }
    
        @Test
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

       *
       * <p>By default this method does nothing.
       */
      protected void shutDown() throws Exception {}
    
      /**
       * Returns the {@link Scheduler} object used to configure this service. This method will only be
       * called once.
       */
      // TODO(cpovirk): @ForOverride
      protected abstract Scheduler scheduler();
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/SearchHelperTest.java

                return 0;
            }
    
            @Override
            public String[] getExtraQueries() {
                return new String[0];
            }
    
            @Override
            public Object getAttribute(String name) {
                if (Constants.HIGHLIGHT_QUERIES.equals(name)) {
                    return Collections.singleton("highlight query");
                }
                return null;
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  5. docs/nl/docs/python-types.md

    Vervolgens maak je een instantie van die klasse met een aantal waarden en het valideert de waarden, converteert ze naar het juiste type (als dat het geval is) en geeft je een object met alle data terug.
    
    Daarnaast krijg je volledige editorondersteuning met dat resulterende object.
    
    Een voorbeeld uit de officiƫle Pydantic-documentatie:
    
    //// tab | Python 3.10+
    
    ```Python
    {!> ../../docs_src/python_types/tutorial011_py310.py!}
    ```
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

      @J2ktIncompatible
      public void testContains_typeMismatch() {
        ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.open(0, 4), integers());
        assertFalse(set.contains((Object) "blah"));
      }
    
      public void testContainsAll() {
        ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers());
        for (Set<Integer> subset : Sets.powerSet(ImmutableSet.of(1, 2, 3))) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

                // Default constructor
            }
    
            /**
             * Information level for the enumeration
             */
            public int level;
            /**
             * Enumeration data object corresponding to the level
             */
            public NdrObject e;
    
            @Override
            public void encode(NdrBuffer _dst) throws NdrException {
                _dst.align(4);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  8. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        assertThat(other.port).isNotEqualTo(server.port)
        other.shutdown()
      }
    
      @Test
      fun statementStartsAndStops() {
        val called = AtomicBoolean()
        val statement =
          server.apply(
            object : Statement() {
              override fun evaluate() {
                called.set(true)
                server
                  .url("/")
                  .toUrl()
                  .openConnection()
                  .connect()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            // Using concrete implementation for integration testing
            // Note: DfsReferralDataImpl default constructor creates an object with null server/share/path
            // Some methods like fixupHost/fixupDomain require these to be set via combine() or fromReferral()
            concreteImplementation = createInitializedDfsReferralDataImpl();
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  10. src/builtin/builtin.go

    // constant. See the Go language specification's "Length and capacity" section for
    // details.
    func cap(v Type) int
    
    // The make built-in function allocates and initializes an object of type
    // slice, map, or chan (only). Like new, the first argument is a type, not a
    // value. Unlike new, make's return type is the same as the type of its
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Dec 30 23:59:23 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top