Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 738 for hosta (0.02 sec)

  1. internal/rest/client.go

    }
    
    // Given a string of the form "host", "host:port", or "[ipv6::address]:port",
    // return true if the string includes a port.
    func hasPort(s string) bool { return strings.LastIndex(s, ":") > strings.LastIndex(s, "]") }
    
    // removeEmptyPort strips the empty port in ":port" to ""
    // as mandated by RFC 3986 Section 6.2.3.
    func removeEmptyPort(host string) string {
    	if hasPort(host) {
    		return strings.TrimSuffix(host, ":")
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. buildscripts/heal-inconsistent-versions.sh

    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	"${PWD}/mc" mb --with-versioning minio/bucket
    
    	for i in $(seq 1 4); do
    		"${PWD}/mc" cp /etc/hosts minio/bucket/testobj
    
    		sudo chown -R root. "${WORK_DIR}/disk${i}"
    
    		"${PWD}/mc" cp /etc/hosts minio/bucket/testobj
    
    		sudo chown -R ${USER}. "${WORK_DIR}/disk${i}"
    	done
    
    	for vid in $("${PWD}/mc" ls --json --versions minio/bucket/testobj | jq -r .versionId); do
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 26 05:07:25 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. docs/iam/policies/pbac-tests.sh

    ret=$?
    if [ $ret -eq 0 ]; then
    	echo "BUG: PutObject to bucket: multi-key-poc without sse-kms should fail. Succedded"
    	exit 1
    fi
    
    mc cp /etc/hosts myminio1/multi-key-poc/hosts --enc-kms "myminio1/multi-key-poc/hosts=minio-default-key"
    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "BUG: PutObject to bucket: multi-key-poc with valid sse-kms should succeed. Failed"
    	exit 1
    fi
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 25 01:15:27 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/FessBoot.java

                    fessLogPath = "../../logs";
                }
                op.replace("fess.log.path", fessLogPath.replace("\\", "/"));
            }).asYouLikeIt(resource -> {
                final Host host = resource.getHost();
                if (host instanceof final StandardHost standardHost) {
                    standardHost.setErrorReportValveClass(SuppressErrorReportValve.class.getName());
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. cmd/signature-v4-utils.go

    	reqQueries := r.Form
    	// find whether "host" is part of list of signed headers.
    	// if not return ErrUnsignedHeaders. "host" is mandatory.
    	if !slices.Contains(signedHeaders, "host") {
    		return nil, ErrUnsignedHeaders
    	}
    	extractedSignedHeaders := make(http.Header)
    	for _, header := range signedHeaders {
    		// `host` will not be found in the headers, can be found in r.Host.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. cmd/signature-v4_test.go

    				"X-Amz-SignedHeaders":  "host;x-amz-content-sha256;x-amz-date",
    				"X-Amz-Credential":     fmt.Sprintf(credentialTemplate, accessKeyID, now.Format(yyyymmdd), "us-west-1"),
    				"X-Amz-Content-Sha256": payloadSHA256,
    			},
    			region:   "us-west-1",
    			expected: ErrUnsignedHeaders,
    		},
    		// (3) Should fail to extract headers if the host header is not signed.
    		{
    			queryParams: map[string]string{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  7. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

      fun encodeQuery(
        host: String,
        type: Int,
      ): ByteString =
        Buffer().apply {
          writeShort(0) // query id
          writeShort(256) // flags with recursion
          writeShort(1) // question count
          writeShort(0) // answerCount
          writeShort(0) // authorityResourceCount
          writeShort(0) // additional
    
          val nameBuf = Buffer()
          val labels = host.split('.').dropLastWhile { it.isEmpty() }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/Handler.java

        protected void parseURL ( URL u, String spec, int start, int limit ) {
            String host = u.getHost();
            String path, ref;
            int port;
    
            if ( spec.equals("smb://") ) {
                spec = "smb:////";
                limit += 2;
            }
            else if ( spec.startsWith("smb://") == false && host != null && host.length() == 0 ) {
                spec = "//" + spec;
                limit += 2;
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 06 09:14:24 UTC 2020
    - 2.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/VirtualHostHelper.java

            return LaRequestUtil.getOptionalRequest().map(req -> {
                for (final Tuple3<String, String, String> host : vHosts) {
                    final String headerValue = req.getHeader(host.getValue1());
                    if (host.getValue2().equalsIgnoreCase(headerValue)) {
                        return func.apply(host.getValue3());
                    }
                }
                return defaultValue;
            }).orElse(defaultValue);
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. cmd/endpoint-ellipses_test.go

    		{
    			[]string{"http://host{0...5}/data{1...28}"},
    			[]uint64{168},
    			[][]uint64{{12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12}},
    			12,
    			true,
    		},
    		// Incorrect custom set drive count.
    		{
    			[]string{"http://host{0...5}/data{1...28}"},
    			[]uint64{168},
    			nil,
    			10,
    			false,
    		},
    		// Failure not divisible number of disks.
    		{
    			[]string{"http://host{1...11}/data{1...11}"},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.2K bytes
    - Viewed (0)
Back to top