Search Options

Results per page
Sort
Preferred Languages
Advance

Results 841 - 850 of 1,513 for mustBe (0.05 sec)

  1. guava/src/com/google/common/primitives/Shorts.java

       * @throws IllegalArgumentException if {@code min > max}
       * @since 21.0
       */
      public static short constrainToRange(short value, short min, short max) {
        checkArgument(min <= max, "min (%s) must be less than or equal to max (%s)", min, max);
        return value < min ? min : value < max ? value : max;
      }
    
      /**
       * Returns the values from each provided array combined into a single array. For example, {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/Network.java

       * edges}, the resulting set will contain at most one edge (equivalent to {@code
       * edgeConnecting(endpoints).asSet()}).
       *
       * <p>If this network is directed, {@code endpoints} must be ordered.
       *
       * <p>If either element of {@code endpoints} is removed from the network after this method is
       * called, the {@code Set} {@code view} returned by this method will be invalidated, and will
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/MapMakerInternalMap.java

         * read operations anyway:
         *
         * - All (unsynchronized) read operations must first read the "count" field, and should not
         * look at table entries if it is 0.
         *
         * - All (synchronized) write operations should write to the "count" field after structurally
         * changing any bin. The operations must not take any action that could even momentarily
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

     * {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/GraphMutationTest.java

    public final class GraphMutationTest {
      private static final int NUM_TRIALS = 50;
      private static final int NUM_NODES = 100;
      private static final int NUM_EDGES = 1000;
      private static final int NODE_POOL_SIZE = 1000; // must be >> NUM_NODES
    
      @Test
      public void directedGraph() {
        testGraphMutation(GraphBuilder.directed());
      }
    
      @Test
      public void undirectedGraph() {
        testGraphMutation(GraphBuilder.undirected());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 18 16:17:46 UTC 2017
    - 4.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferralResponse.java

            pathConsumed = readInt2( buffer, bufferIndex );
            bufferIndex += 2;
                /* Samba 2.2.8a will reply with Unicode paths even though
                 * ASCII is negotiated so we must use flags2 (probably
                 * should anyway).
                 */
            if((flags2 & FLAGS2_UNICODE) != 0) {
                pathConsumed /= 2;
            }
            numReferrals = readInt2( buffer, bufferIndex );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5K bytes
    - Viewed (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java

                    Files.isRegularFile(Paths.get(System.getProperty("maven.home"))
                            .resolve("conf")
                            .resolve("maven.properties")),
                    "${maven.home}/conf/maven.properties must be a file");
    
            Files.createDirectory(cwd.resolve(".mvn"));
    
            String pomString =
                    """
                        <?xml version="1.0" encoding="UTF-8"?>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. cmd/metacache-server-pool.go

    	// as '/' we don't have any entries, since all the keys are
    	// of form 'keyName/...'
    	if strings.HasPrefix(o.Prefix, SlashSeparator) {
    		return entries, io.EOF
    	}
    
    	// If delimiter is slashSeparator we must return directories of
    	// the non-recursive scan unless explicitly requested.
    	o.IncludeDirectories = o.Separator == slashSeparator
    	if (o.Separator == slashSeparator || o.Separator == "") && !o.Recursive {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Sets.java

       * collection. If the collection is an {@link EnumSet}, this method has the same behavior as
       * {@link EnumSet#complementOf}. Otherwise, the specified collection must contain at least one
       * element, in order to determine the element type. If the collection could be empty, use {@link
       * #complementOf(Collection, Class)} instead of this method.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/InetAddresses.java

          } else if (c == ':') {
            if (hasDot) {
              return null; // Colons must not appear after dots.
            }
            hasColon = true;
          } else if (c == '%') {
            percentIndex = i;
            break;
          } else if (Character.digit(c, 16) == -1) {
            return null; // Everything else must be a decimal or hex digit.
          }
        }
    
        // Now decide which address family to parse.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
Back to top