Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1371 - 1380 of 2,451 for Booleans (0.06 seconds)

  1. android/guava/src/com/google/common/collect/AbstractListMultimap.java

       *
       * @param key key to store in the multimap
       * @param value value to store in the multimap
       * @return {@code true} always
       */
      @CanIgnoreReturnValue
      @Override
      public boolean put(@ParametricNullness K key, @ParametricNullness V value) {
        return super.put(key, value);
      }
    
      /**
       * {@inheritDoc}
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Apr 12 15:07:59 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

        // TODO(cpovirk): Test forwarding more extensively.
      }
    
      public void testAddCallback() {
        FluentFuture<String> f = FluentFuture.from(immediateFuture("a"));
        boolean[] called = new boolean[1];
        f.addCallback(
            new FutureCallback<String>() {
              @Override
              public void onSuccess(String result) {
                called[0] = true;
              }
    
              @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  3. guava/src/com/google/common/eventbus/Subscriber.java

      }
    
      @Override
      public final int hashCode() {
        return (31 + method.hashCode()) * 31 + System.identityHashCode(target);
      }
    
      @Override
      public final boolean equals(@Nullable Object obj) {
        if (obj instanceof Subscriber) {
          Subscriber that = (Subscriber) obj;
          // Use == so that different equal instances will still receive events.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  4. .teamcity/src/main/kotlin/configurations/StageTriggers.kt

        listOf(DEPENDABOT_BRANCH_PATTERN).joinToString("\n") { "-:$it" } + "\n" + branches.joinToString("\n") { "+:$it" }
    
    fun Triggers.vcsTrigger(
        branchPatterns: List<String>,
        enable: Boolean = true,
    ) {
        vcs {
            quietPeriodMode = VcsTrigger.QuietPeriodMode.USE_CUSTOM
            quietPeriod = 90
            triggerRules = triggerExcludes
            branchFilter = determineBranchFilter(branchPatterns)
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 12:17:39 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

        checkNotNull(toKey);
        checkArgument(comparator.compare(fromKey, toKey) <= 0);
        return newView(sortedDelegate.subMap(fromKey, toKey));
      }
    
      ImmutableSortedMap<K, V> subMap(K fromKey, boolean fromInclusive, K toKey, boolean toInclusive) {
        checkNotNull(fromKey);
        checkNotNull(toKey);
        checkArgument(comparator.compare(fromKey, toKey) <= 0);
        return tailMap(fromKey, fromInclusive).headMap(toKey, toInclusive);
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 16.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

         */
        static class TestCreateContextRequest implements CreateContextRequest {
            private byte[] name;
            private byte[] data;
            private int encodedSize;
            private boolean throwOnEncode = false;
            private boolean throwOnSize = false;
            private int sizeCallCount = 0;
            private int encodeCallCount = 0;
    
            public TestCreateContextRequest(byte[] name) {
                this.name = name;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            // Test thread safety - multiple threads accessing the same response
            final int THREAD_COUNT = 10;
            Thread[] threads = new Thread[THREAD_COUNT];
            final boolean[] success = new boolean[THREAD_COUNT];
    
            for (int i = 0; i < THREAD_COUNT; i++) {
                final int index = i;
                threads[i] = new Thread(() -> {
                    try {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/Config.java

        }
    
        /**
         * Retrieve a boolean value. If the property is not found, the value of <code>def</code> is returned.
         *
         * @param key the property key to look up
         * @param def the default value to return if the property is not found
         * @return the property value as a boolean, or the default value
         */
    
        public static boolean getBoolean(final String key, boolean def) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  9. compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java

         *
         * @param target
         * @param sourceDominant
         * @param source
         * @return InputLocation
         */
        public static InputLocation merge(InputLocation target, InputLocation source, boolean sourceDominant) {
            if (source == null) {
                return target;
            } else if (target == null) {
                return source;
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

        Reader r = new StringReader(text);
        LineProcessor<Integer> alwaysFalse =
            new LineProcessor<Integer>() {
              int seen;
    
              @Override
              public boolean processLine(String line) {
                seen++;
                return false;
              }
    
              @Override
              public Integer getResult() {
                return seen;
              }
            };
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 11.3K bytes
    - Click Count (0)
Back to Top