- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 869 for Uses (0.02 seconds)
-
guava/src/com/google/common/collect/SingletonImmutableSet.java
/** * Implementation of {@link ImmutableSet} with exactly one element. * * @author Kevin Bourrillion * @author Nick Kralevich */ @GwtCompatible @SuppressWarnings("serial") // uses writeReplace(), not default serialization final class SingletonImmutableSet<E> extends ImmutableSet<E> { // We deliberately avoid caching the asList and hashCode here, to ensure that withCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.4K bytes - Click Count (0) -
architecture/standards/0006-use-of-provider-apis-in-gradle.md
### Types of properties that should not use lazy types The guidelines below do not apply to all properties. There are cases where the lazy types should not be used: #### Non-calculated values These are inappropriate uses of lazy types: ```groovy class Example { Property<String> getSomeProperty() Example() { getSomeProperty().set("value") getSomeProperty().disallowChanges() } }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Oct 15 20:00:57 GMT 2024 - 10K bytes - Click Count (0) -
internal/http/close.go
if respBody != nil { // Drain any remaining Body and then close the connection. // Without this closing connection would disallow re-using // the same connection for future uses. // - http://stackoverflow.com/a/17961593/4465767 defer respBody.Close() xioutil.DiscardReader(respBody) }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 1.7K bytes - Click Count (0) -
src/test/java/jcifs/spnego/SpnegoTokenTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import java.io.IOException; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; /** * Tests for SpnegoToken. * Uses a minimal concrete subclass to exercise abstract methods. */ class SpnegoTokenTest { /** * Minimal concrete implementation for testing. * - parse: sets mechanismToken, throws on nullCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.6K bytes - Click Count (0) -
misc/ios/README
the go_ios_$GOARCH_exec wrapper is found. For example, to run the archive/tar tests: export PATH=$GOROOT/bin:$PATH GOOS=ios GOARCH=amd64 CGO_ENABLED=1 go test archive/tar The go_ios_exec wrapper uses GOARCH to select the emulator (amd64) or the device (arm64). However, further setup is required to run tests or programs directly on a device. First make sure you have a valid developer certificate and have setup your device properly
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Dec 29 21:49:26 GMT 2020 - 2.7K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/DecorateReleaseNotes.java
*/ @InputFile @PathSensitive(PathSensitivity.NONE) public abstract RegularFileProperty getBaseCssFile(); /** * Key-value pairs that are replaced in the generated HTML. * * This uses Ant style replacement tokens. */ @Input public abstract MapProperty<String, String> getReplacementTokens(); @Inject protected abstract FileSystemOperations getFs(); @TaskActionCreated: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Sep 28 06:35:15 GMT 2021 - 4.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/DescendingImmutableSortedMultiset.java
import org.jspecify.annotations.Nullable; /** * A descending wrapper around an {@code ImmutableSortedMultiset} * * @author Louis Wasserman */ @SuppressWarnings("serial") // uses writeReplace, not default serialization @GwtIncompatible final class DescendingImmutableSortedMultiset<E> extends ImmutableSortedMultiset<E> { private final transient ImmutableSortedMultiset<E> forward;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
SmbException ex = assertThrows(SmbException.class, handle::ensureOpen); assertTrue(ex.getMessage().contains("Pipe handle already closed")); } @Test @DisplayName("sendrecv uses SMB2 ioctl when tree is SMB2") void sendrecv_smb2_ioctl() throws Exception { // Arrange SmbPipeHandleImpl handle = newHandleWithBasicStubs(0, "\\\\pipe\\\\x");
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 16.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RegularImmutableList.java
import org.jspecify.annotations.Nullable; /** * Implementation of {@link ImmutableList} backed by a simple array. * * @author Kevin Bourrillion */ @GwtCompatible @SuppressWarnings("serial") // uses writeReplace(), not default serialization final class RegularImmutableList<E> extends ImmutableList<E> { static final ImmutableList<Object> EMPTY = new RegularImmutableList<>(new Object[0], 0);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.7K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/collect/ComparatorDelegationOverheadBenchmark.java
/** * A benchmark to determine the overhead of sorting with {@link Ordering#from(Comparator)}, or with * {@link Ordering#natural()}, as opposed to using the inlined {@link Arrays#sort(Object[])} * implementation, which uses {@link Comparable#compareTo} directly. * * @author Louis Wasserman */ @NullUnmarked public class ComparatorDelegationOverheadBenchmark { private final Integer[][] inputArrays = new Integer[0x100][];Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.6K bytes - Click Count (0)