Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 441 - 450 of 1,494 for else (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. internal/config/identity/plugin/config.go

    	h.Lock()
    	defer h.Unlock()
    
    	// Update connectivity times
    	if isSuccess {
    		if reqStartTime.After(h.LastCheckSuccess) {
    			h.LastCheckSuccess = reqStartTime
    		}
    	} else {
    		if reqStartTime.After(h.LastCheckFailure) {
    			h.LastCheckFailure = reqStartTime
    		}
    	}
    
    	// Round the request time *down* to whole minute.
    	reqTimeMinute := reqStartTime.Truncate(time.Minute)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  2. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/merge/MavenToolchainMerger.java

                ToolchainModel dominantModel = merged.get(key);
                if (dominantModel == null) {
                    recessiveModel.setSourceLevel(recessiveSourceLevel);
                    dominant.add(recessiveModel);
                } else {
                    mergeToolchainModelConfiguration(dominantModel, recessiveModel);
                }
            }
        }
    
        protected void mergeToolchainModelConfiguration(ToolchainModel target, ToolchainModel source) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 3K bytes
    - Click Count (0)
  3. 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
            }
          }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 16 14:23:59 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  4. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateKotlinVersions.kt

                        if (idx < versionsByMinor.size - 1) {
                            // Latest of the previous minor
                            add(versionsOfMinor.first())
                        } else {
                            // Current minor
                            val versionsByPatch = versionsOfMinor
                                .groupBy { it.take(5) } // e.g. 1.9.2(x)
                                .toSortedMap()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Oct 29 08:29:55 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  5. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/provider/BuildTimestampValueSource.kt

                    timestampFormat.parse(buildTimestampFromProperty)
                }
                runningInstallTask.get() || runningDocsTestTask.get() || runningOnCi.get() -> {
                    Date()
                }
                else -> {
                    Date().withoutTime()
                }
            }
            return timestampFormat.format(buildTime)
        }
    
        override fun getDisplayName(): String =
            "the build timestamp ($timestampSource)"
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Jun 05 17:24:26 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/internal.kt

        // to match legacy i.e. the platform/provider
        //
        // Opting for 2 here and keeping MODERN_TLS in line with secure browsers.
        cipherSuitesAsString.intersect(socketEnabledCipherSuites, CipherSuite.ORDER_BY_NAME)
      } else {
        socketEnabledCipherSuites
      }
    
    internal fun MediaType?.chooseCharset(): Pair<Charset, MediaType?> {
      var charset: Charset = Charsets.UTF_8
      var finalContentType: MediaType? = this
      if (this != null) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri May 30 21:28:20 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  7. samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java

            if (done) {
              System.out.println("completed");
            } else {
              if (firstUpdate) {
                firstUpdate = false;
                if (contentLength == -1) {
                  System.out.println("content-length: unknown");
                } else {
                  System.out.format("content-length: %d\n", contentLength);
                }
              }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 30 17:01:12 GMT 2025
    - 4.2K bytes
    - Click Count (1)
  8. build-logic/cleanup/src/main/kotlin/gradlebuild/testing/services/BuildBucketProvider.kt

            }
            parameters.onlyTestGradleVersion.get().isNotBlank() -> {
                CrossVersionBucketProvider(parameters.onlyTestGradleVersion.get())
            }
            else -> {
                NoOpTestClassProvider()
            }
        }
    
        private
        fun readTestClasses(content: String): Map<String, List<String>> {
            val properties = Properties()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jun 28 08:29:28 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  9. docs_src/additional_responses/tutorial004_py39.py

        responses={**responses, 200: {"content": {"image/png": {}}}},
    )
    async def read_item(item_id: str, img: Union[bool, None] = None):
        if img:
            return FileResponse("image.png", media_type="image/png")
        else:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 701 bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/CompactHashSet.java

          if (newSize > mask) {
            // Resize and add new entry
            mask = resizeTable(mask, CompactHashing.newCapacity(mask), hash, newEntryIndex);
          } else {
            CompactHashing.tableSet(requireTable(), tableIndex, newEntryIndex + 1);
          }
        } else {
          int entryIndex;
          int entry;
          int hashPrefix = CompactHashing.getHashPrefix(hash, mask);
          int bucketLength = 0;
          do {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 24.7K bytes
    - Click Count (0)
Back to Top