- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 80 for getOpt (0.08 sec)
-
internal/ringbuffer/ring_buffer.go
r.mu.Lock() defer r.mu.Unlock() getDst := func(n int) []byte { if cap(dst) < n { return make([]byte, n) } return dst[:n] } if r.w == r.r { if r.isFull { buf := getDst(r.size) copy(buf, r.buf[r.r:]) copy(buf[r.size-r.r:], r.buf[:r.w]) return buf } return nil } if r.w > r.r { buf := getDst(r.w - r.r) copy(buf, r.buf[r.r:r.w])
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 13.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java
private List<E> values; private E a; private E b; private E c; @Override public void setUp() throws Exception { super.setUp(); navigableSet = (NavigableSet<E>) getSet(); values = copyToList( getSubjectGenerator() .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements())); sort(values, navigableSet.comparator());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.4K bytes - Viewed (0) -
src/main/java/jcifs/Config.java
/** * Retrieve an <code>int</code>. If the key does not exist or * cannot be converted to an <code>int</code>, the provided default * argument will be returned. */ public static int getInt ( Properties props, String key, int def ) { String s = props.getProperty(key); if ( s != null ) { try { def = Integer.parseInt(s); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 6.3K bytes - Viewed (0) -
src/packaging/common/scripts/postrm
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Dec 10 01:24:02 UTC 2015 - 2.2K bytes - Viewed (0) -
guava/src/com/google/common/hash/Crc32cHashFunction.java
crc0 = computeForWord(crc0); crc1 = computeForWord(crc1); crc2 = computeForWord(crc2); crc3 = computeForWord(crc3); crc0 ^= bb.getInt(); crc1 ^= bb.getInt(); crc2 ^= bb.getInt(); crc3 ^= bb.getInt(); } } @Override protected void processRemaining(ByteBuffer bb) { if (finished) { return; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 21.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/BufferCache.java
*/ package jcifs.smb1.smb1; import jcifs.smb1.Config; 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 ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java
private static final int OPEN_FN_FAIL_IF_EXISTS = 0x00; private static final int OPEN_FN_OPEN = 0x01; private static final int OPEN_FN_TRUNC = 0x02; private static final int BATCH_LIMIT = Config.getInt( "jcifs.smb1.smb.client.OpenAndX.ReadAndX", 1 ); int flags, desiredAccess, searchAttributes, fileAttributes, creationTime, openFunction, allocationSize;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 5.7K bytes - Viewed (0) -
tensorflow/c/eager/abstract_op_attrs.h
virtual ~AbstractOpAttrs() = default; // Returns the AbstractFunction as a FunctionDef. virtual void GetNameAttrList( tensorflow::NameAttrList* name_and_attrs) const = 0; virtual bool GetInt(absl::string_view, int64_t* result) const = 0; virtual bool GetFloat(absl::string_view attr_name, float* result) const = 0; virtual bool GetBool(absl::string_view attr_name, bool* result) const = 0;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComReadAndX.java
*/ package jcifs.smb1.smb1; import jcifs.smb1.Config; class SmbComReadAndX extends AndXServerMessageBlock { private static final int BATCH_LIMIT = Config.getInt( "jcifs.smb1.smb.client.ReadAndX.Close", 1 ); private long offset; private int fid, openTimeout; int maxCount, minCount, remaining; SmbComReadAndX() { super( null );
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 3.1K bytes - Viewed (0) -
cmd/object-api-options.go
opts.ServerSideEncryption = encrypt.NewSSE() } return } // get ObjectOptions for GET calls from encryption headers func getOpts(ctx context.Context, r *http.Request, bucket, object string) (ObjectOptions, error) { var opts ObjectOptions var partNumber int var err error if pn := r.Form.Get(xhttp.PartNumber); pn != "" {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 21 21:13:59 UTC 2024 - 14.4K bytes - Viewed (0)