Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 659 for initialize (0.19 sec)

  1. cmd/xl-storage_unix_test.go

    func TestIsValidUmaskVol(t *testing.T) {
    	tmpPath := t.TempDir()
    	testCases := []struct {
    		volName       string
    		expectedUmask int
    	}{
    		{"is-this-valid", getUmask()},
    	}
    	testCase := testCases[0]
    
    	// Initialize a new xlStorage layer.
    	disk, err := newLocalXLStorage(tmpPath)
    	if err != nil {
    		t.Fatalf("Initializing xlStorage failed with %s.", err)
    	}
    
    	// Attempt to create a volume to verify the permissions later.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jul 25 19:37:26 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  2. cmd/xl-storage_test.go

    			t.Fatalf("Unable to change permission to temporary directory %v. %v", permDeniedDir, err)
    		}
    
    		// Initialize xlStorage storage layer for permission denied error.
    		_, err = newLocalXLStorage(permDeniedDir)
    		if err != nil && err != errDiskAccessDenied {
    			t.Fatalf("Unable to initialize xlStorage, %s", err)
    		}
    
    		if err = os.Chmod(permDeniedDir, 0o755); err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  3. 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.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 39.5K bytes
    - Viewed (2)
  4. cmd/peer-s3-server.go

    	globalLocalDrivesMu.RLock()
    	localDrives := cloneDrives(globalLocalDrives)
    	globalLocalDrivesMu.RUnlock()
    
    	// Initialize sync waitgroup.
    	g := errgroup.WithNErrs(len(localDrives))
    
    	// Disk states slices
    	beforeState := make([]string, len(localDrives))
    	afterState := make([]string, len(localDrives))
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  5. 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.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  6. tensorflow/c/eager/immediate_execution_distributed_manager.h

    class ImmediateExecutionDistributedManager {
     public:
      virtual ~ImmediateExecutionDistributedManager() {}
    
      // Set up distributed execution environment on local and remote tasks.
      // When `reset_context` is true, initialize new cluster context state based
      // on cluster configurations provided in `server_def`; otherwise, update
      // existing context state with the provided `server_def`. Contexts created
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  7. tensorflow/c/eager/gradient_checker.cc

             TF_TensorByteSize(theta_tensor));
    
      // Initialize space for the numerical gradient.
      vector<float> dtheta_approx(num_elems);
    
      // Get theta shape and store in theta_dims.
      int num_dims = TF_NumDims(theta_tensor);
      vector<int64_t> theta_dims(num_dims);
      GetDims(theta_tensor, theta_dims.data());
    
      // Initialize auxilary data structures.
      vector<float> thetaPlus_data(num_elems);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/Handler.java

                            handler = (URLStreamHandler) handlerClass.newInstance();
                            break;
                        }
                        catch ( Exception ex ) {
                            log.debug("Failed to initialize handler " + className, ex);
                        }
                    }
                }
                if ( handler == null ) {
                    for ( int i = 0; i < JVM_VENDOR_DEFAULT_PKGS.length; i++ ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.9K bytes
    - Viewed (0)
  9. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-16/plexus-container-default-1.0-alpha-16.jar

    public synchronized class BasicLifecycleHandle extends AbstractLifecycleHan { public void BasicLifecycleHandle(); public void initialize(); } org/codehaus/plexus/lifecycle/BootstrapLifecycleHa.class package org.codehaus.plexus.lifecycle; public synchronized class BootstrapLifecycleHa extends AbstractLifecycleHan { public void BootstrapLifecycleHa(); public void initialize(); } org/codehaus/plexus/lifecycle/DefaultLifecycleHand.class package org.codehaus.plexus.lifecycle; public synchronized class...
    Archive
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Tue Oct 16 20:15:40 GMT 2007
    - 205.7K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/LifecyclePhase.java

    /**
     * <a href="/ref/3.0.4/maven-core/lifecycles.html">Lifecycle phases</a>.
     *
     * @since 4.0.0
     */
    @Experimental
    public enum LifecyclePhase {
        VALIDATE("validate"),
        INITIALIZE("initialize"),
        GENERATE_SOURCES("generate-sources"),
        PROCESS_SOURCES("process-sources"),
        GENERATE_RESOURCES("generate-resources"),
        PROCESS_RESOURCES("process-resources"),
        COMPILE("compile"),
    Java
    - Registered: Sun Apr 07 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 2.2K bytes
    - Viewed (0)
Back to top