- Sort Score
- Result 10 results
- Languages All
Results 731 - 740 of 3,763 for Int (0.02 sec)
-
cmd/metacache-set.go
func getListQuorum(quorum string, driveCount int) int { switch quorum { case "disk": return 1 case "reduced": return 2 case "optimal": return (driveCount + 1) / 2 case "auto": return -1 } // defaults to 'strict' return driveCount } func calcCommonWritesDeletes(infos []DiskInfo, readQuorum int) (commonWrite, commonDelete uint64) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 16:23:16 UTC 2024 - 30.7K bytes - Viewed (0) -
src/archive/tar/reader.go
if err := feedTokens(1); err != nil { return nil, err } numEntries, err := strconv.ParseInt(nextToken(), 10, 0) // Intentionally parse as native int if err != nil || numEntries < 0 || int(2*numEntries) < int(numEntries) { return nil, ErrHeader } // Parse for all member entries. // numEntries is trusted after this since a potential attacker must have
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Mar 08 01:59:14 UTC 2024 - 26.8K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NodeStatusResponse.java
this.macAddress = new byte[6]; } @Override int writeBodyWireFormat ( byte[] dst, int dstIndex ) { return 0; } @Override int readBodyWireFormat ( byte[] src, int srcIndex ) { return readResourceRecordWireFormat(src, srcIndex); } @Override int writeRDataWireFormat ( byte[] dst, int dstIndex ) { return 0; } @Override
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 5.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
} } } private static class Sink extends AbstractStreamingHasher { final int chunkSize; final int bufferSize; final ByteArrayOutputStream out = new ByteArrayOutputStream(); int processCalled = 0; boolean remainingCalled = false; Sink(int chunkSize, int bufferSize) { super(chunkSize, bufferSize); this.chunkSize = chunkSize;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 8.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableBiMap.java
private final transient int mask; private final transient int hashCode; static <K, V> ImmutableBiMap<K, V> fromEntries(Entry<K, V>... entries) { return fromEntryArray(entries.length, entries); } static <K, V> ImmutableBiMap<K, V> fromEntryArray(int n, @Nullable Entry<K, V>[] entryArray) { checkPositionIndex(n, entryArray.length); int tableSize = Hashing.closedTableSize(n, MAX_LOAD_FACTOR);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2FlushResponse.java
*/ @Override protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) { return 0; } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int) */ @Override protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
} } private interface Adder { int add(int a, int b); } private static class ForwardingArithmetic implements Arithmetic { private final Arithmetic arithmetic; public ForwardingArithmetic(Arithmetic arithmetic) { this.arithmetic = arithmetic; } @Override public int add(int a, int b) { return arithmetic.add(a, b); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 15.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/Lists.java
return forwardList; } private int reverseIndex(int index) { int size = size(); checkElementIndex(index, size); return (size - 1) - index; } private int reversePosition(int index) { int size = size(); checkPositionIndex(index, size); return size - index; } @Override public void add(int index, @ParametricNullness T element) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 43.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoRequest.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Nov 14 10:41:31 UTC 2021 - 5.6K bytes - Viewed (0) -
build-logic/documentation/src/test/resources/org/gradle/test/GroovyClassWithConstants.groovy
package org.gradle.test class GroovyClassWithConstants { static final int INT_CONST = 9 public static final String STRING_CONST = 'some-string' static final Object OBJECT_CONST = new GroovyClassWithConstants() static final def BIG_DECIMAL_CONST = 1.02 String ignored = 'ignore' final int ignored2 = 1001 static def ignored3
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 356 bytes - Viewed (0)