Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 451 - 460 of 1,852 for else (0.03 seconds)

  1. cmd/iam.go

    			if !isAttach && sys.LDAPConfig.IsLDAPUserDN(r.User) {
    				dn = sys.LDAPConfig.QuickNormalizeDN(r.User)
    			} else {
    				err = errNoSuchUser
    				return updatedAt, addedOrRemoved, effectivePolicies, err
    			}
    		} else {
    			dn = dnResult.NormDN
    		}
    		isGroup = false
    	} else {
    		var underBaseDN bool
    		if dnResult, underBaseDN, err = sys.LDAPConfig.GetValidatedGroupDN(nil, r.Group); err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 76.5K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/TreeRangeMap.java

              entriesByLowerBound.lowerEntry(subRange.upperBound);
          if (upperEntry == null) {
            throw new NoSuchElementException();
          } else if (upperEntry.getValue().getUpperBound().compareTo(subRange.upperBound) >= 0) {
            upperBound = subRange.upperBound;
          } else {
            upperBound = upperEntry.getValue().getUpperBound();
          }
          return Range.create(lowerBound, upperBound);
        }
    
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 26.5K bytes
    - Click Count (0)
  3. scripts/label_approved.py

        token: SecretStr
        debug: bool | None = False
        config: dict[str, LabelSettings] | Literal[""] = default_config
    
    
    settings = Settings()
    if settings.debug:
        logging.basicConfig(level=logging.DEBUG)
    else:
        logging.basicConfig(level=logging.INFO)
    logging.debug(f"Using config: {settings.model_dump_json()}")
    g = Github(settings.token.get_secret_value())
    repo = g.get_repo(settings.github_repository)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Jun 17 07:50:19 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

       * being edited required deletion for the operation to complete.
       */
      @Test
      fun trimToSizeWithActiveEdit() {
        val expectedByteCount = if (windows) 10L else 0L
        val afterRemoveFileContents = if (windows) "a1234" else null
    
        set("a", "a1234", "a1234")
        val a = cache.edit("a")!!
        a.setString(0, "a123")
        cache.maxSize = 8 // Smaller than the sum of active edits!
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 59.4K bytes
    - Click Count (0)
  5. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/ide/ExtractAndroidStudioTask.kt

                else -> extractZipOrTar(androidStudioDistribution)
            }
        }
    
        fun extractZipOrTar(androidStudioDistribution: File) {
            fsOps.copy {
                val src = when {
                    androidStudioDistribution.name.endsWith(".tar.gz") -> fileOps.tarTree(androidStudioDistribution)
                    else -> fileOps.zipTree(androidStudioDistribution)
                }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Feb 19 08:02:04 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  6. internal/config/drive/drive.go

    	if d == "" {
    		cfg.MaxTimeout = 30 * time.Second
    	} else {
    		dur, _ := time.ParseDuration(d)
    		if dur < time.Second {
    			cfg.MaxTimeout = 30 * time.Second
    		} else {
    			cfg.MaxTimeout = getMaxTimeout(dur)
    		}
    	}
    	return cfg, err
    }
    
    func getMaxTimeout(t time.Duration) time.Duration {
    	if t > time.Second {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Nov 11 14:51:43 GMT 2024
    - 3K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

        if (taskQueue.activeTask == null) {
          if (taskQueue.futureTasks.isNotEmpty()) {
            readyQueues.addIfAbsent(taskQueue)
          } else {
            readyQueues.remove(taskQueue)
          }
        }
    
        if (coordinatorWaiting) {
          backend.coordinatorNotify(this@TaskRunner)
        } else {
          startAnotherThread()
        }
      }
    
      private fun beforeRun(task: Task) {
        assertLockHeld()
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 30 11:30:11 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

                                result = 1;
                            }
                        } else {
                            if (a.getClassifier() != null) {
                                result = classifier.compareTo(a.getClassifier());
                            } else {
                                result = -1;
                            }
                        }
                        if (result == 0) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  9. cmd/http-stats.go

    			s3InputBytes: uint64(n),
    		}
    	} else {
    		stats.s3InputBytes += uint64(n)
    	}
    	s.stats[bucket] = stats
    }
    
    // Increase S3 total output bytes for input bucket
    func (s *bucketConnStats) incS3OutputBytes(bucket string, n int64) {
    	s.Lock()
    	defer s.Unlock()
    	stats, ok := s.stats[bucket]
    	if !ok {
    		stats = &bucketS3RXTX{
    			s3OutputBytes: uint64(n),
    		}
    	} else {
    		stats.s3OutputBytes += uint64(n)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Sep 24 17:13:00 GMT 2024
    - 11.4K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/Multimaps.java

          } else if (collection instanceof SortedSet) {
            return Collections.unmodifiableSortedSet((SortedSet<E>) collection);
          } else if (collection instanceof Set) {
            return Collections.unmodifiableSet((Set<E>) collection);
          } else if (collection instanceof List) {
            return Collections.unmodifiableList((List<E>) collection);
          } else {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 86.5K bytes
    - Click Count (0)
Back to Top