Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 133 for hex (0.14 sec)

  1. 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,
    							})
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 05 04:57:35 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/text/JsonUtil.java

                    break;
                default:
                    if (c < ' ') {
                        final String hex = Integer.toHexString(c);
                        buf.append("\\u");
                        for (int j = 0; j < 4 - hex.length(); j++) {
                            buf.append('0');
    
                        }
                        buf.append(hex);
                    } else {
                        buf.append(c);
                    }
                }
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  3. cmd/signature-v4.go

    }
    
    // compareSignatureV4 returns true if and only if both signatures
    // are equal. The signatures are expected to be HEX encoded strings
    // according to the AWS S3 signature V4 spec.
    func compareSignatureV4(sig1, sig2 string) bool {
    	// The CTC using []byte(str) works because the hex encoding
    	// is unique for a sequence of bytes. See also compareSignatureV2.
    	return subtle.ConstantTimeCompare([]byte(sig1), []byte(sig2)) == 1
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  4. 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);
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  5. common/config/sass-lint.yml

      force-pseudo-nesting: 0
      function-name-format: 2
      hex-length: 0
      hex-notation: 2
      id-name-format: 2
      indentation:
        - 2
        -
          size: 4
      leading-zero:
        - 2
        -
          include: false
      max-file-line-count: 0
      max-file-length: 0
      mixins-before-declarations: 2
      no-attribute-selectors: 0
      no-color-hex: 0
      no-color-keywords: 0
      no-color-literals: 0
      no-combinators: 0
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Sep 11 23:32:21 GMT 2019
    - 2K bytes
    - Viewed (0)
  6. internal/hash/reader_test.go

    		t.Errorf("Expected size 4, got %d", r.ActualSize())
    	}
    	expectedMD5, err := hex.DecodeString("e2fc714c4727ee9395f324cd2e7f331f")
    	if err != nil {
    		t.Fatal(err)
    	}
    	if !bytes.Equal(r.MD5Current(), expectedMD5) {
    		t.Errorf("Expected md5hex \"e2fc714c4727ee9395f324cd2e7f331f\", got %s", hex.EncodeToString(r.MD5Current()))
    	}
    	expectedSHA256, err := hex.DecodeString("88d4266fd4e6338d13b845fcf289579d209c897823b9217da3e161936f031589")
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  7. 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)
    			}
    		}
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  8. cmd/streaming-signature-v4.go

    }
    
    func (cr *s3ChunkedReader) Close() (err error) {
    	return nil
    }
    
    // Now, we read one chunk from the underlying reader.
    // A chunk has the following format:
    //
    //	<chunk-size-as-hex> + ";chunk-signature=" + <signature-as-hex> + "\r\n" + <payload> + "\r\n"
    //
    // First, we read the chunk size but fail if it is larger
    // than 16 MiB. We must not accept arbitrary large chunks.
    // One 16 MiB is a reasonable max limit.
    //
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/NtlmNtHashAuthenticator.java

         * 
         * @param domain
         * @param username
         * @param passwordHashHex
         *            NT password hash, hex encoded
         */
        public NtlmNtHashAuthenticator ( String domain, String username, String passwordHashHex ) {
            this(domain, username, Hex.decode(passwordHashHex));
        }
    
    
        private NtlmNtHashAuthenticator ( byte[] passwordHash ) {
            super();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 2.5K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v1.go

    		Hash:      hex.EncodeToString(c.Hash),
    	}
    	return json.Marshal(info)
    }
    
    // UnmarshalJSON - custom checksum info unmarshaller
    func (c *ChecksumInfo) UnmarshalJSON(data []byte) error {
    	var info checksumInfoJSON
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	if err := json.Unmarshal(data, &info); err != nil {
    		return err
    	}
    	sum, err := hex.DecodeString(info.Hash)
    	if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8.2K bytes
    - Viewed (0)
Back to top