Search Options

Results per page
Sort
Preferred Languages
Advance

Results 981 - 990 of 1,526 for expected (0.09 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

      public void testContainsAll_sameComparator_stringVsInt() {
        SortedSet<String> set = of("a", "b", "f");
        SortedSet<Integer> unexpected = Sets.newTreeSet(Ordering.natural());
        unexpected.addAll(asList(1, 2, 3));
        assertFalse(set.containsAll(unexpected));
      }
    
      public void testContainsAll_differentComparator() {
        Comparator<Comparable<?>> comparator = Collections.reverseOrder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  2. internal/grid/muxclient.go

    	}
    }
    
    // checkSeq will check if sequence number is correct and increment it by 1.
    func (m *muxClient) checkSeq(seq uint32) (ok bool) {
    	if seq != m.RecvSeq {
    		if debugPrint {
    			fmt.Printf("MuxID: %d client, expected sequence %d, got %d\n", m.MuxID, m.RecvSeq, seq)
    		}
    		m.addResponse(Response{Err: ErrIncorrectSequence})
    		return false
    	}
    	m.RecvSeq++
    	return true
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

          apply {
            val encoded =
              host.percentDecode().toCanonicalHost()
                ?: throw IllegalArgumentException("unexpected host: $host")
            this.host = encoded
          }
    
        fun port(port: Int) =
          apply {
            require(port in 1..65535) { "unexpected port: $port" }
            this.port = port
          }
    
        fun addPathSegment(pathSegment: String) =
          apply {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  4. lib/wasm/wasm_exec.js

    						console.log(value);
    					},
    				}
    			};
    		}
    
    		async run(instance) {
    			if (!(instance instanceof WebAssembly.Instance)) {
    				throw new Error("Go.run: WebAssembly.Instance expected");
    			}
    			this._inst = instance;
    			this.mem = new DataView(this._inst.exports.mem.buffer);
    			this._values = [ // JS values that Go currently has references to, indexed by reference id
    				NaN,
    				0,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Aug 30 19:15:21 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  5. cmd/metrics-resource.go

    					perc = math.Round(ls.Load15*100*100/float64(hm.CPU.CPUCount)) / 100
    					updateResourceMetrics(cpuSubsystem, cpuLoad15Perc, perc, labels, false)
    				}
    			}
    		}
    		break // only one host expected
    	}
    
    	collectDriveMetrics(m)
    }
    
    func initLatestValues() {
    	m := collectLocalMetrics(madmin.MetricsDisk, collectMetricsOpts{})
    	latestDriveStatsMu.Lock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 23:30:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                    send(request, response, config.getNetbiosRetryTimeout());
                }
                catch ( InterruptedIOException ioe ) {
                    // second query thread to finish gets interrupted so this is expected
                    if ( log.isTraceEnabled() ) {
                        log.trace("Failed to send nameservice request for " + name.name, ioe);
                    }
                    throw new UnknownHostException(name.name);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/query-params-str-validations.md

    The **default** value of the **function parameter** is the **actual default** value, that's more intuitive with Python in general. 😌
    
    You could **call** that same function in **other places** without FastAPI, and it would **work as expected**. If there's a **required** parameter (without a default value), your **editor** will let you know with an error, **Python** will also complain if you run it without passing the required parameter.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/LinkedListMultimap.java

      }
    
      /**
       * Constructs an empty {@code LinkedListMultimap} with enough capacity to hold the specified
       * number of keys without rehashing.
       *
       * @param expectedKeys the expected number of distinct keys
       * @throws IllegalArgumentException if {@code expectedKeys} is negative
       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/CharSource.java

     *       and operations that read from the stream (including {@link #length()}, in some
     *       implementations) will prevent further operations from completing as expected.
     * </ul>
     *
     * @since 14.0
     * @author Colin Decker
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public abstract class CharSource {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableListMultimap.java

       * Builder} constructor.
       */
      public static <K, V> Builder<K, V> builder() {
        return new Builder<>();
      }
    
      /**
       * Returns a new builder with a hint for how many distinct keys are expected to be added. The
       * generated builder is equivalent to that returned by {@link #builder}, but may perform better if
       * {@code expectedKeys} is a good estimate.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 20:20:32 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top