Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 548 for avoided (0.04 sec)

  1. guava/src/com/google/common/eventbus/Dispatcher.java

              @Override
              protected Queue<Event> initialValue() {
                return Queues.newArrayDeque();
              }
            };
    
        /** Per-thread dispatch state, used to avoid reentrant event dispatching. */
        private final ThreadLocal<Boolean> dispatching =
            new ThreadLocal<Boolean>() {
              @Override
              protected Boolean initialValue() {
                return false;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  2. cmd/api-headers.go

    // time response is sent to the client.
    func mustGetRequestID(t time.Time) string {
    	return fmt.Sprintf("%X", t.UnixNano())
    }
    
    // setEventStreamHeaders to allow proxies to avoid buffering proxy responses
    func setEventStreamHeaders(w http.ResponseWriter) {
    	w.Header().Set(xhttp.ContentType, "text/event-stream")
    	w.Header().Set(xhttp.CacheControl, "no-cache") // nginx to turn off buffering
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 04:44:00 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. cmd/main.go

    	// Collection of minio commands currently supported in a trie tree.
    	commandsTree := trie.NewTrie()
    
    	// registerCommand registers a cli command.
    	registerCommand := func(command cli.Command) {
    		// avoid registering commands which are not being built (via
    		// go:build tags)
    		if command.Name == "" {
    			return
    		}
    		commands = append(commands, command)
    		commandsTree.Insert(command.Name)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 30 22:59:48 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingRequest.java

        @Override
        public DefaultModelBuildingRequest setSystemProperties(Properties systemProperties) {
            if (systemProperties != null) {
                this.systemProperties = new Properties();
                // avoid concurrent modification if someone else sets/removes an unrelated system property
                synchronized (systemProperties) {
                    this.systemProperties.putAll(systemProperties);
                }
            } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2));
    
        double[][] arrays = new double[arraysDim1][];
        // it's shared to avoid using too much memory in tests
        double[] sharedArray = new double[arraysDim2];
        Arrays.fill(arrays, sharedArray);
    
        try {
          Doubles.concat(arrays);
          fail();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  6. internal/event/target/mqtt.go

    }
    
    func (target *MQTTTarget) init() error {
    	return target.initOnce.Do(target.initMQTT)
    }
    
    func (target *MQTTTarget) initMQTT() error {
    	args := target.args
    
    	// Using hex here, to make sure we avoid 23
    	// character limit on client_id according to
    	// MQTT spec.
    	clientID := fmt.Sprintf("%x", time.Now().UnixNano())
    
    	options := mqtt.NewClientOptions().
    		SetClientID(clientID).
    		SetCleanSession(true).
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

        private final ClassRealm maven4ApiRealm;
    
        /**
         * Patterns of artifacts provided by maven core and exported via maven api realm. These artifacts are filtered from
         * plugin and build extensions realms to avoid presence of duplicate and possibly conflicting classes on classpath.
         */
        private final Set<String> providedArtifacts;
    
        private final Set<String> providedArtifactsV4;
    
        @Inject
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

      }
    
      /**
       * Returns a request that creates a TLS tunnel via an HTTP proxy. Everything in the tunnel request
       * is sent unencrypted to the proxy server, so tunnels include only the minimum set of headers.
       * This avoids sending potentially sensitive data like HTTP cookies to the proxy unencrypted.
       *
       * In order to support preemptive authentication we pass a fake "Auth Failed" response to the
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Request.kt

          apply {
            this.url = url
          }
    
        /**
         * Sets the URL target of this request.
         *
         * @throws IllegalArgumentException if [url] is not a valid HTTP or HTTPS URL. Avoid this
         *     exception by calling [HttpUrl.parse]; it returns null for invalid URLs.
         */
        open fun url(url: String): Builder {
          return url(canonicalUrl(url).toHttpUrl())
        }
    
        /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:17:44 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/xml/XmlEscapers.java

    import com.google.common.escape.Escaper;
    import com.google.common.escape.Escapers;
    
    /**
     * {@code Escaper} instances suitable for strings to be included in XML attribute values and
     * elements' text contents. When possible, avoid manual escaping by using templating systems and
     * high-level APIs that provide autoescaping. For example, consider <a
     * href="http://www.xom.nu/">XOM</a> or <a href="http://www.jdom.org/">JDOM</a>.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 6.5K bytes
    - Viewed (0)
Back to top