- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 422 for Hex (0.06 sec)
-
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) -
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) -
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) -
src/runtime/os2_aix.go
if int32(r) == -1 { println("syscall munmap failed: ", hex(err)) throw("syscall munmap") } } //go:nosplit func madvise(addr unsafe.Pointer, n uintptr, flags int32) { r, err := syscall3(&libc_madvise, uintptr(addr), uintptr(n), uintptr(flags)) if int32(r) == -1 { println("syscall madvise failed: ", hex(err)) throw("syscall madvise") } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 20.9K bytes - Viewed (0) -
pkg/wasm/imagefetcher_test.go
t.Fatal(err) } if string(actual) != exp { t.Errorf("ImageFetcher.binaryFetcher got %s, but want '%s'", string(actual), exp) } if actualDiget != d.Hex { t.Errorf("ImageFetcher.binaryFetcher got digest %s, but want '%s'", actualDiget, d.Hex) } }) t.Run("OCI standard", func(t *testing.T) { ref := fmt.Sprintf("%s/test/valid/oci_standard", u.Host) exp := "this is wasm plugin"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Feb 05 04:15:17 UTC 2023 - 16.3K bytes - Viewed (0) -
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) -
cmd/local-locker_test.go
var tmp [16]byte rng.Read(tmp[:]) res := []string{hex.EncodeToString(tmp[:])} for i := 0; i < readers; i++ { rng.Read(tmp[:]) ok, err := l.RLock(context.Background(), dsync.LockArgs{ UID: uuid.NewString(), Resources: res, Source: hex.EncodeToString(tmp[:8]), Owner: hex.EncodeToString(tmp[8:]), Quorum: 0, })
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun Mar 05 04:57:35 UTC 2023 - 11.8K bytes - Viewed (0) -
src/crypto/rsa/pkcs1v15_test.go
t.Errorf("#%d %s", i, err) } expected, _ := hex.DecodeString(test.out) if !bytes.Equal(s, expected) { t.Errorf("#%d got: %x want: %x", i, s, expected) } } } func TestVerifyPKCS1v15(t *testing.T) { for i, test := range signPKCS1v15Tests { h := sha1.New() h.Write([]byte(test.in)) digest := h.Sum(nil) sig, _ := hex.DecodeString(test.out)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 15 00:16:30 UTC 2022 - 8.6K bytes - Viewed (0) -
releasenotes/notes/43765.yaml
apiVersion: release-notes/v2 kind: feature area: istioctl issue: - 43765 releaseNotes: - |
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 09 08:47:20 UTC 2023 - 192 bytes - Viewed (0) -
src/cmd/asm/internal/asm/endtoend_test.go
// no comment case 2: // might be printed form or hex note := strings.TrimSpace(parts[1]) if isHexes(note) { hexes = note } else { printed = note } case 3: // printed form, then hex printed = strings.TrimSpace(parts[1]) hexes = strings.TrimSpace(parts[2]) if !isHexes(hexes) { t.Errorf("%s:%d: malformed hex instruction encoding: %s", input, lineno, line) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 07 18:42:59 UTC 2023 - 11.6K bytes - Viewed (0)