- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 534 for behavior (0.23 seconds)
-
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) -
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) -
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) -
android/guava/src/com/google/common/base/Equivalence.java
* * <p><b>Warning: do not depend</b> on the behavior of this method. * * <p>Historically, {@code Equivalence} instances in this library have implemented this method to * recognize certain cases where distinct {@code Equivalence} instances would in fact behave * identically. However, as code migrates to {@code java.util.function}, that behavior will * disappear. It is best not to depend on it. */ @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jul 10 01:47:55 GMT 2025 - 14.5K bytes - Click Count (0) -
guava/src/com/google/common/base/Functions.java
* * <p><b>Warning:</b> as with all function types in this package, avoid depending on the specific * {@code equals}, {@code hashCode} or {@code toString} behavior of the returned function. A * future migration to {@code java.util.function} will not preserve this behavior. * * <p>As discussed above, prefer to use the method reference {@code Object::toString} instead,Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 15.4K bytes - Click Count (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/Typed.java
* <p> * When specified, only the listed types will be available for injection, * even if the class implements or extends other types. If empty, the * default behavior is to make all supertypes available for injection. * <p> * Example: * <pre> * {@literal @}Typed({Service.class, Monitored.class}) * public class ServiceImpl implements Service, Monitored, Logging {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jan 30 23:28:59 GMT 2025 - 2.5K bytes - Click Count (0) -
internal/ringbuffer/README.md
buf := make([]byte, 4) rb.Read(buf) fmt.Println(string(buf)) } ``` It is possible to use an existing buffer with by replacing `New` with `NewBuffer`. # Blocking vs Non-blocking The default behavior of the ring buffer is non-blocking, meaning that reads and writes will return immediately with an error if the operation cannot be completed. If you want to block when reading or writing, you must enable it: ```go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed May 15 00:11:04 GMT 2024 - 2.1K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ForwardingListeningExecutorService.java
import org.jspecify.annotations.Nullable; /** * A listening executor service which forwards all its method calls to another listening executor * service. Subclasses should override one or more methods to modify the behavior of the backing * executor service 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 - 2.2K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/ForwardingLoadingCache.java
import java.util.concurrent.ExecutionException; /** * A cache which forwards all its method calls to another cache. Subclasses should override one or * more methods to modify the behavior of the backing cache as desired per the <a * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. * * <p>Note that {@link #get}, {@link #getUnchecked}, and {@link #apply} all expose the same
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 2.9K bytes - Click Count (0) -
src/cmd/addr2line/main.go
fmt.Fprintf(w, "\tfile:line\n") } func usage() { printUsage(os.Stderr) os.Exit(2) } func main() { log.SetFlags(0) log.SetPrefix("addr2line: ") counter.Open() // pprof expects this behavior when checking for addr2line if len(os.Args) > 1 && os.Args[1] == "--help" { printUsage(os.Stdout) os.Exit(0) } flag.Usage = usage flag.Parse() counter.Inc("addr2line/invocations")
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Jun 21 19:58:04 GMT 2024 - 2.4K bytes - Click Count (0)