Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1381 - 1390 of 2,189 for else_ (0.02 seconds)

  1. cmd/handler-api.go

    			apiRequestsMaxPerNode = int(maxMem / uint64(maxSetDrives*blockSize+int(blockSizeV1*2+blockSizeV2*2)))
    		} else {
    			// ram_per_request is (1MiB+32KiB) * driveCount \
    			//    + 2 * 1MiB (default erasure block size v2)
    			apiRequestsMaxPerNode = int(maxMem / uint64(maxSetDrives*blockSize+int(blockSizeV2*2)))
    		}
    	} else {
    		apiRequestsMaxPerNode = cfg.RequestsMax
    		if n := totalNodeCount(); n > 0 {
    			apiRequestsMaxPerNode /= n
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  2. cmd/signature-v4-utils.go

    	var (
    		v  []string
    		ok bool
    	)
    
    	if isRequestPresignedSignatureV4(r) {
    		v, ok = r.Form[xhttp.AmzContentSha256]
    		if !ok {
    			v, ok = r.Header[xhttp.AmzContentSha256]
    		}
    	} else {
    		v, ok = r.Header[xhttp.AmzContentSha256]
    	}
    
    	// Skip if no header was set.
    	if !ok {
    		return true
    	}
    
    	// If x-amz-content-sha256 is set and the value is not
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Nov 25 17:10:22 GMT 2024
    - 9.1K bytes
    - Click Count (0)
  3. cmd/sftp-server.go

    	if !ok {
    		return nil, errNoSuchUser
    	}
    
    	if globalSFTPTrustedCAPubkey != nil && pass == nil {
    		err := validateClientKeyIsTrusted(c, key)
    		if err != nil {
    			return nil, errAuthentication
    		}
    	} else {
    		// Temporary credentials are not allowed.
    		if ui.Credentials.IsTemp() {
    			return nil, errAuthentication
    		}
    		if subtle.ConstantTimeCompare([]byte(ui.Credentials.SecretKey), pass) != 1 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/netbios/NbtAddress.java

                if (entry == null) {
                    entry = new CacheEntry(hostName, addr, expiration);
                    ADDRESS_CACHE.put(hostName, entry);
                } else {
                    entry.address = addr;
                    entry.expiration = expiration;
                }
            }
        }
    
        static void cacheAddressArray(final NbtAddress[] addrs) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.7K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/HostnameVerifierTest.kt

          )
        val peerCertificate = session.peerCertificates[0] as X509Certificate
    
        if (isAndroid || platform.isConscrypt()) {
          assertThat(certificateSANs(peerCertificate)).containsExactly("bar.com")
        } else {
          assertThat(certificateSANs(peerCertificate)).containsExactly("bar.com", "������.co.jp")
        }
    
        assertThat(verifier.verify("foo.com", session)).isFalse()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 40.4K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                    }
                    break;
                case 5:
                    if (ch == '=') {
                        key = str.substring(mark, si).trim();
                        mark = si + 1;
                    } else if (ch == ',' || ch == ']') {
                        final String val = str.substring(mark, si).trim();
                        if (key == null) {
                            key = "endpoint";
                        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt

          if (contentLength == -1L && countBytes) {
            byteCountBuffer!!.clear()
            return -1L
          }
    
          sink.write(CRLF)
    
          if (countBytes) {
            byteCount += contentLength
          } else {
            body.writeTo(sink)
          }
    
          sink.write(CRLF)
        }
    
        sink!!.write(DASHDASH)
        sink.write(boundaryByteString)
        sink.write(DASHDASH)
        sink.write(CRLF)
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

                UpgradeOptions options = context.options();
                if (options.modelVersion().isPresent()) {
                    return options.modelVersion().get();
                } else if (options.all().orElse(false)) {
                    return "4.1.0";
                } else {
                    return "4.0.0";
                }
            }
    
            public boolean testIsPluginsEnabled(UpgradeContext context) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/repository/DefaultArtifactRepositoryFactory.java

            if (repositoryLayout instanceof ArtifactRepositoryLayout2 artifactRepositoryLayout2) {
                repository = artifactRepositoryLayout2.newMavenArtifactRepository(id, url, snapshots, releases);
            } else {
                repository = new MavenArtifactRepository(id, url, repositoryLayout, snapshots, releases);
            }
    
            return repository;
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.7K bytes
    - Click Count (1)
  10. samples/tlssurvey/src/main/kotlin/okhttp3/survey/RunSurvey.kt

      val currentVm = currentVm(ianaSuitesNew)
    
      val conscrypt =
        if (includeConscrypt) {
          Security.addProvider(Conscrypt.newProvider())
          conscrypt(ianaSuitesNew)
        } else {
          Client("Conscrypt", "Disabled", null, listOf())
        }
    
      val clients =
        listOf(
          okhttp,
          chrome80,
          firefox73,
          android9,
          safari12iOS,
          conscrypt,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.5K bytes
    - Click Count (0)
Back to Top