Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for BufferPool (0.08 sec)

  1. internal/s3select/csv/reader.go

    			columns := append(make([]string, 0, len(record)), record...)
    			r.columnNames = columns
    		}
    	}
    
    	r.bufferPool.New = func() interface{} {
    		return make([]byte, csvSplitSize+1024)
    	}
    
    	// Return first block
    	next, nextErr := r.nextSplit(csvSplitSize, r.bufferPool.Get().([]byte))
    	// Check if first block is valid.
    	if !utf8.Valid(next) {
    		return errInvalidTextEncodingError()
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. internal/handlers/forwarder.go

    		// Drop it.
    		return
    	}
    	b.pool.Put(&buf)
    }
    
    func (b *bufPool) Get() []byte {
    	bufp := b.pool.Get().(*[]byte)
    	return (*bufp)[:b.sz]
    }
    
    func newBufPool(sz int) httputil.BufferPool {
    	return &bufPool{sz: sz, pool: sync.Pool{
    		New: func() interface{} {
    			buf := make([]byte, sz)
    			return &buf
    		},
    	}}
    }
    
    // ServeHTTP forwards HTTP traffic using the configured transport
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 07 05:42:10 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. api/go1.6.txt

    pkg net/http/httptest, method (*ResponseRecorder) WriteString(string) (int, error)
    pkg net/http/httputil, type BufferPool interface { Get, Put }
    pkg net/http/httputil, type BufferPool interface, Get() []uint8
    pkg net/http/httputil, type BufferPool interface, Put([]uint8)
    pkg net/http/httputil, type ReverseProxy struct, BufferPool BufferPool
    pkg net/url, method (*Error) Temporary() bool
    pkg net/url, method (*Error) Timeout() bool
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jan 13 23:40:13 UTC 2016
    - 12.9K bytes
    - Viewed (0)
  4. internal/s3select/json/preader.go

    	input       chan *queueItem // input for workers
    	queue       chan *queueItem // output from workers in order
    	err         error           // global error state, only touched by Reader.Read
    	bufferPool  sync.Pool       // pool of []byte objects for input
    	kvDstPool   sync.Pool       // pool of []jstream.KV used for output
    	close       chan struct{}   // used for shutting down the splitter before end of stream
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java

    import org.opensearch.core.xcontent.ToXContent;
    import org.opensearch.core.xcontent.XContentBuilder;
    import org.opensearch.monitor.jvm.JvmStats;
    import org.opensearch.monitor.jvm.JvmStats.BufferPool;
    import org.opensearch.monitor.jvm.JvmStats.Classes;
    import org.opensearch.monitor.jvm.JvmStats.GarbageCollectors;
    import org.opensearch.monitor.jvm.JvmStats.Mem;
    import org.opensearch.monitor.jvm.JvmStats.Threads;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

    import org.lastaflute.web.response.JsonResponse;
    import org.opensearch.action.admin.cluster.health.ClusterHealthResponse;
    import org.opensearch.monitor.jvm.JvmStats;
    import org.opensearch.monitor.jvm.JvmStats.BufferPool;
    import org.opensearch.monitor.jvm.JvmStats.Classes;
    import org.opensearch.monitor.jvm.JvmStats.GarbageCollectors;
    import org.opensearch.monitor.jvm.JvmStats.Mem;
    import org.opensearch.monitor.jvm.JvmStats.Threads;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. api/go1.9.txt

    pkg hash/fnv, func New128() hash.Hash
    pkg hash/fnv, func New128a() hash.Hash
    pkg html/template, const ErrPredefinedEscaper = 11
    pkg html/template, const ErrPredefinedEscaper ErrorCode
    pkg image/png, type Encoder struct, BufferPool EncoderBufferPool
    pkg image/png, type EncoderBuffer struct
    pkg image/png, type EncoderBufferPool interface { Get, Put }
    pkg image/png, type EncoderBufferPool interface, Get() *EncoderBuffer
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 04 20:20:20 UTC 2021
    - 10.7K bytes
    - Viewed (0)
Back to top