Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 120 for Rd (0.01 sec)

  1. cmd/storage-rest-common_gen_test.go

    	en.Flush()
    }
    
    func BenchmarkDecodensScannerOptions(b *testing.B) {
    	v := nsScannerOptions{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    	rd := msgp.NewEndlessReader(buf.Bytes(), b)
    	dc := msgp.NewReader(rd)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		err := v.DecodeMsg(dc)
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. internal/dsync/lock-args_gen_test.go

    	}
    	en.Flush()
    }
    
    func BenchmarkDecodeLockArgs(b *testing.B) {
    	v := LockArgs{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    	rd := msgp.NewEndlessReader(buf.Bytes(), b)
    	dc := msgp.NewReader(rd)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		err := v.DecodeMsg(dc)
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. src/internal/trace/resources.go

    func MakeResourceID[T interface{ GoID | ProcID | ThreadID }](id T) ResourceID {
    	var rd ResourceID
    	var a any = id
    	switch a.(type) {
    	case GoID:
    		rd.Kind = ResourceGoroutine
    	case ProcID:
    		rd.Kind = ResourceProc
    	case ThreadID:
    		rd.Kind = ResourceThread
    	}
    	rd.id = int64(id)
    	return rd
    }
    
    // Goroutine obtains a GoID from the resource ID.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. src/os/os_windows_test.go

    }
    
    func (rd *reparseData) addSubstituteNameNoNUL(name string) {
    	rd.substituteName.offset, rd.substituteName.length = rd.addStringNoNUL(name)
    }
    
    func (rd *reparseData) addPrintNameNoNUL(name string) {
    	rd.printName.offset, rd.printName.length = rd.addStringNoNUL(name)
    }
    
    // pathBuffeLen returns length of rd pathBuf in bytes.
    func (rd *reparseData) pathBuffeLen() uint16 {
    	return uint16(len(rd.pathBuf)) * 2
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/arm64/doc.go

    The instructions are MOVK(W), MOVZ(W) and MOVN(W), the assembly syntax is "op $(uimm16<<shift), <Rd>". The <uimm16>
    is the 16-bit unsigned immediate, in the range 0 to 65535; For the 32-bit variant, the <shift> is 0 or 16, for the
    64-bit variant, the <shift> is 0, 16, 32 or 48.
    
    The current Go assembler does not accept zero shifts, such as "op $0, Rd" and "op $(0<<(16|32|48)), Rd" instructions.
    
    Examples:
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:21:42 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/converter/KatakanaConverter.java

        }
    
        protected String toKatakana(final String inputStr) throws IOException {
            final StringBuilder kanaBuf = new StringBuilder();
    
            final Reader rd = new StringReader(inputStr);
            try (TokenStream stream = createTokenStream(rd)) {
                if (stream == null) {
                    throw new IOException("Invalid tokenizer.");
                }
                stream.reset();
    
                int offset = 0;
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. cmd/background-newdisks-heal-ops_gen_test.go

    	}
    	en.Flush()
    }
    
    func BenchmarkDecodehealingTracker(b *testing.B) {
    	v := healingTracker{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    	rd := msgp.NewEndlessReader(buf.Bytes(), b)
    	dc := msgp.NewReader(rd)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		err := v.DecodeMsg(dc)
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  8. internal/bucket/bandwidth/monitor_gen_test.go

    }
    
    func BenchmarkDecodeBucketBandwidthReport(b *testing.B) {
    	v := BucketBandwidthReport{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    	rd := msgp.NewEndlessReader(buf.Bytes(), b)
    	dc := msgp.NewReader(rd)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		err := v.DecodeMsg(dc)
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. cmd/tier-last-day-stats_gen_test.go

    	en.Flush()
    }
    
    func BenchmarkDecodeDailyAllTierStats(b *testing.B) {
    	v := DailyAllTierStats{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    	rd := msgp.NewEndlessReader(buf.Bytes(), b)
    	dc := msgp.NewReader(rd)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		err := v.DecodeMsg(dc)
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. src/compress/bzip2/bzip2_test.go

    			"425a6836314159265359b1f7404b000000400040002000217d184682ee48a70a" +
    			"12163ee80960",
    		),
    		fail: true,
    	}}
    
    	for i, v := range vectors {
    		rd := NewReader(bytes.NewReader(v.input))
    		buf, err := io.ReadAll(rd)
    
    		if fail := bool(err != nil); fail != v.fail {
    			if fail {
    				t.Errorf("test %d (%s), unexpected failure: %v", i, v.desc, err)
    			} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 6.3K bytes
    - Viewed (0)
Back to top