Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 351 - 360 of 1,852 for else (0.02 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt

          if (compress != -1) return null // Multiple "::" delimiters.
          i += 2
          b += 2
          compress = b
          if (i == limit) break
        } else if (b != 0) {
          // Group separator ":" delimiter.
          if (input.startsWith(":", startIndex = i)) {
            i++
          } else if (input.startsWith(".", startIndex = i)) {
            // If we see a '.', rewind to the beginning of the previous group and parse as IPv4.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

            UpgradeOptions options = getOptions(context);
    
            if (options.modelVersion().isPresent()) {
                return options.modelVersion().get();
            } else if (options.all().orElse(false)) {
                return MODEL_VERSION_4_1_0;
            } else {
                return MODEL_VERSION_4_0_0;
            }
        }
    
        /**
         * Gets the namespace URI for a model version.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  3. .teamcity/src/main/kotlin/configurations/FunctionalTest.kt

            if (testCoverage.testType == TestType.ISOLATED_PROJECTS) {
                "isolatedProjectsIntegTest"
            } else {
                "${testCoverage.testType.asCamelCase()}Test"
            }
        return when {
            subprojects.isEmpty() -> {
                testTaskName
            }
    
            else -> {
                subprojects.joinToString(" ") { "$it:$testTaskName" }
            }
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 09 05:26:45 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  4. .teamcity/src/main/kotlin/promotion/PublishNightlySnapshot.kt

        val oldReleasePattern = "release(\\d+)x".toRegex()
        return when (branchName) {
            "master" -> 0
            "release" -> 1
            else -> {
                val matchResult = oldReleasePattern.find(branchName)
                if (matchResult == null) {
                    null
                } else {
                    (matchResult.groupValues[1].toInt() - 4).apply {
                        require(this in 2..23)
                    }
                }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Dec 29 08:57:18 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  5. cmd/iam-store.go

    		}
    		if !isGroup {
    			if userType == stsUser {
    				cache.iamSTSPolicyMap.Delete(name)
    			} else {
    				cache.iamUserPolicyMap.Delete(name)
    			}
    		} else {
    			cache.iamGroupPolicyMap.Delete(name)
    		}
    	} else {
    		if err = store.saveMappedPolicy(ctx, name, userType, isGroup, newPolicyMapping); err != nil {
    			return updatedAt, addedOrRemoved, effectivePolicies, err
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 87.1K bytes
    - Click Count (0)
  6. tests/default_value_test.go

    	}
    
    	harumph := Harumph{Email: "******@****.***"}
    	if err := DB.Create(&harumph).Error; err != nil {
    		t.Fatalf("Failed to create data with default value, got error: %v", err)
    	} else if harumph.Name != "foo" || harumph.Name2 != "foo" || harumph.Name3 != "" || harumph.Age != 18 || !harumph.Enabled || harumph.Created.Format("20060102") != "20000102" {
    		t.Fatalf("Failed to create data with default value, got: %+v", harumph)
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Apr 08 03:29:55 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  7. chainable_api.go

    				tx.Statement.Table = results[1]
    			} else {
    				tx.Statement.Table = results[2]
    			}
    		}
    	} else if tables := strings.Split(name, "."); len(tables) == 2 {
    		tx.Statement.TableExpr = &clause.Expr{SQL: tx.Statement.Quote(name)}
    		tx.Statement.Table = tables[1]
    	} else if name != "" {
    		tx.Statement.TableExpr = &clause.Expr{SQL: tx.Statement.Quote(name)}
    		tx.Statement.Table = name
    	} else {
    		tx.Statement.TableExpr = nil
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Sep 19 01:49:06 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

      private val path = mutableListOf<String>()
    
      private var constructed = false
    
      private var peekedHeader: DerHeader? = null
    
      private val bytesLeft: Long
        get() = if (limit == -1L) -1L else (limit - byteCount)
    
      fun hasNext(): Boolean = peekHeader() != null
    
      /**
       * Returns the next header to process unless this scope is exhausted.
       *
       * This returns null if:
       *
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt

            if (servedDate != null) {
              maxOf(0, receivedResponseMillis - servedDate.time)
            } else {
              0
            }
    
          val receivedAge =
            if (ageSeconds != -1) {
              maxOf(apparentReceivedAge, SECONDS.toMillis(ageSeconds.toLong()))
            } else {
              apparentReceivedAge
            }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 12K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

          if (deltaSeconds == Long.MIN_VALUE) {
            expiresAt = Long.MIN_VALUE
          } else if (deltaSeconds != -1L) {
            val deltaMilliseconds =
              if (deltaSeconds <= Long.MAX_VALUE / 1000) {
                deltaSeconds * 1000
              } else {
                Long.MAX_VALUE
              }
            expiresAt = currentTimeMillis + deltaMilliseconds
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 23.1K bytes
    - Click Count (0)
Back to Top