Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 554 for REPLACE (0.12 sec)

  1. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

            Object newValue = new Object();
            assertSame(entry.getValue(), cache.asMap().replace(entry.getKey(), newValue));
            assertTrue(cache.asMap().replace(entry.getKey(), newValue, entry.getValue()));
            Object newKey = new Object();
            assertNull(cache.asMap().replace(newKey, entry.getValue()));
            assertFalse(cache.asMap().replace(newKey, entry.getValue(), newValue));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. 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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/ResourceUtil.java

                if (replacement == null) {
                    replacement = matcher.group(1);
                }
                matcher.appendReplacement(tunedText, replacement.replace("\\", "\\\\").replace("$", "\\$"));
    
            }
            matcher.appendTail(tunedText);
            return tunedText.toString();
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 08:52:32 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

                    versions[version!!] = date
                }
            }
            return versions
        }
    
    
        private
        fun String.escape() = replace("<", "&lt;").replace(">", "&gt;")
    }
    
    
    private
    typealias Version = String
    
    
    private
    typealias IncubatingDescription = String
    
    
    private
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/io/ClassTraversalUtil.java

            for (final JarEntry entry : iterable(jarFile.entries())) {
                final String entryName = entry.getName().replace('\\', '/');
                if (entryName.startsWith(prefix) && entryName.endsWith(CLASS_SUFFIX)) {
                    final String className = entryName.substring(startPos, entryName.length() - CLASS_SUFFIX.length()).replace('/', '.');
                    final int pos = className.lastIndexOf('.');
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. .github/workflows/mint/minio-erasure.yaml

          - ./nginx-1-node.conf:/etc/nginx/nginx.conf:ro
        ports:
          - "9000:9000"
          - "9001:9001"
        depends_on:
          - minio1
    
    ## By default this config uses default local driver,
    ## For custom volumes replace with volume driver configuration.
    volumes:
      edata1-1:
      edata1-2:
      edata1-3:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Nov 03 21:18:18 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. misc/ios/clangwrap.sh

    # build for real iOS devices, change SDK to "iphoneos" and PLATFORM to "ios".
    # This uses the latest available iOS SDK, which is recommended. To select a
    # specific SDK, run 'xcodebuild -showsdks' to see the available SDKs and replace
    # iphonesimulator with one of them.
    
    SDK=iphonesimulator
    PLATFORM=ios-simulator
    
    if [ "$GOARCH" == "arm64" ]; then
    	CLANGARCH="arm64"
    else
    	CLANGARCH="x86_64"
    fi
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jun 18 16:32:49 UTC 2024
    - 724 bytes
    - Viewed (0)
  9. src/main/webapp/js/admin/plugins/form-validator/jquery.form-validator.min.js

    a.indexOf("-"))return!1;if(f.indexOf("range")>-1&&(d=parseFloat(f.substring(f.indexOf("[")+1,f.indexOf(";"))),e=parseFloat(f.substring(f.indexOf(";")+1,f.indexOf("]"))),h=!0),""!==i&&(j=!0),","===g){if(a.indexOf(".")>-1)return!1;a=a.replace(",",".")}if(""===a.replace(/[0-9-]/g,"")&&(!h||a>=d&&a<=e)&&(!j||a%i===0))return!0;if(f.indexOf("float")>-1&&null!==a.match(new RegExp("^([0-9-]+)\\.([0-9]+)$"))&&(!h||a>=d&&a<=e)&&(!j||a%i===0))return!0}return!1},errorMessage:"",errorMessageKey:"badInt"}),a....
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 32.8K bytes
    - Viewed (0)
  10. tests/test_jsonable_encoder.py

        class ModelWithCustomEncoder(BaseModel):
            dt_field: datetime
    
            @field_serializer("dt_field")
            def serialize_dt_field(self, dt):
                return dt.replace(microsecond=0, tzinfo=timezone.utc).isoformat()
    
        class ModelWithCustomEncoderSubclass(ModelWithCustomEncoder):
            pass
    
        model = ModelWithCustomEncoder(dt_field=datetime(2019, 1, 1, 8))
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top