Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 461 - 470 of 526 for Rewrite (0.05 seconds)

  1. src/archive/zip/reader.go

    	return headerFileInfo{&r.f.FileHeader}, nil
    }
    
    func (r *checksumReader) Read(b []byte) (n int, err error) {
    	if r.err != nil {
    		return 0, r.err
    	}
    	n, err = r.rc.Read(b)
    	r.hash.Write(b[:n])
    	r.nread += uint64(n)
    	if r.nread > r.f.UncompressedSize64 {
    		return 0, ErrFormat
    	}
    	if err == nil {
    		return
    	}
    	if err == io.EOF {
    		if r.nread != r.f.UncompressedSize64 {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Mar 11 22:19:38 GMT 2025
    - 28.4K bytes
    - Click Count (0)
  2. internal/config/config.go

    		if err != nil {
    			return nil, err
    		}
    		ids[tgt] = true
    	}
    	if err := scanner.Err(); err != nil {
    		return nil, err
    	}
    	return ids, err
    }
    
    // ReadConfig - read content from input and write into c.
    // Returns whether all parameters were dynamic.
    func (c Config) ReadConfig(r io.Reader) (dynOnly bool, err error) {
    	var n int
    	scanner := bufio.NewScanner(r)
    	dynOnly = true
    	for scanner.Scan() {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 37.7K bytes
    - Click Count (0)
  3. cmd/iam-store.go

    		// if IAM format
    		return err
    	}
    
    	if iamFmt.Version >= iamFormatVersion1 {
    		// Nothing to do.
    		return nil
    	}
    
    	bootstrapTraceMsg("Write IAM format file")
    	// Save iam format to version 1.
    	return store.saveIAMConfig(ctx, newIAMFormatVersion1(), path)
    }
    
    func getGroupInfoPath(group string) string {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 87.1K bytes
    - Click Count (0)
  4. tensorflow/c/c_api_test.cc

      const string input_name =
          signature_def.inputs().at(tensorflow::kRegressInputs).name();
      const string output_name =
          signature_def.outputs().at(tensorflow::kRegressOutputs).name();
    
      // Write {0, 1, 2, 3} as tensorflow::Example inputs.
      Tensor input(tensorflow::DT_STRING, TensorShape({4}));
      for (int64_t i = 0; i < input.NumElements(); ++i) {
        tensorflow::Example example;
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Nov 17 00:00:38 GMT 2025
    - 97K bytes
    - Click Count (0)
  5. docs/ko/docs/virtual-environments.md

    ```console
    $ echo "*" > .venv/.gitignore
    ```
    
    </div>
    
    /// details | 명령어 상세 설명
    
    * `echo "*"`: 터미널에 `*` 텍스트를 "출력"합니다 (다음 설명에서 조금 바뀝니다)
    * `>`: 왼쪽 명령어의 출력 내용을 터미널에 출력하지 않고, 오른쪽에 지정된 파일로 **기록(write)** 하라는 의미입니다.
    * `.gitignore`: 출력된 텍스트가 기록될 파일 이름입니다.
    
    그리고 Git에서 `*`는 "모든 것"을 의미합니다. 따라서 `.venv` 디렉터리 안의 모든 것을 무시하게 됩니다.
    
    이 명령어는 다음과 같은 내용을 가진 `.gitignore` 파일을 생성합니다:
    
    
    ```gitignore
    *
    ```
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri May 30 13:10:41 GMT 2025
    - 25.8K bytes
    - Click Count (0)
  6. cmd/erasure-server-pool-decom.go

    					return
    				}
    			}
    		}()
    	}
    
    	return nil
    }
    
    func newPoolMeta(z *erasureServerPools, prevMeta poolMeta) poolMeta {
    	newMeta := poolMeta{} // to update write poolMeta fresh.
    	// looks like new pool was added we need to update,
    	// or this is a fresh installation (or an existing
    	// installation with pool removed)
    	newMeta.Version = poolMetaVersion
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 42.2K bytes
    - Click Count (1)
  7. cmd/xl-storage-format-v2_test.go

    		}
    		data, err = xl.AppendTo(nil)
    		if err != nil {
    			t.Fatal(err)
    		}
    		xl = xlMetaV2{}
    		err = xl.Load(data)
    		if err != nil {
    			t.Fatal(err)
    		}
    		test(t, &xl)
    	})
    	t.Run("write-timestamp", func(t *testing.T) {
    		var xl xlMetaV2
    		err = xl.Load(data)
    		if err != nil {
    			t.Fatal(err)
    		}
    		ventry := xlMetaV2Version{
    			Type: DeleteType,
    			DeleteMarker: &xlMetaV2DeleteMarker{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 37.8K bytes
    - Click Count (0)
  8. cmd/notification.go

    				ctx := logger.SetReqInfo(ctx, reqInfo)
    				peersLogOnceIf(ctx, err, client.host.String())
    				return nil
    			}
    
    			for typ, data := range data {
    				// zip writer only handles one concurrent write
    				writeMu.Lock()
    				profilingDataFound = true
    				err := embedFileInZip(zipWriter, fmt.Sprintf("profile-%s-%s", client.host.String(), typ), data, 0o600)
    				writeMu.Unlock()
    				if err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 46K bytes
    - Click Count (0)
  9. cmd/bucket-replication.go

    		},
    	})
    	return err
    }
    
    // filterReplicationStatusMetadata filters replication status metadata for COPY
    func filterReplicationStatusMetadata(metadata map[string]string) map[string]string {
    	// Copy on write
    	dst := metadata
    	var copied bool
    	delKey := func(key string) {
    		if _, ok := metadata[key]; !ok {
    			return
    		}
    		if !copied {
    			dst = make(map[string]string, len(metadata))
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 118.2K bytes
    - Click Count (0)
  10. cmd/data-scanner.go

    		// that existed in the previous run but wasn't found now.
    		//
    		// This may be because of 2 reasons:
    		//
    		// 1) The folder/object was deleted.
    		// 2) We come from another disk and this disk missed the write.
    		//
    		// We therefore perform a heal check.
    		// If that doesn't bring it back we remove the folder and assume it was deleted.
    		// This means that the next run will not look for it.
    		// How to resolve results.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 45.5K bytes
    - Click Count (0)
Back to Top