- Sort Score
- Result 10 results
- Languages All
Results 1381 - 1390 of 3,763 for int (0.01 sec)
-
guava/src/com/google/common/collect/ForwardingListIterator.java
public boolean hasPrevious() { return delegate().hasPrevious(); } @Override public int nextIndex() { return delegate().nextIndex(); } @CanIgnoreReturnValue @Override @ParametricNullness public E previous() { return delegate().previous(); } @Override public int previousIndex() { return delegate().previousIndex(); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 29 19:42:21 UTC 2021 - 2.5K bytes - Viewed (0) -
internal/s3select/sql/errors.go
type s3Error struct { code string message string statusCode int cause error } func (err *s3Error) Cause() error { return err.cause } func (err *s3Error) ErrorCode() string { return err.code } func (err *s3Error) ErrorMessage() string { return err.message } func (err *s3Error) HTTPStatusCode() int { return err.statusCode } func (err *s3Error) Error() string {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmContext.java
*/ public void setTargetName ( String targetName ) { this.targetName = targetName; } @Override public byte[] initSecContext ( byte[] token, int offset, int len ) throws SmbException { switch ( this.state ) { case 1: return makeNegotiate(token); case 2: return makeAuthenticate(token); default:
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 12:07:20 UTC 2020 - 15.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java
@Override public int drainTo(Collection<? super E> c, int maxElements) { if (c == null) throw new NullPointerException(); if (c == this) throw new IllegalArgumentException(); if (maxElements <= 0) return 0; final Monitor monitor = this.monitor; monitor.enter(); try { int n = 0; E e; while (n < maxElements && (e = q.poll()) != null) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 07 21:36:32 UTC 2024 - 19K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/DoubleMathTest.java
} private static void runTestFuzzyCompare(int toleranceIndex) { double tolerance = get(TOLERANCE_CANDIDATES, toleranceIndex); for (double a : ALL_DOUBLE_CANDIDATES) { for (double b : ALL_DOUBLE_CANDIDATES) { int expected = DoubleMath.fuzzyEquals(a, b, tolerance) ? 0 : Double.compare(a, b); int actual = DoubleMath.fuzzyCompare(a, b, tolerance);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 27.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/ConcurrencyTest.java
List<MultiTestCase> runnables = new ArrayList<>(); for ( int i = 0; i < n; i++ ) { runnables.add(new LockedWritesTest(failCount, writeCount, new SmbFile(sr, fname))); } runMultiTestCase(runnables, 60); int readCnt = 0; try ( InputStream is = f.openInputStream(SmbConstants.FILE_NO_SHARE) ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Nov 14 17:40:50 UTC 2021 - 17.6K bytes - Viewed (0) -
cmd/dummy-data-generator_test.go
b: b, } } func (d *DummyDataGen) Read(b []byte) (n int, err error) { k := len(b) numLetters := int64(len(d.b)) for k > 0 && d.idx < d.length { w := copy(b[len(b)-k:], d.b[d.idx%numLetters:]) k -= w d.idx += int64(w) n += w } if d.idx >= d.length { extraBytes := d.idx - d.length n -= int(extraBytes) if n < 0 { n = 0 } err = io.EOF } return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 02 15:13:05 UTC 2024 - 4.7K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/clusters/clusters.go
type ConfigWriter struct { Stdout io.Writer clusters *clusters.Wrapper } // EndpointCluster is used to store the endpoint and cluster type EndpointCluster struct { address string port int cluster string status core.HealthStatus failedOutlierCheck bool } // Prime loads the clusters output into the writer ready for printing func (c *ConfigWriter) Prime(b []byte) error {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Nov 03 08:41:32 UTC 2022 - 5.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableRangeSet.java
} else { toIndex = ranges.size(); } final int length = toIndex - fromIndex; if (length == 0) { return ImmutableList.of(); } else { return new ImmutableList<Range<C>>() { @Override public int size() { return length; } @Override public Range<C> get(int index) { checkElementIndex(index, length);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 27K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java
@Override @SuppressWarnings("unchecked") public final Entry<String, String>[] createArray(int length) { return (Entry<String, String>[]) new Entry<?, ?>[length]; } @Override public final String[] createKeyArray(int length) { return new String[length]; } @Override public final String[] createValueArray(int length) { return new String[length]; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3K bytes - Viewed (0)