Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 537 for inmemory (0.06 seconds)

  1. cmd/batch-job-common-types_gen.go

    					return
    				}
    			}
    		case "InMemory":
    			if dc.IsNil() {
    				err = dc.ReadNil()
    				if err != nil {
    					err = msgp.WrapError(err, "InMemory")
    					return
    				}
    				z.InMemory = nil
    			} else {
    				if z.InMemory == nil {
    					z.InMemory = new(bool)
    				}
    				*z.InMemory, err = dc.ReadBool()
    				if err != nil {
    					err = msgp.WrapError(err, "InMemory")
    					return
    				}
    			}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  2. cmd/batch-job-common-types.go

    type BatchJobSnowball struct {
    	line, col   int
    	Disable     *bool   `yaml:"disable" json:"disable"`
    	Batch       *int    `yaml:"batch" json:"batch"`
    	InMemory    *bool   `yaml:"inmemory" json:"inmemory"`
    	Compress    *bool   `yaml:"compress" json:"compress"`
    	SmallerThan *string `yaml:"smallerThan" json:"smallerThan"`
    	SkipErrs    *bool   `yaml:"skipErrs" json:"skipErrs"`
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  3. cmd/batch-replicate_test.go

        snowball: # automatically activated if the source is local
          disable: true # optionally turn-off snowball archive transfer
    #      batch: 100 # upto this many objects per archive
    #      inmemory: true # indicates if the archive must be staged locally or in-memory
    #      compress: false # S2/Snappy compressed archive
    #      smallerThan: 5MiB # create archive for all objects smaller than 5MiB
    #      skipErrs: false # skips any source side read() errors
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 01 12:53:30 GMT 2024
    - 7.9K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

            ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir);
            cos.write(new byte[] { 0, 1, 2 });
            assertTrue(cos.isInMemory());
            cos.write(new byte[] { 3, 4 });
            assertTrue(cos.isInMemory());
            cos.write(new byte[] { 5 });
            assertTrue(cos.isInMemory());
            assertFalse(cos.done);
            cos.close();
        }
    
        @Test
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  5. cmd/batch-handlers.go

    	input := make(chan minio.SnowballObject, 1)
    	opts := minio.SnowballOptions{
    		Opts:     minio.PutObjectOptions{},
    		InMemory: *r.Source.Snowball.InMemory,
    		Compress: *r.Source.Snowball.Compress,
    		SkipErrs: *r.Source.Snowball.SkipErrs,
    	}
    
    	go func() {
    		defer xioutil.SafeClose(input)
    
    		for _, entry := range entries {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 63.5K bytes
    - Click Count (1)
  6. cmd/metrics-v3-system-memory.go

    var (
    	memTotalMD     = NewGaugeMD(memTotal, "Total memory on the node")
    	memUsedMD      = NewGaugeMD(memUsed, "Used memory on the node")
    	memUsedPercMD  = NewGaugeMD(memUsedPerc, "Used memory percentage on the node")
    	memFreeMD      = NewGaugeMD(memFree, "Free memory on the node")
    	memBuffersMD   = NewGaugeMD(memBuffers, "Buffers memory on the node")
    	memCacheMD     = NewGaugeMD(memCache, "Cache memory on the node")
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 17 05:10:25 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/curl/io/ContentCache.java

        }
    
        /**
         * Returns whether the content is cached in memory.
         *
         * @return true if the content is in memory, false if it is in a file
         */
        public boolean isInMemory() {
            return data != null;
        }
    
        /**
         * Returns the content as a byte array.
         * If the content is cached in memory, a clone of the data is returned.
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

            }
        }
    
        // --- isInMemory() tests ---
    
        @Test
        public void testIsInMemory_WithByteArray() {
            // ## Arrange ##
            ContentCache cache = new ContentCache("test".getBytes());
    
            // ## Assert ##
            assertTrue(cache.isInMemory());
        }
    
        @Test
        public void testIsInMemory_WithFile() throws IOException {
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 15.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/curl/io/ContentOutputStream.java

         */
        @Override
        public void close() throws IOException {
            try {
                super.close();
            } finally {
                if (!isInMemory() && !done) {
                    final File file = super.getFile();
                    if (file != null) {
                        try {
                            Files.deleteIfExists(file.toPath());
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/curl/CurlRequest.java

                    }
                    dfos.flush();
                    final ContentCache contentCache;
                    logger.fine(() -> "Response in " + (dfos.isInMemory() ? "Memory" : "File"));
                    if (dfos.isInMemory()) {
                        contentCache = new ContentCache(dfos.getData());
                    } else {
                        contentCache = new ContentCache(dfos.getFile());
                    }
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 19.7K bytes
    - Click Count (0)
Back to Top