Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for inflate (0.17 sec)

  1. src/archive/zip/zip_test.go

    	h := FileHeader{
    		Name:   filename,
    		Method: Deflate,
    		Extra:  []byte(ts.Format(time.RFC3339Nano)), // missing tag and len, but Extra is best-effort parsing
    	}
    	h.SetModTime(ts)
    
    	testValidHeader(&h, t)
    }
    
    func TestHeaderTooShort(t *testing.T) {
    	h := FileHeader{
    		Name:   "foo.txt",
    		Method: Deflate,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  2. cmd/admin-bucket-handlers.go

    			name:    filename,
    			size:    int64(sz),
    			mode:    0o600,
    			modTime: time.Now(),
    			isDir:   false,
    			sys:     nil,
    		})
    		if zerr == nil {
    			header.Method = zip.Deflate
    			zwriter, zerr := zipWriter.CreateHeader(header)
    			if zerr == nil {
    				io.Copy(zwriter, r)
    			}
    		}
    	}
    
    	cfgFiles := []string{
    		bucketPolicyConfig,
    		bucketNotificationConfig,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  3. operator/cmd/mesh/manifest-generate_test.go

    				{empty, objEnabled, ""}, // Legacy one requires namespace label
    			}, baseAssertions...),
    		},
    		{
    			// Use new default webhook, while we still have a legacy revision one around.
    			name:     "inplace upgrade",
    			webhooks: mergeWebhooks(defaultWebhook, legacyRevWebhook),
    			checks: append([]assertion{
    				{empty, revLabel, ""},         // Legacy one requires namespace label
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
  4. cmd/sts-handlers_test.go

    				mode:    0o600,
    				modTime: time.Now(),
    				isDir:   false,
    				sys:     nil,
    			})
    			if zerr != nil {
    				adminLogIf(ctx, zerr)
    				return nil
    			}
    			header.Method = zip.Deflate
    			zwriter, zerr := zipWriter.CreateHeader(header)
    			if zerr != nil {
    				adminLogIf(ctx, zerr)
    				return nil
    			}
    			if _, err := io.Copy(zwriter, r); err != nil {
    				adminLogIf(ctx, err)
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  5. src/archive/zip/writer.go

    }
    
    // Create adds a file to the zip file using the provided name.
    // It returns a [Writer] to which the file contents should be written.
    // The file contents will be compressed using the [Deflate] method.
    // The name must be a relative path: it must not start with a drive
    // letter (e.g. C:) or leading slash, and only forward slashes are
    // allowed. To create a directory instead of a file, add a trailing
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  6. cmd/admin-handlers.go

    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.ServerUpdateAdminAction)
    	if objectAPI == nil {
    		return
    	}
    
    	if globalInplaceUpdateDisabled || currentReleaseTime.IsZero() {
    		// if MINIO_UPDATE=off - inplace update is disabled, mostly in containers.
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrMethodNotAllowed), r.URL)
    		return
    	}
    
    	vars := mux.Vars(r)
    	updateURL := vars["updateURL"]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  7. cmd/admin-handlers-users.go

    			mode:    0o600,
    			modTime: time.Now(),
    			isDir:   false,
    			sys:     nil,
    		})
    		if zerr != nil {
    			adminLogIf(ctx, zerr)
    			return nil
    		}
    		header.Method = zip.Deflate
    		zwriter, zerr := zipWriter.CreateHeader(header)
    		if zerr != nil {
    			adminLogIf(ctx, zerr)
    			return nil
    		}
    		if _, err := io.Copy(zwriter, r); err != nil {
    			adminLogIf(ctx, err)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
Back to top