Home
last modified time | relevance | path

Searched refs:ValueBytes (Results 1 – 25 of 163) sorted by relevance

1234567

/dports/net/bosh-cli/bosh-cli-5.5.0/ui/table/
H A Dvalues.go73 func NewValueBytes(i uint64) ValueBytes { return ValueBytes{I: i} }
74 func NewValueMegaBytes(i uint64) ValueBytes { return ValueBytes{I: i * 1024 * 1024} }
76 func (t ValueBytes) String() string { return humanize.IBytes(t.I) }
77 func (t ValueBytes) Value() Value { return t }
79 func (t ValueBytes) Compare(other Value) int {
80 otherI := other.(ValueBytes).I
H A Dvalues_test.go66 Expect(ValueBytes{I: 1}.String()).To(Equal("1 B"))
78 Expect(ValueBytes{I: 1}.Value()).To(Equal(ValueBytes{I: 1}))
82 Expect(ValueBytes{I: 1}.Compare(ValueBytes{I: 1})).To(Equal(0))
83 Expect(ValueBytes{I: 1}.Compare(ValueBytes{I: 2})).To(Equal(-1))
84 Expect(ValueBytes{I: 2}.Compare(ValueBytes{I: 1})).To(Equal(1))
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/grpc/src/src/csharp/Grpc.Core.Tests/
H A DMetadataTest.cs40 CollectionAssert.AreEqual(new[] { (byte)'X', (byte)'Y', (byte)'Z' }, entry.ValueBytes); in AsciiEntry()
55 CollectionAssert.AreEqual(bytes, entry.ValueBytes); in BinaryEntry()
107 CollectionAssert.AreEqual(origBytes, entry.ValueBytes); in Entry_Immutable()
109 entry.ValueBytes[0] = 255; in Entry_Immutable()
110 CollectionAssert.AreEqual(origBytes, entry.ValueBytes); in Entry_Immutable()
123 CollectionAssert.AreEqual(bytes, entry.ValueBytes); in Entry_CreateUnsafe_Ascii()
137 CollectionAssert.AreEqual(bytes, entry.ValueBytes); in Entry_CreateUnsafe_Binary()
H A DAuthPropertyTest.cs48 CollectionAssert.AreEqual(valueBytes, authProperty.ValueBytes); in Create()
61 Assert.AreNotSame(valueBytes, authProperty.ValueBytes); in CreateUnsafe()
62 CollectionAssert.AreEqual(valueBytes, authProperty.ValueBytes); in CreateUnsafe()
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/vic/lib/apiservers/service/restapi/handlers/encode/
H A Dresources.go23 func AsBytes(value *int, units string) *models.ValueBytes {
28 return &models.ValueBytes{
36 func AsMiB(value *int) *models.ValueBytes {
/dports/devel/grpc130/grpc-1.30.2/src/csharp/Grpc.Core.Tests/
H A DMetadataTest.cs42 CollectionAssert.AreEqual(new[] { (byte)'X', (byte)'Y', (byte)'Z' }, entry.ValueBytes); in AsciiEntry()
57 CollectionAssert.AreEqual(bytes, entry.ValueBytes); in BinaryEntry()
109 CollectionAssert.AreEqual(origBytes, entry.ValueBytes); in Entry_Immutable()
111 entry.ValueBytes[0] = 255; in Entry_Immutable()
112 CollectionAssert.AreEqual(origBytes, entry.ValueBytes); in Entry_Immutable()
125 CollectionAssert.AreEqual(bytes, entry.ValueBytes); in Entry_CreateUnsafe_Ascii()
139 CollectionAssert.AreEqual(bytes, entry.ValueBytes); in Entry_CreateUnsafe_Binary()
H A DAuthPropertyTest.cs48 CollectionAssert.AreEqual(valueBytes, authProperty.ValueBytes); in Create()
61 Assert.AreNotSame(valueBytes, authProperty.ValueBytes); in CreateUnsafe()
62 CollectionAssert.AreEqual(valueBytes, authProperty.ValueBytes); in CreateUnsafe()
/dports/devel/grpc134/grpc-1.34.1/src/csharp/Grpc.Core.Tests/
H A DMetadataTest.cs42 CollectionAssert.AreEqual(new[] { (byte)'X', (byte)'Y', (byte)'Z' }, entry.ValueBytes); in AsciiEntry()
57 CollectionAssert.AreEqual(bytes, entry.ValueBytes); in BinaryEntry()
109 CollectionAssert.AreEqual(origBytes, entry.ValueBytes); in Entry_Immutable()
111 entry.ValueBytes[0] = 255; in Entry_Immutable()
112 CollectionAssert.AreEqual(origBytes, entry.ValueBytes); in Entry_Immutable()
125 CollectionAssert.AreEqual(bytes, entry.ValueBytes); in Entry_CreateUnsafe_Ascii()
139 CollectionAssert.AreEqual(bytes, entry.ValueBytes); in Entry_CreateUnsafe_Binary()
H A DAuthPropertyTest.cs48 CollectionAssert.AreEqual(valueBytes, authProperty.ValueBytes); in Create()
61 Assert.AreNotSame(valueBytes, authProperty.ValueBytes); in CreateUnsafe()
62 CollectionAssert.AreEqual(valueBytes, authProperty.ValueBytes); in CreateUnsafe()
/dports/devel/grpc/grpc-1.42.0/src/csharp/Grpc.Core.Tests/
H A DAuthPropertyTest.cs48 CollectionAssert.AreEqual(valueBytes, authProperty.ValueBytes); in Create()
61 Assert.AreNotSame(valueBytes, authProperty.ValueBytes); in CreateUnsafe()
62 CollectionAssert.AreEqual(valueBytes, authProperty.ValueBytes); in CreateUnsafe()
H A DMetadataTest.cs42 CollectionAssert.AreEqual(new[] { (byte)'X', (byte)'Y', (byte)'Z' }, entry.ValueBytes); in AsciiEntry()
57 CollectionAssert.AreEqual(bytes, entry.ValueBytes); in BinaryEntry()
109 CollectionAssert.AreEqual(origBytes, entry.ValueBytes); in Entry_Immutable()
111 entry.ValueBytes[0] = 255; in Entry_Immutable()
112 CollectionAssert.AreEqual(origBytes, entry.ValueBytes); in Entry_Immutable()
125 CollectionAssert.AreEqual(bytes, entry.ValueBytes); in Entry_CreateUnsafe_Ascii()
139 CollectionAssert.AreEqual(bytes, entry.ValueBytes); in Entry_CreateUnsafe_Binary()
/dports/devel/judy/judy-1.0.5/src/JudyCommon/
H A DJudyTables.c61 int ValueBytes, // bytes per Value in GenTable() argument
77 MaxWords = ROUNDUP((IndexBytes + ValueBytes) * LeafSize, BPW, OffsetWords); in GenTable()
90 BytesOfObject = (IndexBytes + ValueBytes) * Index; in GenTable()
163 if (! ValueBytes) return; in GenTable()
/dports/biology/sra-tools/sra-tools-2.11.0/ncbi-vdb/libs/klib/judy/
H A DJudyTablesGen.c55 int ValueBytes, // bytes per Value in GenTable() argument
71 MaxWords = ROUNDUP((IndexBytes + ValueBytes) * LeafSize, BPW, OffsetWords); in GenTable()
84 BytesOfObject = (IndexBytes + ValueBytes) * Index; in GenTable()
157 if (! ValueBytes) return; in GenTable()
/dports/biology/ncbi-vdb/ncbi-vdb-2.11.0/libs/klib/judy/
H A DJudyTablesGen.c55 int ValueBytes, // bytes per Value in GenTable() argument
71 MaxWords = ROUNDUP((IndexBytes + ValueBytes) * LeafSize, BPW, OffsetWords); in GenTable()
84 BytesOfObject = (IndexBytes + ValueBytes) * Index; in GenTable()
157 if (! ValueBytes) return; in GenTable()
/dports/databases/arrow/apache-arrow-6.0.1/go/arrow/array/
H A Dstring_test.go108 if !bytes.Equal([]byte(`hello世界bye`), arr.ValueBytes()) {
109 t.Fatalf("got=%q, want=%q", string(arr.ValueBytes()), `hello世界bye`)
127 if !bytes.Equal(v.ValueBytes(), []byte("bye")) {
128 t.Fatalf("got=%q, want=%q", string(v.ValueBytes()), "bye")
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/
H A DBasicTypeSorterBase.java26 import org.apache.hadoop.io.SequenceFile.ValueBytes;
191 public ValueBytes getValue() throws IOException { in getValue()
214 private static class InMemUncompressedBytes implements ValueBytes {
/dports/devel/hadoop/hadoop-1.2.1/src/mapred/org/apache/hadoop/mapred/
H A DBasicTypeSorterBase.java26 import org.apache.hadoop.io.SequenceFile.ValueBytes;
191 public ValueBytes getValue() throws IOException { in getValue()
214 private static class InMemUncompressedBytes implements ValueBytes {
H A DSequenceFileAsBinaryOutputFormat.java31 import org.apache.hadoop.io.SequenceFile.ValueBytes;
48 static protected class WritableValueBytes implements ValueBytes {
/dports/misc/perkeep/perkeep-0.11/pkg/blobserver/blobpacked/
H A Dwholefetch.go73 if err := conv.ParseFields(it.ValueBytes(), &wholeSize, &nZipWant); err != nil {
90 …if err := conv.ParseFields(it.ValueBytes(), &zp.zipRef, &zp.zipOff, &ignore, &zp.len); err != nil {
92 …return nil, 0, fmt.Errorf("blobpacked: error parsing meta key %q = %q: %v", k, it.ValueBytes(), er…
/dports/devel/hadoop/hadoop-1.2.1/src/core/org/apache/hadoop/io/
H A DSequenceFile.java624 public static interface ValueBytes { interface in SequenceFile
2000 public ValueBytes createValueBytes() { in createValueBytes()
2001 ValueBytes val = null; in createValueBytes()
2173 public synchronized int nextRawValue(ValueBytes val) in nextRawValue()
2412 private ValueBytes[] rawValues = new ValueBytes[keyOffsets.length];
2455 ValueBytes rawValue = in run()
2531 private ValueBytes[] grow(ValueBytes[] old, int newLength) { in grow()
2532 ValueBytes[] result = new ValueBytes[newLength]; in grow()
2605 ValueBytes getValue() throws IOException; in getValue()
2809 private ValueBytes rawValue;
[all …]
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/lib/output/
H A DSequenceFileAsBinaryOutputFormat.java30 import org.apache.hadoop.io.SequenceFile.ValueBytes;
51 static public class WritableValueBytes implements ValueBytes {
/dports/misc/perkeep/perkeep-0.11/pkg/sorted/
H A Dmem.go67 func (s *memIter) ValueBytes() []byte { func
84 str := string(s.ValueBytes())
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/
H A DSequenceFile.java589 public static interface ValueBytes { interface in SequenceFile
2444 public ValueBytes createValueBytes() { in createValueBytes()
2445 ValueBytes val = null; in createValueBytes()
2617 public synchronized int nextRawValue(ValueBytes val) in nextRawValue()
2880 private ValueBytes[] rawValues = new ValueBytes[keyOffsets.length];
2921 ValueBytes rawValue = in run()
2999 private ValueBytes[] grow(ValueBytes[] old, int newLength) { in grow()
3000 ValueBytes[] result = new ValueBytes[newLength]; in grow()
3076 ValueBytes getValue() throws IOException; in getValue()
3283 private ValueBytes rawValue;
[all …]
/dports/devel/hadoop/hadoop-1.2.1/src/mapred/org/apache/hadoop/mapreduce/lib/output/
H A DSequenceFileAsBinaryOutputFormat.java33 import org.apache.hadoop.io.SequenceFile.ValueBytes;
57 static public class WritableValueBytes implements ValueBytes {
/dports/devel/grpc130/grpc-1.30.2/src/csharp/Grpc.Core.Api/
H A DMetadata.cs112 return Get(key)?.ValueBytes; in GetValueBytes()
334 public byte[] ValueBytes property in Grpc.Core.Metadata.Entry

1234567