Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 110 for hex (0.13 sec)

  1. android/guava-tests/test/com/google/common/primitives/IntsTest.java

          assertWithMessage("Radix: " + radix)
              .that(Ints.tryParse(Long.toString((long) LEAST - 1, radix), radix))
              .isNull();
        }
        assertWithMessage("Hex string and dec parm").that(Ints.tryParse("FFFF", 10)).isNull();
        assertWithMessage("Mixed hex case").that((int) Ints.tryParse("ffFF", 16)).isEqualTo(65535);
      }
    
      /**
       * Encodes an integer as a string with given radix, then uses {@link Ints#tryParse(String, int)}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 28.4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

          if (closed) throw IOException("closed")
          if (!client) return // Nothing to write; servers don't send connection headers!
          if (logger.isLoggable(FINE)) {
            logger.fine(format(">> CONNECTION ${CONNECTION_PREFACE.hex()}"))
          }
          sink.write(CONNECTION_PREFACE)
          sink.flush()
        }
      }
    
      /** Applies `peerSettings` and then sends a settings ACK. */
      @Throws(IOException::class)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/LongsTest.java

                  Longs.tryParse(
                      BigInteger.valueOf(MIN_VALUE).subtract(BigInteger.ONE).toString(), radix))
              .isNull();
        }
        assertWithMessage("Hex string and dec parm").that(Longs.tryParse("FFFF", 10)).isNull();
        assertWithMessage("Mixed hex case")
            .that(Longs.tryParse("ffFF", 16).longValue())
            .isEqualTo(65535);
      }
    
      /**
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/LongsTest.java

                  Longs.tryParse(
                      BigInteger.valueOf(MIN_VALUE).subtract(BigInteger.ONE).toString(), radix))
              .isNull();
        }
        assertWithMessage("Hex string and dec parm").that(Longs.tryParse("FFFF", 10)).isNull();
        assertWithMessage("Mixed hex case")
            .that(Longs.tryParse("ffFF", 16).longValue())
            .isEqualTo(65535);
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30K bytes
    - Viewed (0)
  5. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

                  call: Call,
                  connection: Connection,
                ) {
                  val sslSocket = connection.socket() as SSLSocket
    
                  sessionIds.add(sslSocket.session.id.toByteString().hex())
                }
              },
            ),
          ).build()
    
        server.enqueue(MockResponse(body = "abc1"))
        server.enqueue(MockResponse(body = "abc2"))
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 27K bytes
    - Viewed (1)
  6. docs/zh/docs/tutorial/security/oauth2-jwt.md

    ## 处理 JWT 令牌
    
    导入已安装的模块。
    
    创建用于 JWT 令牌签名的随机密钥。
    
    使用以下命令,生成安全的随机密钥:
    
    <div class="termy">
    
    ```console
    $ openssl rand -hex 32
    
    09d25e094faa6ca2556c818166b7a9563b93f7099f6f0f4caa6cf63b88e8d3e7
    ```
    
    </div>
    
    然后,把生成的密钥复制到变量**SECRET_KEY**,注意,不要使用本例所示的密钥。
    
    创建指定 JWT 令牌签名算法的变量 **ALGORITHM**,本例中的值为 `"HS256"`。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  7. cmd/bucket-handlers.go

    		if err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    
    		// Set the correct hex md5sum for the fan-out stream.
    		fanOutOpts.MD5Hex = hex.EncodeToString(md5w.Sum(nil))
    
    		concurrentSize := 100
    		if runtime.GOMAXPROCS(0) < concurrentSize {
    			concurrentSize = runtime.GOMAXPROCS(0)
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  8. cmd/storage-rest-server.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bufio"
    	"context"
    	"encoding/binary"
    	"encoding/gob"
    	"encoding/hex"
    	"errors"
    	"fmt"
    	"io"
    	"net/http"
    	"os/user"
    	"path"
    	"runtime"
    	"runtime/debug"
    	"strconv"
    	"strings"
    	"sync"
    	"time"
    
    	"github.com/minio/minio/internal/grid"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/security/oauth2-jwt.md

    Import the modules installed.
    
    Create a random secret key that will be used to sign the JWT tokens.
    
    To generate a secure random secret key use the command:
    
    <div class="termy">
    
    ```console
    $ openssl rand -hex 32
    
    09d25e094faa6ca2556c818166b7a9563b93f7099f6f0f4caa6cf63b88e8d3e7
    ```
    
    </div>
    
    And copy the output to the variable `SECRET_KEY` (don't use the one in the example).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/RequestTest.kt

            " user-agent:OkHttp" +
            "]}",
        )
      }
    
      private fun bodyToHex(body: RequestBody): String {
        val buffer = Buffer()
        body.writeTo(buffer)
        return buffer.readByteString().hex()
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.4K bytes
    - Viewed (0)
Back to top