- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 1,826 for We (0.01 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java
* * @author Chris Povirk * @author Kevin Bourrillion */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class CollectionAddAllTester<E extends @Nullable Object>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/GzipRequestBody.kt
import okio.BufferedSink import okio.GzipSink import okio.buffer internal class GzipRequestBody( val delegate: RequestBody, ) : RequestBody() { override fun contentType() = delegate.contentType() // We don't know the compressed length in advance! override fun contentLength() = -1L override fun writeTo(sink: BufferedSink) { GzipSink(sink).buffer().use(delegate::writeTo) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 04 17:43:43 UTC 2025 - 1.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/DerivedComparable.java
import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; /** * Simple derived class to verify that we handle generics correctly. * * @author Kevin Bourrillion */ @GwtCompatible public class DerivedComparable extends BaseComparable { public DerivedComparable(String s) { super(s); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 1.1K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Internal.java
* {@link Long#MAX_VALUE} or {@link Long#MIN_VALUE}. This behavior can be useful when decomposing * a duration in order to call a legacy API which requires a {@code long, TimeUnit} pair. */ // We use this method only for cases in which we need to decompose to primitives. @SuppressWarnings({"GoodTime-ApiWithNumericTimeUnit", "GoodTime-DecomposeToPrimitive"}) @IgnoreJRERequirement static long toNanosSaturated(Duration duration) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 15:16:19 UTC 2025 - 1.9K bytes - Viewed (0) -
guava-gwt/test/com/google/common/collect/testing/Testing.gwt.xml
<module> <source path=""> <!-- Hack to keep collect from hiding collect.testing supersource: --> <exclude name="**/testing/**"/> </source> <!-- We used to set this only for packages that had manual supersource. That worked everywhere that I know of except for one place: when running the GWT util.concurrent tests under Guava. The problem is that GWT responds poorly to two .gwt.xml files in the same Java package; see
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 19 16:02:36 UTC 2024 - 1.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LongAdderTest.java
public class LongAdderTest extends TestCase { /** * No-op null-pointer test for {@link LongAdder} to override the {@link PackageSanityTests} * version, which checks package-private methods that we don't want to have to annotate as {@code * Nullable} because we don't want diffs from jsr166e. */ public void testNulls() {} public void testOverflows() { LongAdder longAdder = new LongAdder(); longAdder.add(Long.MAX_VALUE);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.5K bytes - Viewed (0) -
.teamcity/scripts/configure_build_env_on_ec2.sh
# https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html # In case of running on EC2 # - we add a TeamCity tag to the build with an instance type of the EC2 instance. # - we set GRADLE_RO_DEP_CACHE to '/opt/gradle-cache' if the folder exists. curl -m 1 -s "http://169.254.169.254/latest/meta-data/instance-id" IS_EC2_INSTANCE=$?
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Wed Aug 27 08:28:30 UTC 2025 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeRangeSet.java
if (rangeBelowLb.upperBound.compareTo(lbToAdd) >= 0) { // { < }, and we will need to coalesce if (rangeBelowLb.upperBound.compareTo(ubToAdd) >= 0) { // { < > } ubToAdd = rangeBelowLb.upperBound; /* * TODO(cpovirk): can we just "return;" here? Or, can we remove this if() entirely? If * not, add tests to demonstrate the problem with each approach
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 32.3K bytes - Viewed (0) -
src/archive/zip/reader_test.go
Name: "世界", Content: []byte{}, Mode: 0644, // Name is valid UTF-8, but format does not have UTF-8 flag set. // We don't do UTF-8 detection for multi-byte runes due to // false-positives with other encodings (e.g., Shift-JIS). // Format says encoding is not UTF-8, so we trust it. NonUTF8: true, Modified: time.Date(2017, 11, 6, 13, 9, 27, 0, timeZone(-8*time.Hour)), }, }, }, {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Mar 11 22:19:38 UTC 2025 - 56.6K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
/* * Java cannot determine the localhost. This is basically a config * issue on the host. There's not much we can do about it. Just * to suppress NPEs that would result we can create a possibly bogus * address. Pretty sure the below cannot actually thrown a UHE tho. */ try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 38.5K bytes - Viewed (0)