Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 324 for replica (0.07 sec)

  1. okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt

          |data: +2
          |data: 10
          |
          |
          """.trimMargin().replace("\n", "\r"),
        )
        assertThat(callbacks.remove()).isEqualTo(Event(null, null, "YHOO\n+2\n10"))
      }
    
      @Test
      fun multilineCrLf() {
        consumeEvents(
          """
          |data: YHOO
          |data: +2
          |data: 10
          |
          |
          """.trimMargin().replace("\n", "\r\n"),
        )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MoreCollectors.java

        }
    
        void add(Object o) {
          checkNotNull(o);
          if (element == null) {
            this.element = o;
          } else if (extras.isEmpty()) {
            // Replace immutable empty list with mutable list.
            extras = new ArrayList<>(MAX_EXTRAS);
            extras.add(o);
          } else if (extras.size() < MAX_EXTRAS) {
            extras.add(o);
          } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        // asMap.put saves 3
        cache.asMap().put(3, -3);
        ticker.advance(1, MILLISECONDS);
        assertThat(keySet).containsExactly(4, 5, 6, 7, 8, 9, 0, 3);
    
        // asMap.replace saves 4
        cache.asMap().replace(4, -4);
        ticker.advance(1, MILLISECONDS);
        assertThat(keySet).containsExactly(5, 6, 7, 8, 9, 0, 3, 4);
    
        // 5 expires
        ticker.advance(1, MILLISECONDS);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SmbResourceLocatorTest.java

                    this.path = remaining.substring(slashIndex);
                }
    
                // canonical form: remove . and .. but nothing fancy
                this.canonical = urlStr.replace("..", "").replace(".", "");
            }
    
            @Override
            public String getName() {
                if (path == null || path.isEmpty() || path.equals("/")) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  5. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java

            public boolean remove(Object key, Object value) {
                throw uoe();
            }
    
            @Override
            public boolean replace(K key, V oldValue, V newValue) {
                throw uoe();
            }
    
            @Override
            public V replace(K key, V value) {
                throw uoe();
            }
    
            @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Jul 07 11:47:42 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. README.md

    - Synchronous and asynchronous (callback) execution
    - Minimal dependencies (only Apache Commons IO)
    
    ## Installation
    
    ### Maven
    
    Add the dependency to your `pom.xml` (replace `x.y.z` with the latest version):
    
    ```xml
    <dependency>
      <groupId>org.codelibs</groupId>
      <artifactId>curl4j</artifactId>
      <version>x.y.z</version>
    </dependency>
    ```
    
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:11:14 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. docs/es/docs/advanced/response-directly.md

    Esto te da mucha flexibilidad. Puedes devolver cualquier tipo de datos, sobrescribir cualquier declaración o validación de datos, etc.
    
    ## Usar el `jsonable_encoder` en una `Response`
    
    Como **FastAPI** no realiza cambios en una `Response` que devuelves, tienes que asegurarte de que sus contenidos estén listos para ello.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 17:46:44 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

                final int pos = buf.indexOf("y");
                if (pos != -1) {
                    buf.replace(pos, pos + 1, "yy");
                }
            }
            if (buf.indexOf("MM") == -1) {
                final int pos = buf.indexOf("M");
                if (pos != -1) {
                    buf.replace(pos, pos + 1, "MM");
                }
            }
            if (buf.indexOf("dd") == -1) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                final String s = file.toUri().toString();
                final String b = basePath.toUri().toString();
                final String id = s.replace(b, StringUtil.EMPTY).replace("." + imageExtention, StringUtil.EMPTY).replace("/", StringUtil.EMPTY);
                if (logger.isDebugEnabled()) {
                    logger.debug("Base: {} File: {} DocId: {}", b, s, id);
                }
                return id;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/lang/ClassLoaderUtilTest.java

            }
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetResources() throws Exception {
            final String name = TestCase.class.getName().replace('.', '/') + ".class";
            final Iterator<URL> itr = ClassLoaderUtil.getResources(this.getClass(), name);
            assertThat(itr, is(notNullValue()));
            final URL url = itr.next();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top