Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 4361 - 4370 of 4,689 for nulls (0.02 seconds)

  1. android/guava/src/com/google/common/io/ByteStreams.java

       */
      static long skipUpTo(InputStream in, long n) throws IOException {
        long totalSkipped = 0;
        // A buffer is allocated if skipSafely does not skip any bytes.
        byte[] buf = null;
    
        while (totalSkipped < n) {
          long remaining = n - totalSkipped;
          long skipped = skipSafely(in, remaining);
    
          if (skipped == 0) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 31.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java

    public class RenderDataUtilTest extends UnitFessTestCase {
    
        @Test
        public void test_register_null() {
            RenderData data = new RenderData();
            RenderDataUtil.register(data, "key1", null);
            assertNull(data.getDataMap().get("key1"));
        }
    
        @Test
        public void test_register_string() {
            RenderData data = new RenderData();
            RenderDataUtil.register(data, "key1", "test value");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

          throw new AssertionError();
        }
      }
    
      private static Exception throwCause(Exception e, boolean combineStackTraces) throws Exception {
        Throwable cause = e.getCause();
        if (cause == null) {
          throw e;
        }
        if (combineStackTraces) {
          StackTraceElement[] combined =
              ObjectArrays.concat(cause.getStackTrace(), e.getStackTrace(), StackTraceElement.class);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/util/ParameterUtil.java

         * @return the parameter map
         */
        public static Map<String, String> parse(final String value) {
            final Map<String, String> paramMap = new LinkedHashMap<>();
            if (value != null) {
                int unknownKey = 0;
                final Pattern properyPattern = Pattern.compile(ComponentUtil.getFessConfig().getAppEncryptPropertyPattern());
                final PrimaryCipher cipher = ComponentUtil.getPrimaryCipher();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/app/web/go/GoActionTest.java

            goAction = new TestableGoAction();
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            ComponentUtil.setFessConfig(null);
            super.tearDown(testInfo);
        }
    
        // Test class to expose protected method for testing
        private static class TestableGoAction extends GoAction {
            @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt

     * See [RFC 1928](https://www.ietf.org/rfc/rfc1928.txt).
     */
    class SocksProxy {
      private val executor = Executors.newCachedThreadPool(threadFactory("SocksProxy"))
      private var serverSocket: ServerSocket? = null
      private val connectionCount = AtomicInteger()
      private val openSockets: MutableSet<Socket> = ConcurrentHashMap.newKeySet()
    
      fun play() {
        serverSocket = ServerSocket(0)
        executor.execute {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/CipherSuiteTest.kt

            .build()
        applyConnectionSpec(connectionSpec, socket, false)
        assertArrayEquals(arrayOf("TLSv1.1", "TLSv1.2"), socket.enabledProtocols)
      }
    
      internal class FakeSslSocket : DelegatingSSLSocket(null) {
        private lateinit var enabledProtocols: Array<String>
        private lateinit var supportedCipherSuites: Array<String>
        private lateinit var enabledCipherSuites: Array<String>
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/io/ResourcesTest.java

        }
      }
    
      public void testGetResource_contextClassLoaderNull() {
        ClassLoader oldContextLoader = Thread.currentThread().getContextClassLoader();
        try {
          Thread.currentThread().setContextClassLoader(null);
          assertThat(Resources.getResource("com/google/common/io/testdata/i18n.txt")).isNotNull();
          assertThrows(IllegalArgumentException.class, () -> Resources.getResource("no such resource"));
        } finally {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  9. docs/fr/docs/tutorial/query-params.md

    ```JSON
    {
      "detail": [
        {
          "type": "missing",
          "loc": [
            "query",
            "needy"
          ],
          "msg": "Field required",
          "input": null
        }
      ]
    }
    ```
    
    Comme `needy` est un paramètre requis, vous devez le définir dans l'URL :
    
    ```
    http://127.0.0.1:8000/items/foo-item?needy=sooooneedy
    ```
    
    ... cela fonctionnerait :
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/primitives/UnsignedInts.java

       *
       * @throws NumberFormatException if the string does not contain a valid unsigned {@code int} value
       * @throws NullPointerException if {@code s} is null (in contrast to {@link
       *     Integer#parseInt(String)})
       */
      @CanIgnoreReturnValue
      public static int parseUnsignedInt(String s) {
        return parseUnsignedInt(s, 10);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 13.9K bytes
    - Click Count (0)
Back to Top