Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3061 - 3070 of 3,913 for getT (0.02 sec)

  1. android/guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

        try {
          MessageDigest digest = MessageDigest.getInstance(algorithmName);
          assertEquals(
              HashCode.fromBytes(digest.digest(input)), ALGORITHMS.get(algorithmName).hashBytes(input));
          for (int bytes = 4; bytes <= digest.getDigestLength(); bytes++) {
            assertEquals(
                HashCode.fromBytes(Arrays.copyOf(digest.digest(input), bytes)),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/AbstractByteHasher.java

          update(b.array(), b.arrayOffset() + b.position(), b.remaining());
          Java8Compatibility.position(b, b.limit());
        } else {
          for (int remaining = b.remaining(); remaining > 0; remaining--) {
            update(b.get());
          }
        }
      }
    
      /** Updates the sink with the given number of bytes from the buffer. */
      @CanIgnoreReturnValue
      private Hasher update(int bytes) {
        try {
          update(scratch.array(), 0, bytes);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableMapEntrySet.java

        return map().size();
      }
    
      @Override
      public boolean contains(@CheckForNull Object object) {
        if (object instanceof Entry) {
          Entry<?, ?> entry = (Entry<?, ?>) object;
          V value = map().get(entry.getKey());
          return value != null && value.equals(entry.getValue());
        }
        return false;
      }
    
      @Override
      boolean isPartialView() {
        return map().isPartialView();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. docs/debugging/healing-bin/main.go

    	app.Action = func(c *cli.Context) error {
    		if !c.Args().Present() {
    			cli.ShowAppHelpAndExit(c, 1) // last argument is exit code
    		}
    
    		ht := make(map[string]map[string]interface{})
    		file := c.Args().Get(0)
    		if strings.HasSuffix(file, ".zip") {
    			var sz int64
    			f, err := os.Open(file)
    			if err != nil {
    				return err
    			}
    			if st, err := f.Stat(); err == nil {
    				sz = st.Size()
    			}
    			defer f.Close()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  5. docs/em/docs/advanced/async-tests.md

    ///
    
    โคด๏ธ ๐Ÿ‘ฅ ๐Ÿ’ช โœ `AsyncClient` โฎ๏ธ ๐Ÿ“ฑ, &amp; ๐Ÿ“จ ๐Ÿ” ๐Ÿ“จ โšซ๏ธ, โš™๏ธ `await`.
    
    ```Python hl_lines="9-12"
    {!../../docs_src/async_tests/test_main.py!}
    ```
    
    ๐Ÿ‘‰ ๐ŸŒ“:
    
    ```Python
    response = client.get('/')
    ```
    
    ...๐Ÿ‘ˆ ๐Ÿ‘ฅ โš™๏ธ โš’ ๐Ÿ‘† ๐Ÿ“จ โฎ๏ธ `TestClient`.
    
    /// tip
    
    ๐Ÿ—’ ๐Ÿ‘ˆ ๐Ÿ‘ฅ โš™๏ธ ๐Ÿ”/โŒ› โฎ๏ธ ๐Ÿ†• `AsyncClient` - ๐Ÿ“จ ๐Ÿ”.
    
    ///
    
    ## ๐ŸŽ ๐Ÿ” ๐Ÿ”ข ๐Ÿค™
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultToolchainManager.java

                return new MappedList<>(Arrays.asList(toolchains), this::toToolchain);
            } catch (MisconfiguredToolchainException e) {
                throw new ToolchainManagerException("Unable to get toochains for type " + type, e);
            }
        }
    
        @Override
        public void storeToolchainToBuildContext(Session session, Toolchain toolchain) throws ToolchainManagerException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. README.md

    For hosts with firewall-cmd enabled (CentOS), you can use `firewall-cmd` command to allow traffic to specific ports. Use below commands to allow access to port 9000
    
    ```sh
    firewall-cmd --get-active-zones
    ```
    
    This command gets the active zone(s). Now, apply port rules to the relevant zones returned above. For example if the zone is `public`, use
    
    ```sh
    firewall-cmd --zone=public --add-port=9000/tcp --permanent
    ```
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:34:11 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ntlmssp/av/AvPairs.java

                }
            }
            return false;
        }
    
    
        /**
         * 
         * @param pairs
         * @param type
         * @return first occurance of the given type
         */
        public static AvPair get ( List<AvPair> pairs, int type ) {
            Iterator<AvPair> it = pairs.iterator();
            while ( it.hasNext() ) {
                AvPair p = it.next();
                if ( p.getType() == type ) {
                    return p;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

                    for ( KerberosKey key : keys ) {
                        keysByAlgo.put(key.getKeyType(), key);
                    }
    
                    KerberosKey serverKey = keysByAlgo.get(encType.getValue().intValue());
                    if ( keysByAlgo.isEmpty() || serverKey == null ) {
                        throw new PACDecodingException("Kerberos key not found for eType " + encType.getValue());
                    }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    ///
    
    /// info
    
    In this example we use invented custom headers `X-Key` and `X-Token`.
    
    But in real cases, when implementing security, you would get more benefits from using the integrated [Security utilities (the next chapter)](../security/index.md){.internal-link target=_blank}.
    
    ///
    
    ## Dependencies errors and return values
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top