Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 1,913 for Booleans (0.08 sec)

  1. android/guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

        boolean dummy = false;
        for (int i = 0; i < reps; i++) {
          dummy ^= Ascii.equalsIgnoreCase(lhs, rhs);
        }
        return dummy;
      }
    
      @Benchmark
      boolean equalsIgnoreCaseJDK(int reps) {
        // This benchmark has no concept of "noWorkToDo".
        String lhs = testString;
        String rhs = testString.toUpperCase();
    
        boolean dummy = false;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java

      public boolean addAll(Collection<? extends E> c) {
        assertTrue(Thread.holdsLock(mutex));
        return super.addAll(c);
      }
    
      @Override
      public void clear() {
        assertTrue(Thread.holdsLock(mutex));
        super.clear();
      }
    
      @Override
      public boolean contains(@Nullable Object o) {
        assertTrue(Thread.holdsLock(mutex));
        return super.contains(o);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/filter/WebApiFilterTest.java

                }
    
                @Override
                public boolean isRequestedSessionIdValid() {
                    return false;
                }
    
                @Override
                public boolean isRequestedSessionIdFromCookie() {
                    return false;
                }
    
                @Override
                public boolean isRequestedSessionIdFromURL() {
                    return false;
                }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

            CACHE_SPEC.put(spec, cached);
            return cached;
        }
    
        private static Restriction parseRestriction(String spec) throws InvalidVersionSpecificationException {
            boolean lowerBoundInclusive = spec.startsWith("[");
            boolean upperBoundInclusive = spec.endsWith("]");
    
            String process = spec.substring(1, spec.length() - 1).trim();
    
            Restriction restriction;
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 19K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/MethodUtil.java

         * @return {@literal true} if the method is {@literal equals(Object)}
         */
        public static boolean isEqualsMethod(final Method method) {
            assertArgumentNotNull("method", method);
    
            return method != null && method.getName().equals("equals") && method.getReturnType() == boolean.class
                    && method.getParameterTypes().length == 1 && method.getParameterTypes()[0] == Object.class;
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/http/NtlmServlet.java

        private String domainController;
    
        /** Flag to enable load balancing across domain controllers */
        private boolean loadBalance;
    
        /** Flag to enable basic authentication */
        private boolean enableBasic;
    
        /** Flag to allow insecure basic authentication */
        private boolean insecureBasic;
    
        /** The authentication realm */
        private String realm;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (1)
  7. src/main/java/org/codelibs/core/sql/ResultSetUtil.java

         *
         * @param resultSet
         *            The result set. Must not be {@literal null}.
         * @return Whether the result set successfully moved to the next position.
         */
        public static boolean next(final ResultSet resultSet) {
            assertArgumentNotNull("resultSet", resultSet);
    
            try {
                return resultSet.next();
            } catch (final SQLException ex) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

        testThreshold(10, 100, false, false);
        testThreshold(100, 100, false, false);
        testThreshold(1000, 100, false, false);
      }
    
      private void testThreshold(
          int fileThreshold, int dataSize, boolean singleByte, boolean resetOnFinalize)
          throws IOException {
        byte[] data = newPreFilledByteArray(dataSize);
        FileBackedOutputStream out = new FileBackedOutputStream(fileThreshold, resetOnFinalize);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/BoundType.java

      OPEN(false),
      CLOSED(true);
    
      final boolean inclusive;
    
      BoundType(boolean inclusive) {
        this.inclusive = inclusive;
      }
    
      /** Returns the bound type corresponding to a boolean value for inclusivity. */
      static BoundType forBoolean(boolean inclusive) {
        return inclusive ? CLOSED : OPEN;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/convert/ShortConversionUtil.java

                    return Short.valueOf(new SimpleDateFormat(pattern).format(o));
                }
                return (short) ((java.util.Date) o).getTime();
            } else if (o instanceof Boolean) {
                return ((Boolean) o) ? (short) 1 : (short) 0;
            } else {
                return toShort(o.toString());
            }
        }
    
        private static Short toShort(final String s) {
            if (StringUtil.isEmpty(s)) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.8K bytes
    - Viewed (0)
Back to top