Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1141 - 1150 of 1,863 for myinstance (0.09 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java

        List<Entry<K, V>> expectedWithDuplicateRemoved = asList(entries).subList(1, getNumElements());
        expectContents(expectedWithDuplicateRemoved);
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testCreateWithNullKeyUnsupported()} so that
       * tests can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="https://bugs.openjdk.org/browse/JDK-5045147">JDK-5045147</a> is fixed.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/HandlerTest.java

            // Create two URLs with the same handler
            URL url1 = new URL(null, "smb://host1/share1", handler);
            URL url2 = new URL(null, "smb://host2/share2", handler);
    
            // Both should use the same handler instance
            assertNotNull(url1);
            assertNotNull(url2);
    
            // Protocol should be consistent
            assertEquals(url1.getProtocol(), url2.getProtocol());
            assertEquals("smb", url1.getProtocol());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  3. tests/test_response_dependency.py

        assert resp.headers.get("X-First") == "1"
        assert resp.headers.get("X-Second") == "2"
    
    
    def test_response_dependency_returns_different_response_instance():
        """Dependency that returns a different Response instance should work.
    
        When a dependency returns a new Response object (e.g., JSONResponse) instead
        of modifying the injected one, the returned response should be used and any
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 05 18:23:16 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/Iterables.java

       * This does perform a little more work than necessary, so another option is to insert an
       * unchecked cast at some later point:
       *
       * {@snippet :
       * @SuppressWarnings("unchecked") // safe because of ::isInstance check
       * ImmutableList<NewType> result =
       *     (ImmutableList) stream.filter(NewType.class::isInstance).collect(toImmutableList());
       * }
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 18:35:28 GMT 2025
    - 43.8K bytes
    - Click Count (0)
  5. docs/es/docs/advanced/settings.md

    {* ../../docs_src/settings/tutorial001_py310.py hl[2,5:8,11] *}
    
    /// tip | Consejo
    
    Si quieres algo rápido para copiar y pegar, no uses este ejemplo, usa el último más abajo.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/hash/HashCode.java

          return ch - 'a' + 10;
        }
        throw new IllegalArgumentException("Illegal hexadecimal character: " + ch);
      }
    
      /**
       * Returns {@code true} if {@code object} is a {@link HashCode} instance with the identical byte
       * representation to this hash code.
       *
       * <p><b>Security note:</b> this method uses a constant-time (not short-circuiting) implementation
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  7. docs/es/docs/advanced/custom-response.md

    ///
    
    ### `FileResponse` { #fileresponse }
    
    Transmite un archivo asincrónicamente como response.
    
    Toma un conjunto diferente de argumentos para crear un instance que los otros tipos de response:
    
    * `path` - La path del archivo para el archivo a transmitir.
    * `headers` - Cualquier header personalizado para incluir, como un diccionario.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/settings.md

    {* ../../docs_src/settings/tutorial001_py310.py hl[2,5:8,11] *}
    
    /// tip
    
    If you want something quick to copy and paste, don't use this example, use the last one below.
    
    ///
    
    Then, when you create an instance of that `Settings` class (in this case, in the `settings` object), Pydantic will read the environment variables in a case-insensitive way, so, an upper-case variable `APP_NAME` will still be read for the attribute `app_name`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/service/StemmerOverrideService.java

         */
        public OptionalEntity<StemmerOverrideFile> getStemmerOverrideFile(final String dictId) {
            return dictionaryManager.getDictionaryFile(dictId)
                    .filter(StemmerOverrideFile.class::isInstance)
                    .map(file -> OptionalEntity.of((StemmerOverrideFile) file))
                    .orElse(OptionalEntity.empty());
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

          }
          Thread.sleep(1);
        }
      }
    
      private static boolean isThreadBlockedOnInstanceOf(Thread t, Class<?> blocker) {
        return t.getState() == Thread.State.WAITING && blocker.isInstance(LockSupport.getBlocker(t));
      }
    
      static final class SlowChannel extends AbstractInterruptibleChannel {
        final CountDownLatch exitClose = new CountDownLatch(1);
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.2K bytes
    - Click Count (0)
Back to Top