- Sort Score
- Result 10 results
- Languages All
Results 1411 - 1420 of 3,853 for Hint (0.05 sec)
-
android/guava/src/com/google/common/collect/Multiset.java
* zero instead. */ @CanIgnoreReturnValue int setCount(@ParametricNullness E element, int count); /** * Conditionally sets the count of an element to a new value, as described in {@link * #setCount(Object, int)}, provided that the element has the expected current count. If the * current count is not {@code oldCount}, no change is made. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Jun 17 14:40:53 UTC 2023 - 19.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionSetFilter.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PostStreaming.java
sink.writeUtf8("Numbers\n"); sink.writeUtf8("-------\n"); for (int i = 2; i <= 997; i++) { sink.writeUtf8(String.format(" * %s = %s\n", i, factor(i))); } } private String factor(int n) { for (int i = 2; i < n; i++) { int x = n / i; if (x * i == n) return factor(x) + " × " + i; } return Integer.toString(n);
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Jul 06 03:18:15 UTC 2018 - 2.1K bytes - Viewed (0) -
internal/config/storageclass/storage-class_test.go
t.Errorf("Test %d, Expected `%v`, got `%v`", i+1, tt.expectedError, err) } } } func TestValidateParity(t *testing.T) { tests := []struct { rrsParity int ssParity int success bool setDriveCount int }{ {2, 4, true, 16}, {3, 3, true, 16}, {0, 0, true, 16}, {1, 4, true, 16}, {0, 4, true, 16}, {7, 6, false, 16}, {9, 0, false, 16},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 15 23:04:20 UTC 2023 - 4.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt
duration: Long, unit: TimeUnit, ): Int { check(duration >= 0L) { "$name < 0" } val millis = unit.toMillis(duration) require(millis <= Integer.MAX_VALUE) { "$name too large" } require(millis != 0L || duration <= 0L) { "$name too small" } return millis.toInt() } internal fun checkDuration( name: String, duration: Duration, ): Int { check(!duration.isNegative()) { "$name < 0" }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon May 13 13:42:37 UTC 2024 - 10.7K bytes - Viewed (0) -
src/bytes/reader_test.go
package bytes_test import ( . "bytes" "fmt" "io" "sync" "testing" ) func TestReader(t *testing.T) { r := NewReader([]byte("0123456789")) tests := []struct { off int64 seek int n int want string wantpos int64 readerr error seekerr string }{ {seek: io.SeekStart, off: 0, n: 20, want: "0123456789"}, {seek: io.SeekStart, off: 1, n: 1, want: "1"},
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/AndArtifactFilter.java
filters.add(artifactFilter); } public List<ArtifactFilter> getFilters() { return new ArrayList<>(filters); } @Override public int hashCode() { int hash = 17; hash = hash * 31 + filters.hashCode(); return hash; } @Override public boolean equals(Object obj) { if (this == obj) { return true;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
} } SmbFileHandleImpl openUnshared ( int flags, int access, int sharing, int attrs, int options ) throws CIFSException { return openUnshared(getUncPath(), flags, access, sharing, attrs, options); } SmbFileHandleImpl openUnshared ( String uncPath, int flags, int access, int sharing, int attrs, int options ) throws CIFSException { SmbFileHandleImpl fh = null;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu May 23 01:50:13 UTC 2024 - 82.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/BufferCache.java
public class BufferCache { private static final int MAX_BUFFERS = Config.getInt( "jcifs.smb1.smb.maxBuffers", 16 ); static Object[] cache = new Object[MAX_BUFFERS]; private static int freeBuffers = 0; static public byte[] getBuffer() { synchronized( cache ) { byte[] buf; if (freeBuffers > 0) { for (int i = 0; i < MAX_BUFFERS; i++) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 2.2K bytes - Viewed (0) -
guava/src/com/google/common/base/JdkPattern.java
} @Override public boolean find(int index) { return matcher.find(index); } @Override public String replaceAll(String replacement) { return matcher.replaceAll(replacement); } @Override public int end() { return matcher.end(); } @Override public int start() { return matcher.start(); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Feb 09 15:49:48 UTC 2024 - 2.2K bytes - Viewed (0)