Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 1,852 for else (0.04 seconds)

  1. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

              if (count == 0) {
                return 0;
              } else {
                AtomicInteger newCounter = new AtomicInteger(count);
                if ((countMap.putIfAbsent(element, newCounter) == null)
                    || countMap.replace(element, existingCounter, newCounter)) {
                  return 0;
                }
              }
              break;
            } else {
              if (existingCounter.compareAndSet(oldValue, count)) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Dec 08 22:42:14 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  2. internal/s3select/parquet/reader.go

    					}
    					value = sql.FormatSQLTimestamp(time.Unix(0, 0).Add(duration))
    				}
    			} else if se.GetConvertedType() == parquettypes.ConvertedType_TIMESTAMP_MILLIS {
    				duration := time.Duration(val) * time.Millisecond
    				value = sql.FormatSQLTimestamp(time.Unix(0, 0).Add(duration))
    			} else if se.GetConvertedType() == parquettypes.ConvertedType_TIMESTAMP_MICROS {
    				duration := time.Duration(val) * time.Microsecond
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  3. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

                when (testCoverage.os) {
                    Os.LINUX -> ParallelizationMethod.TestDistribution
                    Os.ALPINE -> ParallelizationMethod.TestDistributionAlpine
                    else -> ParallelizationMethod.TeamCityParallelTests(numberOfBatches)
                }
            }
        }
    
        private fun parallelize(
            subProjectTestClassTimes: List<SubprojectTestClassTime>,
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Apr 10 15:09:32 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  4. .teamcity/src/main/kotlin/model/FunctionalTestBucketProvider.kt

                    allCrossVersionTestBucketProvider.createFunctionalTestsFor(
                        stage,
                        testCoverage,
                    )
                else -> functionalTestBucketProvider.createFunctionalTestsFor(stage, testCoverage)
            }
    }
    
    class CrossVersionTestBucketProvider(
        crossVersionBuckets: List<List<String>>,
        private val model: CIBuildModel,
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Sep 24 08:38:33 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  5. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/ClassBytesRepository.kt

                    entry.isClassPathArchive -> jarClassBytesIndexFor(entry)
                    entry.isDirectory -> directoryClassBytesIndexFor(entry)
                    else -> { _ -> null }
                }
    
                is ClassLoader -> loaderClassBytesIndexFor(entry)
    
                else -> { _ -> null }
            }
    
        private
        fun jarClassBytesIndexFor(jar: File): ClassBytesIndex = { classFilePath ->
            openJarFile(jar).run {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jun 28 08:29:28 GMT 2024
    - 6.3K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt

          }
        }.also { expected ->
          assertEquals(cancelMode == INTERRUPT, Thread.interrupted())
        }
        responseBody.close()
        assertEquals(if (connectionType == H2) 1 else 0, client.connectionPool.connectionCount())
      }
    
      @Test
      fun cancelAndFollowup() {
        val responseBodySize = 8 * 1024 * 1024 // 8 MiB.
        server.enqueue(
          MockResponse
            .Builder()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  7. tensorflow/api_template_v1.__init__.py

    _current_module.__path__ = [_module_dir] + _current_module.__path__
    if _tf_uses_legacy_keras:
      _module_dir = _module_util.get_parent_dir_for_name("tf_keras.api._v1.keras")
    else:
      _module_dir = _module_util.get_parent_dir_for_name("keras.api._v1.keras")
    _current_module.__path__ = [_module_dir] + _current_module.__path__
    
    _CONTRIB_WARNING = """
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Wed Oct 02 22:16:02 GMT 2024
    - 7.5K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/merge/MavenModelMerger.java

            String src = source.getUrl();
            if (src != null) {
                if (sourceDominant) {
                    target.setUrl(src);
                    target.setLocation("url", source.getLocation("url"));
                } else if (target.getUrl() == null) {
                    target.setUrl(extrapolateChildUrl(src, source.isChildProjectUrlInheritAppendPath(), context));
                    target.setLocation("url", source.getLocation("url"));
                }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  9. ci/official/utilities/windows.sh

    # If no prefix is passed, by default, it's replaced with C:\, in case it's
    # something else (ex. T:), which is a volume used in internal CI.
    function replace_drive_letter_with_prefix () {
      local path_prefix
      if [[ -z "$2" ]]; then
        path_prefix="C:"
      else
        path_prefix="$2"
      fi
      sed -E "s|^[a-zA-Z]:|${path_prefix}|g" <<< "$1"
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Thu Jan 09 18:37:25 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  10. helm-releases/minio-2.0.1.tgz

    $USER ; then echo "Creating user '$USER'" ${MC} admin user add myminio $USER $PASS else echo "User '$USER' already exists." fi # set policy for user if [ ! -z $POLICY -a $POLICY != " " ] ; then echo "Adding policy '$POLICY' for '$USER'" ${MC} admin policy set myminio $POLICY user=$USER else echo "User '$USER' has no policy attached." fi } # Try connecting to Minio instance {{- if .Values.tls.enabled }} scheme=https {{- else }} scheme=http {{- end }} connectToMinio $scheme {{ if .Values.users }} # Create...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 31 09:09:09 GMT 2021
    - 13.6K bytes
    - Click Count (0)
Back to Top