Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for Mata (0.16 sec)

  1. cmd/xl-storage.go

    	attr := "user.total_deletes"
    
    	data := make([]byte, 8)
    	binary.LittleEndian.PutUint64(data, deleteCount)
    	return xattr.LSet(s.formatFile, attr, data)
    }
    
    func (s *xlStorage) setWriteAttribute(writeCount uint64) error {
    	attr := "user.total_writes"
    
    	data := make([]byte, 8)
    	binary.LittleEndian.PutUint64(data, writeCount)
    	return xattr.LSet(s.formatFile, attr, data)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    			if !metaArr[index].InlineData() {
    				// If the data is not inlined, we may end up incorrectly
    				// inlining the data here, that leads to an inconsistent
    				// situation where some objects are were not inlined
    				// were now inlined, make sure to `nil` the Data such
    				// that xl.meta is written as expected.
    				metaArr[index].Data = nil
    			}
    			metaArr[index].Metadata = srcInfo.UserDefined
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 76.9K bytes
    - Viewed (2)
  3. cmd/erasure-multipart.go

    	var buffer []byte
    	switch size := data.Size(); {
    	case size == 0:
    		buffer = make([]byte, 1) // Allocate at least a byte to reach EOF
    	case size == -1:
    		if size := data.ActualSize(); size > 0 && size < fi.Erasure.BlockSize {
    			// Account for padding and forced compression overhead and encryption.
    			buffer = make([]byte, data.ActualSize()+256+32+32, data.ActualSize()*2+512)
    		} else {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  4. cmd/erasure-common.go

    				}
    				quorum++
    				if toAdd.Modtime.After(gotFile.Modtime) || len(gotFile.Data) < len(toAdd.Data) {
    					// Pick latest, or largest to avoid possible truncated entries.
    					continue
    				}
    				toAdd = gotFile
    			}
    		}
    		if quorum < readQuorum {
    			toAdd.Exists = false
    			toAdd.Error = errErasureReadQuorum.Error()
    			toAdd.Data = nil
    		}
    		dataArray = append(dataArray, toAdd)
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  5. RELEASE.md

    *   `tf.data`:
        *   Graduated experimental APIs:
            * [`tf.data.Dataset.ragged_batch`](https://www.tensorflow.org/api_docs/python/tf/data/Dataset/#ragged_batch), which batches elements of `tf.data.Dataset`s into `tf.RaggedTensor`s.
            * [`tf.data.Dataset.sparse_batch`](https://www.tensorflow.org/api_docs/python/tf/data/Dataset/#sparse_batch), which batches elements of `tf.data.Dataset`s into `tf.sparse.SparseTensor`s.
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  6. cmd/object-handlers_test.go

    				r.Close()
    				t.Fatalf("Test %d: %s: Failed to fetch the copied object: <ERROR> %s", i+1, instanceType, err)
    			}
    			r.Close()
    			if !bytes.Equal(testCase.data, buffer.Bytes()) {
    				t.Errorf("Test %d: %s: Data Mismatch: Data fetched back from the uploaded object doesn't match the original one.", i+1, instanceType)
    			}
    		}
    	}
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  7. cmd/storage-rest-client.go

    		}
    		select {
    		case <-ctx.Done():
    			return ctx.Err()
    		case resp <- file:
    		}
    	}
    }
    
    // CleanAbandonedData will read metadata of the object on disk
    // and delete any data directories and inline data that isn't referenced in metadata.
    func (client *storageRESTClient) CleanAbandonedData(ctx context.Context, volume string, path string) error {
    	values := make(url.Values)
    	values.Set(storageRESTVolume, volume)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Comparators.java

      /**
       * Returns the minimum of the two values. If the values compare as 0, the first is returned.
       *
       * <p>The recommended solution for finding the {@code minimum} of some values depends on the type
       * of your data and the number of elements you have. Read more in the Guava User Guide article on
       * <a href="https://github.com/google/guava/wiki/CollectionUtilitiesExplained#comparators">{@code
       * Comparators}</a>.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  9. cmd/xl-storage-disk-id-check.go

    		}
    		done(&err)
    	}()
    
    	// Copy inline data to a new buffer to function with deadlines.
    	if len(fi.Data) > 0 {
    		fi.Data = append(grid.GetByteBufferCap(len(fi.Data))[:0], fi.Data...)
    	}
    	return xioutil.WithDeadline[RenameDataResp](ctx, globalDriveConfig.GetMaxTimeout(), func(ctx context.Context) (res RenameDataResp, err error) {
    		if len(fi.Data) > 0 {
    			defer grid.PutByteBuffer(fi.Data)
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  10. cni/pkg/iptables/iptables.go

    	cmd := iptablesconstants.IPTablesRestore
    	var data string
    
    	if isIpv4 {
    		data = iptablesBuilder.BuildV4Restore()
    	} else {
    		data = iptablesBuilder.BuildV6Restore()
    	}
    
    	log.Infof("Running %s with the following input:\n%v", iptVer.CmdToString(cmd), strings.TrimSpace(data))
    	// --noflush to prevent flushing/deleting previous contents from table
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 19.6K bytes
    - Viewed (0)
Back to top