Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 174 for Hex (0.03 sec)

  1. src/runtime/export_debuglog_test.go

    func (l *dlogger) I(x int) *dlogger      { return l.i(x) }
    func (l *dlogger) I16(x int16) *dlogger  { return l.i16(x) }
    func (l *dlogger) U64(x uint64) *dlogger { return l.u64(x) }
    func (l *dlogger) Hex(x uint64) *dlogger { return l.hex(x) }
    func (l *dlogger) P(x any) *dlogger      { return l.p(x) }
    func (l *dlogger) S(x string) *dlogger   { return l.s(x) }
    func (l *dlogger) PC(x uintptr) *dlogger { return l.pc(x) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 15 16:49:45 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. src/crypto/ed25519/ed25519vectors_test.go

    	if err != nil {
    		t.Fatalf("failed to read ed25519vectors.json: %v", err)
    	}
    	return jsonVectors
    }
    
    func decodeHex(t *testing.T, s string) []byte {
    	t.Helper()
    	b, err := hex.DecodeString(s)
    	if err != nil {
    		t.Errorf("invalid hex: %v", err)
    	}
    	return b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 25 14:52:51 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  3. pkg/volume/util/attach_limit_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package util
    
    import (
    	"crypto/sha1"
    	"encoding/hex"
    	"testing"
    
    	"k8s.io/api/core/v1"
    	v1helper "k8s.io/kubernetes/pkg/apis/core/v1/helper"
    )
    
    func TestGetCSIAttachLimitKey(t *testing.T) {
    	// When driverName is less than 39 characters
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 05 16:29:00 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/dev_linux.go

    // glibc sources:
    //
    // dev_t in glibc is 64-bit, with 32-bit major and minor numbers. glibc's
    // default encoding is MMMM Mmmm mmmM MMmm, where M is a hex digit of the major
    // number and m is a hex digit of the minor number. This is backward compatible
    // with legacy systems where dev_t is 16 bits wide, encoded as MMmm. It is also
    // backward compatible with the Linux kernel, which for some architectures uses
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 23 19:01:58 UTC 2018
    - 1.5K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_modinfo.txt

    -- x/unused/main.go --
    // The unused binary does not access runtime/debug.modinfo.
    package main
    
    import (
    	"bytes"
    	"encoding/hex"
    	"log"
    	"os"
    
    	_ "rsc.io/quote"
    )
    
    func main() {
    	b, err := os.ReadFile(os.Args[0])
    	if err != nil {
    		log.Fatal(err)
    	}
    
    	infoStart, _ := hex.DecodeString("3077af0c9274080241e1c107e6d618e6")
    	if !bytes.Contains(b, infoStart) {
    		log.Fatal("infoStart not found in binary")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  6. internal/config/crypto_test.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package config
    
    import (
    	"bytes"
    	"encoding/hex"
    	"io"
    	"testing"
    
    	"github.com/minio/minio/internal/kms"
    )
    
    var encryptDecryptTests = []struct {
    	Data    []byte
    	Context kms.Context
    }{
    	{
    		Data:    nil,
    		Context: nil,
    	},
    	{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. src/crypto/internal/edwards25519/scalar_test.go

    	if got := hex.EncodeToString(p.Bytes()); got != want {
    		t.Errorf("random: got %q, want %q", got, want)
    	}
    
    	zero := "0000000000000000000000000000000000000000000000000000000000000000"
    	s, _ = new(Scalar).SetBytesWithClamping(decodeHex(zero))
    	p = new(Point).ScalarBaseMult(s)
    	want = "693e47972caf527c7883ad1b39822f026f47db2ab0e1919955b8993aa04411d1"
    	if got := hex.EncodeToString(p.Bytes()); got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:26:17 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  8. pkg/util/hash/hash.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package hash
    
    import (
    	"encoding/hex"
    
    	"github.com/cespare/xxhash/v2"
    )
    
    type Hash interface {
    	Write(p []byte) (n int)
    	WriteString(s string) (n int)
    	Sum() string
    	Sum64() uint64
    }
    
    type instance struct {
    	hash *xxhash.Digest
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 21 20:24:14 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

        }
      }
    
      /** Helper to manually escape a 7-bit ascii character */
      private String escapeAscii(char c) {
        Preconditions.checkArgument(c < 128);
        String hex = "0123456789ABCDEF";
        return "%" + hex.charAt((c >> 4) & 0xf) + hex.charAt(c & 0xf);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  10. src/mime/quotedprintable/reader_test.go

    	}
    	slices.Sort(outcomes)
    	got := strings.Join(outcomes, "\n")
    	want := `OK: 28934
    invalid bytes after =: 3949
    quotedprintable: invalid hex byte 0x0d: 2048
    unexpected EOF: 194`
    	if testing.Short() {
    		want = `OK: 896
    invalid bytes after =: 100
    quotedprintable: invalid hex byte 0x0d: 26
    unexpected EOF: 3`
    	}
    
    	if got != want {
    		t.Errorf("Got:\n%s\nWant:\n%s", got, want)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top