Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 530 for Behavior (0.08 seconds)

  1. guava/src/com/google/common/collect/Queues.java

            buffer.add(e);
            added++;
          }
        }
        return added;
      }
    
      /**
       * Drains the queue as {@linkplain #drain(BlockingQueue, Collection, int, Duration)}, but with a
       * different behavior in case it is interrupted while waiting. In that case, the operation will
       * continue as usual, and in the end the thread's interruption status will be set (no {@code
       * InterruptedException} is thrown).
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Nov 04 17:24:58 GMT 2025
    - 18K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ForwardingSetMultimap.java

    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A set multimap which forwards all its method calls to another set multimap. Subclasses should
     * override one or more methods to modify the behavior of the backing multimap as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>{@code default} method warning:</b> This class does <i>not</i> forward calls to {@code
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ForwardingConcurrentMap.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A concurrent map which forwards all its method calls to another concurrent map. Subclasses should
     * override one or more methods to modify the behavior of the backing map as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>{@code default} method warning:</b> This class forwards calls to <i>only some</i> {@code
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Feb 18 16:58:16 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/ForwardingBlockingQueue.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link BlockingQueue} which forwards all its method calls to another {@link BlockingQueue}.
     * Subclasses should override one or more methods to modify the behavior of the backing collection
     * as desired per the <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator
     * pattern</a>.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3K bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategyTest.java

                        null // --model
                        ));
    
                // Should apply default behavior when all options are explicitly disabled
                assertTrue(
                        strategy.isApplicable(context),
                        "Strategy should apply default behavior when all options are disabled");
            }
        }
    
        @Nested
        @DisplayName("Duplicate Dependency Fixes")
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  6. guava/src/com/google/common/base/Stopwatch.java

     * #createStarted(Ticker)} to supply a fake or mock ticker. This allows you to simulate any valid
     * behavior of the stopwatch.
     *
     * <p><b>Note:</b> This class is not thread-safe.
     *
     * <p><b>Warning for Android users:</b> a stopwatch with default behavior may not continue to keep
     * time while the device is asleep. Instead, create one like this:
     *
     * {@snippet :
     * Stopwatch.createStarted(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 08 18:55:33 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java

            boolean useAll = options.all().orElse(false);
            if (useAll) {
                return true;
            }
    
            // Apply default behavior: if no specific options are provided, enable --model
            // OR if all options are explicitly disabled, still apply default behavior
            boolean noOptionsSpecified = options.all().isEmpty()
                    && options.infer().isEmpty()
                    && options.model().isEmpty()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  8. internal/s3select/sql/aggregation.go

    		// updated.
    		return nil
    	}
    
    	argVal := val
    	if funcName != aggFnCount {
    		// All aggregation functions, except COUNT require a
    		// numeric argument.
    
    		// Here, we diverge from Amazon S3 behavior by
    		// inferring untyped values are numbers.
    		if !argVal.isNumeric() {
    			if i, ok := argVal.bytesToInt(); ok {
    				argVal.setInt(i)
    			} else if f, ok := argVal.bytesToFloat(); ok {
    				argVal.setFloat(f)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 7.9K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

        }
    
        /**
         * Parameterized version of testActivatedDefaultProfileBySource that demonstrates
         * cross-platform path behavior using JIMFS to simulate both Windows and Unix file systems.
         * This test shows how the path separator expectations differ between platforms.
         */
        @ParameterizedTest(name = "testActivatedDefaultProfileBySource[{0}]")
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/io/CountingOutputStream.java

        count += len;
      }
    
      @Override
      public void write(int b) throws IOException {
        out.write(b);
        count++;
      }
    
      // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior:
      // it silently ignores any exception thrown by flush(). Instead, just close the delegate stream.
      // It should flush itself if necessary.
      @Override
      public void close() throws IOException {
        out.close();
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.9K bytes
    - Click Count (0)
Back to Top