Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,898 for Initialize (0.34 sec)

  1. cmd/bucket-policy-handlers_test.go

    		},
    	}
    
    	// Iterating over the test cases, calling the function under test and asserting the response.
    	for i, testCase := range testCases {
    		// obtain the put bucket policy request body.
    		// initialize HTTP NewRecorder, this records any mutations to response writer inside the handler.
    		recV4 := httptest.NewRecorder()
    		// construct HTTP request for PUT bucket policy endpoint.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/searchlist/CreateForm.java

    /**
     * @author shinsuke
     */
    public class CreateForm {
    
        @ValidateTypeFailure
        public Integer crudMode;
    
        public Map<String, Object> doc;
    
        public String q;
    
        public void initialize() {
            crudMode = CrudMode.CREATE;
        }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1K bytes
    - Viewed (0)
  3. fess-crawler-lasta/src/main/java/org/codelibs/fess/crawler/container/LastaCrawlerContainer.java

    import org.lastaflute.di.core.factory.SingletonLaContainerFactory;
    
    public class LastaCrawlerContainer implements CrawlerContainer {
    
        public LastaCrawlerContainer() {
            initialize();
        }
    
        @Override
        public <T> T getComponent(final String name) {
            return SingletonLaContainerFactory.getContainer().getComponent(name);
        }
    
        @Override
        public boolean available() {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. cmd/auth-handler_test.go

    func mustNewRequest(method string, urlStr string, contentLength int64, body io.ReadSeeker, t *testing.T) *http.Request {
    	req, err := newTestRequest(method, urlStr, contentLength, body)
    	if err != nil {
    		t.Fatalf("Unable to initialize new http request %s", err)
    	}
    	return req
    }
    
    // This is similar to mustNewRequest but additionally the request
    // is signed with AWS Signature V4, fails if not able to do so.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultExclusiveCacheAccessCoordinatorTest.groovy

            1 * initializationAction.initialize(exclusiveLock)
            1 * exclusiveLock.close()
    
            then:
            1 * lockManager.lock(lockFile, mode(Shared), "<display-name>") >> sharedLock
            1 * initializationAction.requiresInitialization(sharedLock) >> false
            _ * sharedLock.state
            0 * _._
        }
    
        def "initializes cache on open when lock mode is exclusive"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 24K bytes
    - Viewed (0)
  6. pkg/proxy/ipvs/ipset/testing/fake.go

    	Sets map[string]*ipset.IPSet
    	// The key of Entries map is the ip set name where the entries exists
    	Entries map[string]sets.String
    }
    
    // NewFake create a new fake ipset interface - it initialize the FakeIPSet.
    func NewFake(version string) *FakeIPSet {
    	return &FakeIPSet{
    		Version: version,
    		Sets:    make(map[string]*ipset.IPSet),
    		Entries: make(map[string]sets.String),
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  7. cmd/kubectl/kubectl.go

    limitations under the License.
    */
    
    package main
    
    import (
    	"k8s.io/component-base/cli"
    	"k8s.io/kubectl/pkg/cmd"
    	"k8s.io/kubectl/pkg/cmd/util"
    
    	// Import to initialize client auth plugins.
    	_ "k8s.io/client-go/plugin/pkg/client/auth"
    )
    
    func main() {
    	command := cmd.NewDefaultKubectlCommand()
    	if err := cli.RunNoErrOutput(command); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 10 16:09:30 UTC 2022
    - 963 bytes
    - Viewed (0)
  8. maven-slf4j-provider/src/main/java/org/apache/maven/slf4j/MavenServiceProvider.java

            return mdcAdapter;
        }
    
        @Override
        public String getRequestedApiVersion() {
            return REQUESTED_API_VERSION;
        }
    
        @Override
        public void initialize() {
            // already initialized
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jan 09 06:36:58 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. cmd/bucket-handlers_test.go

    	// if object upload fails stop the test.
    	if err != nil {
    		t.Fatalf("Error uploading object: <ERROR> %v", err)
    	}
    
    	// initialize httptest Recorder, this records any mutations to response writer inside the handler.
    	rec := httptest.NewRecorder()
    	// construct HTTP request for DELETE bucket.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  10. internal/config/etcd/etcd.go

    )
    
    // Config - server etcd config.
    type Config struct {
    	Enabled     bool   `json:"enabled"`
    	PathPrefix  string `json:"pathPrefix"`
    	CoreDNSPath string `json:"coreDNSPath"`
    	clientv3.Config
    }
    
    // New - initialize new etcd client.
    func New(cfg Config) (*clientv3.Client, error) {
    	if !cfg.Enabled {
    		return nil, nil
    	}
    	cli, err := clientv3.New(cfg.Config)
    	if err != nil {
    		return nil, err
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top