Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 931 - 940 of 6,702 for If (0.02 seconds)

  1. internal/event/target/nats.go

    	}
    
    	if n.Username != "" && n.Password == "" || n.Username == "" && n.Password != "" {
    		return errors.New("username and password must be specified as a pair")
    	}
    
    	if n.Streaming.Enable {
    		if n.Streaming.ClusterID == "" {
    			return errors.New("empty cluster id")
    		}
    	}
    
    	if n.JetStream.Enable {
    		if n.Subject == "" {
    			return errors.New("empty subject")
    		}
    	}
    
    	if n.QueueDir != "" {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Apr 27 04:30:57 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/vagrant/VagrantProgressLogger.java

            }
            if (line.startsWith(squashedPrefix)) {
                line = line.substring(squashedPrefix.length());
                inProgressReport = false;
                lastLine = line;
                if (line.startsWith(HEADING_PREFIX)) {
                    line = line.substring(HEADING_PREFIX.length());
                    heading = line + " > ";
                } else {
                    line = heading + line;
                }
            } else if (inProgressReport) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.8K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java

            // ----------------------------------------------------------------------
    
            if (expression == null || expression.isEmpty() || !Character.isJavaIdentifierStart(expression.charAt(0))) {
                return null;
            }
    
            boolean hasDots = expression.indexOf(PROPERTY_START) >= 0;
    
            final Tokenizer tokenizer;
            if (trimRootToken && hasDots) {
                tokenizer = new Tokenizer(expression);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  4. cmd/benchmark-utils_test.go

    		objInfo, err := obj.PutObject(b.Context(), bucket, "object"+strconv.Itoa(i),
    			mustGetPutObjReader(b, bytes.NewReader(textData), int64(len(textData)), md5hex, sha256hex), ObjectOptions{})
    		if err != nil {
    			b.Fatal(err)
    		}
    		if objInfo.ETag != md5hex {
    			b.Fatalf("Write no: %d: Md5Sum mismatch during object write into the bucket: Expected %s, got %s", i+1, objInfo.ETag, md5hex)
    		}
    	}
    	// Benchmark ends here. Stop timer.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/SnippetsTask.groovy

                    if (catchPart) {
                        result += "[catch: $catchPart]"
                    }
                    if (skip) {
                        result += "[skip=$skip]"
                    }
                    if (continued) {
                        result += '[continued]'
                    }
                    if (setup) {
                        result += "[setup:$setup]"
                    }
                    if (teardown) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 20 10:08:26 GMT 2021
    - 17.8K bytes
    - Click Count (0)
  6. finisher_api.go

    					for _, f := range s.Fields {
    						if f.Readable {
    							if v, isZero := f.ValueOf(db.Statement.Context, reflectValue); !isZero {
    								if field := db.Statement.Schema.LookUpField(f.Name); field != nil {
    									db.AddError(field.Set(db.Statement.Context, db.Statement.ReflectValue, v))
    								}
    							}
    						}
    					}
    				}
    			} else if len(values) > 0 {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 19 01:49:06 GMT 2025
    - 22.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/math/Quantiles.java

          if (containsNaN(dataset)) {
            return NaN;
          }
    
          // Calculate the quotient and remainder in the integer division x = k * (N-1) / q, i.e.
          // index * (dataset.length - 1) / scale. If there is no remainder, we can just find the value
          // whose index in the sorted dataset equals the quotient; if there is a remainder, we
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 30.1K bytes
    - Click Count (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingChangesRule.java

                    return null;
                }
                if (member instanceof JApiImplementedInterface) {
                    // The changes about the interface's methods will be reported already
                    return null;
                }
                if (member instanceof JApiConstructor) {
                    if (isInject((JApiConstructor) member)) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  9. logger/slog.go

    	if l.LogLevel >= Info {
    		l.log(ctx, slog.LevelInfo, msg, slog.Any("data", data))
    	}
    }
    
    func (l *slogLogger) Warn(ctx context.Context, msg string, data ...interface{}) {
    	if l.LogLevel >= Warn {
    		l.log(ctx, slog.LevelWarn, msg, slog.Any("data", data))
    	}
    }
    
    func (l *slogLogger) Error(ctx context.Context, msg string, data ...interface{}) {
    	if l.LogLevel >= Error {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Oct 30 10:56:26 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/entity/DataStoreParams.java

         * @param key the parameter key to look up
         * @return the parameter value as a String, null if not found or value is null
         */
        public String getAsString(final String key) {
            if (params.get(key) instanceof final String strValue) {
                return strValue;
            }
            final Object value = params.get(key);
            if (value != null) {
                return value.toString();
            }
            return null;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.8K bytes
    - Click Count (0)
Back to Top