Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 2,158 for Boolean (0.11 sec)

  1. guava-tests/test/com/google/common/io/CloseablesTest.java

      // exception.
      private void setupCloseable(boolean shouldThrow) throws IOException {
        mockCloseable = mock(Closeable.class);
        if (shouldThrow) {
          doThrow(new IOException("This should only appear in the logs. It should not be rethrown."))
              .when(mockCloseable)
              .close();
        }
      }
    
      private void doClose(Closeable closeable, boolean swallowException) throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractBehavior.java

            }
    
            public boolean add(final E e) {
                return parent.add(e);
            }
    
            public boolean remove(final Object o) {
                return parent.remove(o);
            }
    
            public boolean containsAll(final Collection<?> c) {
                return parent.containsAll(c);
            }
    
            public boolean addAll(final Collection<? extends E> c) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportImpl.java

            }
        }
    
    
        protected synchronized void doDisconnect ( boolean hard ) throws IOException {
            doDisconnect(hard, false);
        }
    
    
        @Override
        protected synchronized boolean doDisconnect ( boolean hard, boolean inUse ) throws IOException {
            ListIterator<SmbSessionImpl> iter = this.sessions.listIterator();
            boolean wasInUse = false;
            long l = getUsageCount();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/collect/ImmutableSetHashFloodingDetectionBenchmark.java

          }
        }
      }
    
      enum Impl {
        EXHAUSTIVE {
          int maxRunBeforeFallback(int tableSize) {
            return 12 * IntMath.log2(tableSize, RoundingMode.UNNECESSARY);
          }
    
          @Override
          boolean hashFloodingDetected(Object[] hashTable) {
            int maxRunBeforeFallback = maxRunBeforeFallback(hashTable.length);
    
            // Test for a run wrapping around the end of the table, then check for runs in the middle.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 03 20:16:35 UTC 2021
    - 6.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SSPContext.java

    
        /**
         * @param mechanism
         * @return whether the specified mechanism is supported
         */
        boolean isSupported ( ASN1ObjectIdentifier mechanism );
    
    
        /**
         * @param selectedMech
         * @return whether the specified mechanism is preferred
         */
        boolean isPreferredMech ( ASN1ObjectIdentifier selectedMech );
    
    
        /**
         * @return context flags
         */
        int getFlags ();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java

        }
    
        @Override
        public boolean presentInConfig(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) {
            Activation activation = profile.getActivation();
    
            if (activation == null) {
                return false;
            }
    
            String jdk = activation.getJdk();
    
            return jdk != null;
        }
    
        private static boolean isInRange(String value, List<RangeValue> range) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/CommonsCliEncryptOptions.java

            }
        }
    
        @Override
        public Optional<Boolean> force() {
            if (commandLine.hasOption(CLIManager.FORCE)) {
                return Optional.of(Boolean.TRUE);
            }
            return Optional.empty();
        }
    
        @Override
        public Optional<Boolean> yes() {
            if (commandLine.hasOption(CLIManager.YES)) {
                return Optional.of(Boolean.TRUE);
            }
            return Optional.empty();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocScanner.java

            return input.substring(pos);
        }
    
        public boolean isEmpty() {
            return pos == input.length();
        }
    
        public void mark() {
            markPos = pos;
        }
    
        public void next() {
            next(1);
        }
    
        public void next(int n) {
            pos += n;
        }
    
        public boolean lookingAt(char c) {
            return input.charAt(pos) == c;
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.3K bytes
    - Viewed (0)
  9. okcurl/src/main/kotlin/okhttp3/curl/logging/LoggingUtil.kt

    import okhttp3.internal.http2.Http2
    
    class LoggingUtil {
      companion object {
        private val activeLoggers = mutableListOf<Logger>()
    
        fun configureLogging(
          debug: Boolean,
          showHttp2Frames: Boolean,
          sslDebug: Boolean,
        ) {
          if (debug || showHttp2Frames || sslDebug) {
            if (sslDebug) {
              System.setProperty("javax.net.debug", "")
            }
            LogManager.getLogManager().reset()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableAsList.java

      @Override
      public boolean contains(@CheckForNull Object target) {
        // The collection's contains() is at least as fast as ImmutableList's
        // and is often faster.
        return delegateCollection().contains(target);
      }
    
      @Override
      public int size() {
        return delegateCollection().size();
      }
    
      @Override
      public boolean isEmpty() {
        return delegateCollection().isEmpty();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top