Search Options

Results per page
Sort
Preferred Languages
Advance

Results 681 - 690 of 2,283 for else (0.02 sec)

  1. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

              cookies.addAll(decodeHeaderAsJavaNetCookies(url, header))
            }
          }
        }
    
        return if (cookies != null) {
          Collections.unmodifiableList(cookies)
        } else {
          emptyList()
        }
      }
    
      /**
       * Convert a request header to OkHttp's cookies via [HttpCookie]. That extra step handles
       * multiple cookies in a single request header, which [Cookie.parse] doesn't support.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:10:43 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java

      ImmutableSortedMultiset<E> getSubMultiset(int from, int to) {
        checkPositionIndexes(from, to, length);
        if (from == to) {
          return emptyMultiset(comparator());
        } else if (from == 0 && to == length) {
          return this;
        } else {
          RegularImmutableSortedSet<E> subElementSet = elementSet.getSubSet(from, to);
          return new RegularImmutableSortedMultiset<>(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

        if (client) {
          // The client reads the initial SETTINGS frame.
          if (!nextFrame(true, handler)) {
            throw IOException("Required SETTINGS preface not received")
          }
        } else {
          // The server reads the CONNECTION_PREFACE byte string.
          val connectionPreface = source.readByteString(CONNECTION_PREFACE.size.toLong())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/UnsignedLongs.java

            "radix (%s) must be between Character.MIN_RADIX and Character.MAX_RADIX",
            radix);
        if (x == 0) {
          // Simply return "0"
          return "0";
        } else if (x > 0) {
          return Long.toString(x, radix);
        } else {
          char[] buf = new char[64];
          int i = buf.length;
          if ((radix & (radix - 1)) == 0) {
            // Radix is a power of two so we can avoid division.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 21:04:48 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/BuildScanInfoCollectingServices.kt

    ) {
        val gradleRootProject = when {
            project.name == "gradle" -> project.rootProject
            project.rootProject.name == "build-logic" -> rootProject.gradle.parent?.rootProject
            else -> project.gradle.parent?.rootProject
        }
    
        if (gradleRootProject != null && System.getenv("TEAMCITY_VERSION") != null) {
            val rootProjectName = rootProject.name
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Apr 24 03:34:53 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/ReleasedVersionsDetails.kt

        fun VersionNumber.format() =
            // reformat according to our versioning scheme, since toString() would typically convert 1.0 to 1.0.0
            GradleVersion.version("$major.${minor}${if (micro > 0) ".$micro" else ""}${if (qualifier != null) "-$qualifier" else ""}")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. cmd/endpoint.go

    				return ep, fmt.Errorf("invalid URL endpoint format: %w", err)
    			}
    
    			host = u.Host
    		} else {
    			var p int
    			p, err = strconv.Atoi(port)
    			if err != nil {
    				return ep, fmt.Errorf("invalid URL endpoint format: invalid port number")
    			} else if p < 1 || p > 65535 {
    				return ep, fmt.Errorf("invalid URL endpoint format: port number must be between 1 to 65535")
    			}
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  8. cmd/erasure-object.go

    	var errs []error
    
    	// Read metadata associated with the object from all disks.
    	if srcOpts.VersionID != "" {
    		metaArr, errs = readAllFileInfo(ctx, storageDisks, "", srcBucket, srcObject, srcOpts.VersionID, true, false)
    	} else {
    		metaArr, errs = readAllXL(ctx, storageDisks, srcBucket, srcObject, true, false)
    	}
    
    	readQuorum, writeQuorum, err := objectQuorumFromMeta(ctx, metaArr, errs, er.defaultParityCount)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

                });
                if (putMappingResponse.isAcknowledged()) {
                    logger.info("Created {} mapping.", index);
                } else {
                    logger.warn("Failed to create {} mapping.", index);
                }
            } else if (logger.isDebugEnabled()) {
                logger.debug("{} mapping exists.", index);
            }
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java

        long nanos = unit.toNanos(timeout);
        synchronized (lock) {
          while (true) {
            if (shutdown && runningTasks == 0) {
              return true;
            } else if (nanos <= 0) {
              return false;
            } else {
              long now = System.nanoTime();
              NANOSECONDS.timedWait(lock, nanos);
              nanos -= System.nanoTime() - now; // subtract the actual time we waited
            }
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top