Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 522 for realice (0.06 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/match/ReplaceKeyInMatch.java

    import com.fasterxml.jackson.databind.node.ObjectNode;
    import org.elasticsearch.gradle.internal.test.rest.transform.ReplaceByKey;
    import org.gradle.api.tasks.Internal;
    
    /**
     * A transformation to replace the key in a match. For example, change from "match":{"index._type": "foo"} to "match":{"index._doc": "foo"}
     */
    public class ReplaceKeyInMatch extends ReplaceByKey {
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.4K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Encrypt.java

            super(messageBuilderFactory, secDispatcher);
        }
    
        @Override
        protected int doExecute(EncryptContext context) throws Exception {
            String cleartext = context.reader.readLine("Enter the password to encrypt: ", '*');
            context.terminal.writer().println(secDispatcher.encrypt(cleartext, null));
            return OK;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 17 09:50:45 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/MoreCollectors.java

        }
    
        void add(T 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 {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 18 16:22:33 GMT 2026
    - 6.1K bytes
    - Click Count (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("/")) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8K bytes
    - Click Count (0)
  5. 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);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * granted only 100ms ago, then we wait for another 100ms. At this rate, serving 15 fresh permits
       * (i.e. for an acquire(15) request) naturally takes 3 seconds.
       *
       * It is important to realize that such a RateLimiter has a very superficial memory of the past:
       * it only remembers the last request. What if the RateLimiter was unused for a long period of
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  7. internal/grid/grid.go

    	return func(ctx context.Context, remote string) (net.Conn, error) {
    		toDial := strings.Replace(remote, "http://", "ws://", 1)
    		toDial = strings.Replace(toDial, "https://", "wss://", 1)
    		toDial += routePath
    
    		dialer := ws.DefaultDialer
    		dialer.ReadBufferSize = readBufferSize
    		dialer.WriteBufferSize = writeBufferSize
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 7K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/ErrorReportingTestListener.java

                            try (BufferedReader reader = eventWriter.reader()) {
                                PrintStream out = System.out;
                                for (String message = reader.readLine(); message != null; message = reader.readLine()) {
                                    if (message.startsWith("  1> ")) {
                                        out = System.out;
                                    } else if (message.startsWith("  2> ")) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 10.7K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

         *     exception by calling [HttpUrl.parse]; it returns null for invalid URLs.
         */
        open fun url(url: String): Builder = url(canonicalUrl(url).toHttpUrl())
    
        // Silently replace web socket URLs with HTTP URLs.
        private fun canonicalUrl(url: String) =
          when {
            url.startsWith("ws:", ignoreCase = true) -> "http:${url.substring(3)}"
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 13:46:58 GMT 2025
    - 14.7K bytes
    - Click Count (1)
  10. src/main/webapp/js/admin/plugins/form-validator/uk.js

    b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){"use strict";a.formUtils.registerLoadedModule("uk"),a.formUtils.addValidator({name:"ukvatnumber",validatorFunction:function(a){if(a=a.replace(/[^0-9]/g,""),a.length<9)return!1;var b=!1,c=[];c=a.split("");var d=Number(c[7]+c[8]),e=c[0],f=c[1];if(0===e&&f>0)return!1;for(var g=0,h=0;h<7;h++)g+=c[h]*(8-h);for(var i=0,j=0,k=8;k>=2;k--)i+=c[j]*k,j++;for(;g>0;)g-=97;return g=Math.abs(g),d===g...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 01 05:12:47 GMT 2018
    - 1.4K bytes
    - Click Count (0)
Back to Top