Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 2,073 for Rust (1.67 sec)

  1. android/guava/src/com/google/common/primitives/Booleans.java

        }
        return result;
      }
    
      private static int checkNoOverflow(long result) {
        checkArgument(
            result == (int) result,
            "the total number of elements (%s) in the arrays must fit in an int",
            result);
        return (int) result;
      }
    
      /**
       * Returns an array containing the same values as {@code array}, but guaranteed to be of a
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 15:01:23 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

      /**
       * Utility for remove and iterator.remove: Delete item at position i. Call only when occupying
       * monitor.
       */
      void removeAt(int i) {
        E[] items = this.items;
        // if removing front item, just advance
        if (i == takeIndex) {
          items[takeIndex] = null;
          takeIndex = inc(takeIndex);
        } else {
          // slide over all others up through putIndex.
          for (; ; ) {
            int nexti = inc(i);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/Booleans.java

        }
        return result;
      }
    
      private static int checkNoOverflow(long result) {
        checkArgument(
            result == (int) result,
            "the total number of elements (%s) in the arrays must fit in an int",
            result);
        return (int) result;
      }
    
      /**
       * Returns an array containing the same values as {@code array}, but guaranteed to be of a
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 15:01:23 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/sql/PreparedStatementUtil.java

        /**
         * Do not instantiate.
         */
        protected PreparedStatementUtil() {
        }
    
        /**
         * Executes the query.
         *
         * @param ps
         *            {@link PreparedStatement}. Must not be {@literal null}.
         * @return {@link ResultSet}
         * @throws SQLRuntimeException
         *             If a {@link SQLException} occurs.
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/misc/AssertionUtil.java

         */
        protected AssertionUtil() {
        }
    
        /**
         * Asserts that the argument is not <code>null</code>.
         *
         * @param argName
         *            The name of the argument that must not be {@code null}.
         * @param argValue
         *            The value of the argument.
         * @throws NullArgumentException
         *             If the argument is <code>null</code>.
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/ClassUtil.java

        }
    
        /**
         * Returns whether the class can be assigned from another class.
         *
         * @param toClass
         *            The target class. Must not be {@literal null}.
         * @param fromClass
         *            The source class. Must not be {@literal null}.
         * @return Whether assignment is possible.
         * @see Class#isAssignableFrom(Class)
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/math/PairedStats.java

       *
       * <ul>
       *   <li>Both {@code xStats} and {@code yStats} must have the same {@code count}.
       *   <li>If that {@code count} is 1, {@code sumOfProductsOfDeltas} must be exactly 0.0.
       *   <li>If that {@code count} is more than 1, {@code sumOfProductsOfDeltas} must be finite.
       * </ul>
       */
      PairedStats(Stats xStats, Stats yStats, double sumOfProductsOfDeltas) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/sql/DriverManagerUtil.java

         */
        public static void registerDriver(final Class<Driver> driverClass) {
            assertArgumentNotNull("driverClass", driverClass);
            registerDriver(ClassUtil.newInstance(driverClass));
        }
    
        /**
         * Registers a JDBC driver.
         *
         * @param driver
         *            The JDBC driver to register. Must not be {@literal null}.
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManager.java

         * <code>maven-toolchains-plugin</code> contains the configuration to select the appropriate
         * toolchain and is executed at the beginning of the build.
         *
         * @param type the type, must not be {@code null}
         * @param context the Maven session, must not be {@code null}
         * @return the toolchain selected by <code>maven-toolchains-plugin</code>
         */
        Toolchain getToolchainFromBuildContext(String type, MavenSession context);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Feb 12 13:13:28 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

            NtlmMessage.writeSecurityBuffer(dest, 0, 8, payload);
            assertEquals(3, NtlmMessage.readUShort(dest, 0), "Length field must be 3");
            assertEquals(3, NtlmMessage.readUShort(dest, 2), "Length field must be 3 again");
            assertEquals(8, NtlmMessage.readULong(dest, 4), "Offset must point to payload start");
            byte[] actualPayload = new byte[payload.length];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top