Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1761 - 1770 of 1,882 for these (0.08 sec)

  1. src/archive/zip/writer_test.go

    		t.Errorf("unexpected crc, compress and uncompressed size to be 0 was: %v", b[14:26])
    	}
    
    	binary.LittleEndian.PutUint32(sig[:], uint32(dataDescriptorSignature))
    	if bytes.Contains(b, sig[:]) {
    		t.Error("there should be no data descriptor")
    	}
    }
    
    func TestWriterCopy(t *testing.T) {
    	// make a zip file
    	buf := new(bytes.Buffer)
    	w := NewWriter(buf)
    	for _, wt := range writeTests {
    		testCreate(t, w, &wt)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

    internal fun inet6AddressToAscii(address: ByteArray): String {
      // Go through the address looking for the longest run of 0s. Each group is 2-bytes.
      // A run must be longer than one group (section 4.2.2).
      // If there are multiple equal runs, the first one must be used (section 4.2.3).
      var longestRunOffset = -1
      var longestRunLength = 0
      run {
        var i = 0
        while (i < address.size) {
          val currentRunOffset = i
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. cni/README.md

        - shared code with istio-init container
        - it will generate an iptables-save config, based on annotations/labels and other settings, and apply it.
    
    ### CmdAdd Sidecar Workflow
    
    `CmdAdd` is triggered when there is a new pod created. This runs on the node, in a chain of CNI plugins - Istio is
    run after the main CNI sets up the pod IP and networking.
    
    1. Check k8s pod namespace against exclusion list (plugin config)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jul 17 23:10:17 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Streams.java

            ? ((Collection<T>) iterable).stream()
            : StreamSupport.stream(iterable.spliterator(), false);
      }
    
      /**
       * Returns {@link Collection#stream}.
       *
       * @deprecated There is no reason to use this; just invoke {@code collection.stream()} directly.
       */
      @Deprecated
      @InlineMe(replacement = "collection.stream()")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  5. fastapi/security/oauth2.py

        This way, multiple dependencies can have different scopes, even when used in the
        same *path operation*. And with this, you can access all the scopes required in
        all those dependencies in a single place.
    
        Read more about it in the
        [FastAPI docs for OAuth2 scopes](https://fastapi.tiangolo.com/advanced/security/oauth2-scopes/).
        """
    
        def __init__(
            self,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  6. cmd/erasure-metadata-utils.go

    			dataDir = ddir
    		}
    	}
    
    	if max >= writeQuorum {
    		return dataDir
    	}
    
    	return ""
    }
    
    // Returns number of errors that occurred the most (incl. nil) and the
    // corresponding error value. NB When there is more than one error value that
    // occurs maximum number of times, the error value returned depends on how
    // golang's map orders keys. This doesn't affect correctness as long as quorum
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. cmd/local-locker.go

    		Timestamp:       now.UnixNano(),
    		TimeLastRefresh: now.UnixNano(),
    		Quorum:          *args.Quorum,
    	}
    	lri, ok := l.lockMap[resource]
    	if ok {
    		if reply = !isWriteLock(lri); reply {
    			// Unless there is a write lock
    			l.lockMap[resource] = append(l.lockMap[resource], lrInfo)
    			l.lockUID[formatUUID(args.UID, 0)] = resource
    		}
    	} else {
    		// No locks held on the given name, so claim (first) read lock
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

         * hashes were used to construct this <tt>NtlmPasswordAuthentication</tt>
         * object which will be the case when NTLM HTTP Authentication is
         * used. There is no way to retrieve a users password in plain text unless
         * it is supplied by the user at runtime.
         * 
         * @return the password
         */
        public String getPassword () {
            return this.password;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 18.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/escape/UnicodeEscaper.java

     * href="http://en.wikipedia.org/wiki/UTF-16">UTF16</a> characters in isolation and may not cope
     * when it encounters surrogate pairs. This class facilitates the correct escaping of all Unicode
     * characters.
     *
     * <p>As there are important reasons, including potential security issues, to handle Unicode
     * correctly if you are considering implementing a new escaper you should favor using UnicodeEscaper
     * wherever possible.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 13.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/UniAddress.java

         * machine name like "jcifs.samba.org",  or an IP address like "192.168.1.15".
         *
         * @param hostname NetBIOS or DNS hostname to resolve
         * @throws java.net.UnknownHostException if there is an error resolving the name
         */
    
        public static UniAddress getByName( String hostname )
                                            throws UnknownHostException {
            return getByName( hostname, false );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 16.2K bytes
    - Viewed (0)
Back to top