Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2091 - 2100 of 6,241 for If (0.05 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Graph.java

                LinkedList<String> cycle) {
            if (children != null) {
                for (String v : children) {
                    DfsState state = stateMap.putIfAbsent(v, DfsState.VISITING);
                    if (state == null) {
                        cycle.addLast(v);
                        List<String> ret = visitCycle(graph, graph.get(v), stateMap, cycle);
                        if (ret != null) {
                            return ret;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. tests/named_argument_test.go

    	AssertEqual(t, result3, namedUser)
    
    	var result4 NamedUser
    	if err := DB.Raw("SELECT * FROM named_users WHERE name1 = @name OR name2 = @name2 OR name3 = @name", sql.Named("name", "jinzhu-none"), sql.Named("name2", "jinzhu2")).Find(&result4).Error; err != nil {
    		t.Errorf("failed to update with named arg")
    	}
    
    	AssertEqual(t, result4, namedUser)
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Dec 21 11:50:00 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  3. cmd/metrics-v3-system-cpu.go

    	cpuResourceMetrics, found := resourceMetricsMap[cpuSubsystem]
    	if found {
    		if cpuIdleMetric, ok := cpuResourceMetrics[getResourceKey(cpuIdle, nil)]; ok {
    			avgVal := math.Round(cpuIdleMetric.Avg*100) / 100
    			m.Set(sysCPUAvgIdle, avgVal)
    		}
    		if cpuIOWaitMetric, ok := cpuResourceMetrics[getResourceKey(cpuIOWait, nil)]; ok {
    			avgVal := math.Round(cpuIOWaitMetric.Avg*100) / 100
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 20 17:55:03 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CollectPreconditions.java

      static void checkEntryNotNull(Object key, Object value) {
        if (key == null) {
          throw new NullPointerException("null key in entry: null=" + value);
        } else if (value == null) {
          throw new NullPointerException("null value in entry: " + key + "=null");
        }
      }
    
      @CanIgnoreReturnValue
      static int checkNonnegative(int value, String name) {
        if (value < 0) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 30 10:33:07 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  5. internal/config/ilm/ilm.go

    	TransitionWorkers int
    	ExpirationWorkers int
    }
    
    // LookupConfig - lookup ilm config and override with valid environment settings if any.
    func LookupConfig(kvs config.KVS) (cfg Config, err error) {
    	cfg = Config{
    		TransitionWorkers: 100,
    		ExpirationWorkers: 100,
    	}
    
    	if err = config.CheckValidKeys(config.ILMSubSys, kvs, DefaultKVS); err != nil {
    		return cfg, err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/JAASAuthenticator.java

                else if ( ps != null ) {
                    lc = new LoginContext(this.serviceName, ps, this);
                } else {
                    lc = new LoginContext(this.serviceName, this);
    	    }
                lc.login();
    
                Subject s = lc.getSubject();
                if ( log.isDebugEnabled() ) {
                    log.debug("Got subject: " + s.getPrincipals());
                }
                if ( log.isTraceEnabled() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/CollectCollectors.java

        @CheckForNull private EnumSet<E> set;
    
        void add(E e) {
          if (set == null) {
            set = EnumSet.of(e);
          } else {
            set.add(e);
          }
        }
    
        EnumSetAccumulator<E> combine(EnumSetAccumulator<E> other) {
          if (this.set == null) {
            return other;
          } else if (other.set == null) {
            return this;
          } else {
            this.set.addAll(other.set);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/net/InternetDomainName.java

      }
    
      /**
       * Returns the index of the leftmost part of the suffix, or -1 if not found. Note that the value
       * defined as a suffix may not produce {@code true} results from {@link #isPublicSuffix()} or
       * {@link #isRegistrySuffix()} if the domain ends with an excluded domain pattern such as {@code
       * "nhs.uk"}.
       *
       * <p>If a {@code desiredType} is specified, this method only finds suffixes of the given type.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/CaseFormat.java

        @Override
        String normalizeWord(String word) {
          return Ascii.toLowerCase(word);
        }
    
        @Override
        String convert(CaseFormat format, String s) {
          if (format == LOWER_UNDERSCORE) {
            return s.replace('-', '_');
          }
          if (format == UPPER_UNDERSCORE) {
            return Ascii.toUpperCase(s.replace('-', '_'));
          }
          return super.convert(format, s);
        }
      },
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 19 20:20:14 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RelocatedArtifact.java

        }
    
        @Override
        public String getGroupId() {
            if (groupId != null) {
                return groupId;
            } else {
                return artifact.getGroupId();
            }
        }
    
        @Override
        public String getArtifactId() {
            if (artifactId != null) {
                return artifactId;
            } else {
                return artifact.getArtifactId();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top