Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 342 for memcpy (0.04 sec)

  1. src/main/java/org/codelibs/curl/io/ContentOutputStream.java

         */
        protected boolean done = false;
    
        /**
         * Constructs a ContentOutputStream with a specified threshold and temporary directory.
         *
         * @param threshold the threshold in bytes for writing to memory before writing to a file
         * @param tmpDir the temporary directory to create the file in
         */
        public ContentOutputStream(final int threshold, final File tmpDir) {
            super(threshold, PREFIX, SUFFIX, tmpDir);
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Sets.java

       * 2^n}, its memory usage is only {@code O(n)}. When the power set is constructed, the input set
       * is merely copied. Only as the power set is iterated are the individual subsets created, and
       * these subsets themselves occupy only a small constant amount of memory.
       *
       * @param set the set of elements to construct a power set from
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

            }
            return response.getStatus().getStatus();
        }
    
        /**
         * Calculates the memory size of a document data map.
         * This is useful for monitoring memory usage during indexing operations.
         *
         * @param dataMap the document data as a map of field names to values
         * @return the estimated memory size in bytes
         */
        public long calculateDocumentSize(final Map<String, Object> dataMap) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 26.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/Striped.java

     * lock, but also maximizes memory footprint. On the other extreme, one could use a single lock for
     * all tasks, which minimizes memory footprint but also minimizes concurrency. Instead of choosing
     * either of these extremes, {@code Striped} allows the user to trade between required concurrency
     * and memory footprint. For example, if a set of tasks are CPU-bound, one could easily create a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  5. cmd/server-rlimit.go

    		return err
    	}
    
    	_, vssLimit, err := sys.GetMaxMemoryLimit()
    	if err != nil {
    		return err
    	}
    
    	if vssLimit > 0 && vssLimit < humanize.GiByte {
    		logger.Info("WARNING: maximum virtual memory limit (%s) is too small for 'go runtime', please consider setting `ulimit -v` to unlimited",
    			humanize.IBytes(vssLimit))
    	}
    
    	if ctx.MemLimit > 0 {
    		debug.SetMemoryLimit(int64(ctx.MemLimit))
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Jul 02 15:09:36 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

                    String.format(Locale.ROOT, "Caught an exception in %s.  Shutting down.", t),
                    e);
          } catch (Throwable errorInLogging) { // sneaky checked exception
            // If logging fails, e.g. due to missing memory, at least try to log the
            // message and the cause for the failed logging.
            System.err.println(e.getMessage());
            System.err.println(errorInLogging.getMessage());
          } finally {
            runtime.exit(1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 10 21:03:40 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/CIFSContext.java

         * Get the name service client for NetBIOS name resolution
         *
         * @return the name server client
         */
        NameServiceClient getNameServiceClient();
    
        /**
         * Get the buffer cache for efficient memory management
         *
         * @return the buffer cache
         */
        BufferCache getBufferCache();
    
        /**
         * Get the transport pool for managing SMB connections
         *
         * @return the transport pool
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.Timeout;
    import org.mockito.Mockito;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.Credentials;
    
    /**
     * Simple memory management tests to validate basic resource cleanup functionality
     */
    public class SimpleMemoryManagementTest {
    
        private CIFSContext mockContext;
        private SmbTransportImpl mockTransport;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/NtlmUtil.java

                final MessageDigest md4 = Crypto.getMD4();
                md4.update(Strings.getUNIBytes(tempStr));
                return md4.digest();
            } finally {
                // Clear the temporary string from memory (best effort)
                if (tempStr != null) {
                    tempStr.intern();
                }
            }
        }
    
        /**
         * Generates the NTOWFv1 hash for the given password.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/ByteStreams.java

       *       and virtual memory, this is not a problem - because it is mapped read-only, the kernel
       *       can always page it to disk "for free". However, on systems where killing processes
       *       happens all the time in normal conditions (i.e., android) the OS must make a tradeoff
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
Back to top