Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 568 for Store (0.15 sec)

  1. internal/logger/target/http/http.go

    	// like : Splunk HTTP Event collector, if you are unsure
    	// set this to '1'.
    	batchSize   int
    	payloadType string
    
    	// store to persist and replay the logs to the target
    	// to avoid missing events when the target is down.
    	store          store.Store[interface{}]
    	storeCtxCancel context.CancelFunc
    
    	initQueueOnce once.Init
    
    	config Config
    	client *http.Client
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  2. internal/event/targetlist_test.go

    	"github.com/minio/minio/internal/store"
    )
    
    type ExampleTarget struct {
    	id       TargetID
    	sendErr  bool
    	closeErr bool
    }
    
    func (target ExampleTarget) ID() TargetID {
    	return target.id
    }
    
    // Save - Sends event directly without persisting.
    func (target ExampleTarget) Save(eventData Event) error {
    	return target.send(eventData)
    }
    
    // Store - Returns a nil store.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Dec 05 10:16:33 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/query/StoredLtrQueryBuilder.java

        public static final ParseField MODEL_NAME = new ParseField("model");
        public static final ParseField FEATURESET_NAME = new ParseField("featureset");
        public static final ParseField STORE_NAME = new ParseField("store");
        public static final ParseField PARAMS = new ParseField("params");
        public static final ParseField ACTIVE_FEATURES = new ParseField("active_features");
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  4. gorm.go

    	tx = db.getInstance()
    	return tx.Session(&Session{
    		Logger: db.Logger.LogMode(logger.Info),
    	})
    }
    
    // Set store value with key into current db instance's context
    func (db *DB) Set(key string, value interface{}) *DB {
    	tx := db.getInstance()
    	tx.Statement.Settings.Store(key, value)
    	return tx
    }
    
    // Get get value with key from current db instance's context
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sun Aug 20 11:46:56 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/io/PropertiesUtilTest.java

            PropertiesUtil.store(outProperties, outputStream, "comments");
            CloseableUtil.close(outputStream);
            final Properties properties = new Properties();
            PropertiesUtil.load(properties, file);
            assertThat(properties.getProperty("a"), is("A"));
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.io.PropertiesUtil#store(Properties, java.io.Writer, String)}
         * .
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  6. src/archive/zip/register.go

    )
    
    func init() {
    	compressors.Store(Store, Compressor(func(w io.Writer) (io.WriteCloser, error) { return &nopCloser{w}, nil }))
    	compressors.Store(Deflate, Compressor(func(w io.Writer) (io.WriteCloser, error) { return newFlateWriter(w), nil }))
    
    	decompressors.Store(Store, Decompressor(io.NopCloser))
    	decompressors.Store(Deflate, Decompressor(newFlateReader))
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  7. tests/test_datastructures.py

    def test_upload_file_is_closed(tmp_path: Path):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
        app = FastAPI()
    
        testing_file_store: List[UploadFile] = []
    
        @app.post("/uploadfile/")
        def create_upload_file(file: UploadFile):
            testing_file_store.append(file)
            return {"filename": file.filename}
    
        client = TestClient(app)
        with path.open("rb") as file:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Oct 18 12:36:40 GMT 2023
    - 2K bytes
    - Viewed (0)
  8. .gitignore

    # OSX leaves these everywhere on SMB shares
    ._*
    
    # OSX trash
    .DS_Store
    
    # Developers can store local stuff in dirs named __something
    __*
    
    # Eclipse files
    .classpath
    .project
    .settings/**
    
    # Files generated by JetBrains IDEs, e.g. IntelliJ IDEA
    .idea/
    *.iml
    
    # Vscode files
    .vscode
    
    # This is where the result of the go build goes
    /output*/
    /_output*/
    /_output
    
    # Emacs save files
    *~
    \#*\#
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Thu Feb 29 08:22:06 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MultimapBuilder.java

        /** Uses an {@link ArrayList} to store value collections. */
        public ListMultimapBuilder<K0, @Nullable Object> arrayListValues() {
          return arrayListValues(DEFAULT_EXPECTED_VALUES_PER_KEY);
        }
    
        /**
         * Uses an {@link ArrayList} to store value collections, initialized to expect the specified
         * number of values per key.
         *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool-rebalance.go

    			break
    		}
    	}
    }
    
    func (r *rebalanceMeta) load(ctx context.Context, store objectIO) error {
    	return r.loadWithOpts(ctx, store, ObjectOptions{})
    }
    
    func (r *rebalanceMeta) loadWithOpts(ctx context.Context, store objectIO, opts ObjectOptions) error {
    	data, _, err := readConfigWithMetadata(ctx, store, rebalMetaName, opts)
    	if err != nil {
    		return err
    	}
    
    	if len(data) == 0 {
    		return nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
Back to top