Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 6,241 for If (0.03 sec)

  1. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            if (locale == null) {
                return Locale.ROOT;
            }
            return locale;
        }
    
        public static String formatFileSize(final long value) {
            double target = value;
            String unit = ""; // TODO l10n?
            String format = "0.#";
            if (value < 1024) {
                format = "0";
            } else if (value < 1024L * 1024L) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/MutableValueGraph.java

       *
       * <p>If the graph is directed, the resultant edge will be directed; otherwise, it will be
       * undirected.
       *
       * <p>If this graph is directed, {@code endpoints} must be ordered.
       *
       * <p>Values do not have to be unique. However, values must be non-null.
       *
       * <p>If either or both endpoints are not already present in this graph, this method will silently
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/convert/NumberConversionUtil.java

                final Short s = ShortConversionUtil.toShort(o);
                if (s != null) {
                    return s;
                }
                return Short.valueOf((short) 0);
            } else if (type == boolean.class) {
                final Boolean b = BooleanConversionUtil.toBoolean(o);
                if (b != null) {
                    return b;
                }
                return Boolean.FALSE;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. cmd/config.go

    		if err != nil {
    			if errors.Is(err, errConfigNotFound) {
    				lookupConfigs(srvCfg, objAPI)
    				return srvCfg, nil
    			}
    			return nil, err
    		}
    
    		data, err = decryptData(data, configFile)
    		if err != nil {
    			lookupConfigs(srvCfg, objAPI)
    			return nil, err
    		}
    	}
    
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 23 10:07:06 UTC 2023
    - 6K bytes
    - Viewed (0)
  5. clause/expression.go

    	)
    
    	for _, v := range []byte(expr.SQL) {
    		if v == '?' && len(expr.Vars) > idx {
    			if afterParenthesis || expr.WithoutParentheses {
    				if _, ok := expr.Vars[idx].(driver.Valuer); ok {
    					builder.AddVar(builder, expr.Vars[idx])
    				} else {
    					switch rv := reflect.ValueOf(expr.Vars[idx]); rv.Kind() {
    					case reflect.Slice, reflect.Array:
    						if rv.Len() == 0 {
    							builder.AddVar(builder, nil)
    						} else {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Oct 10 06:45:48 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  6. internal/grid/msg.go

    	var res []string
    	if m.MuxID != 0 {
    		res = append(res, fmt.Sprintf("MuxID: %v", m.MuxID))
    	}
    	if m.Seq != 0 {
    		res = append(res, fmt.Sprintf("Seq: %v", m.Seq))
    	}
    	if m.DeadlineMS != 0 {
    		res = append(res, fmt.Sprintf("Deadline: %vms", m.DeadlineMS))
    	}
    	if m.Handler != handlerInvalid {
    		res = append(res, fmt.Sprintf("Handler: %v", m.Handler))
    	}
    	if m.Op != 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/net/InetAddresses.java

          char c = ipString.charAt(i);
          if (c == '.') {
            hasDot = true;
          } else if (c == ':') {
            if (hasDot) {
              return null; // Colons must not appear after dots.
            }
            hasColon = true;
          } else if (c == '%') {
            percentIndex = i;
            break;
          } else if (Character.digit(c, 16) == -1) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

                    }
    
                    if (file.canRead()) {
                        final MimeTypeHelper mimeTypeHelper = crawlerContainer.getComponent("mimeTypeHelper");
                        if (includeContent) {
                            if (logger.isDebugEnabled()) {
                                logger.debug("Parsing SmbFile Content: {}", filePath);
                            }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 23 01:54:36 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  9. tests/create_test.go

    	user := *GetUser("create", Config{})
    
    	if results := DB.Create(&user); results.Error != nil {
    		t.Fatalf("errors happened when create: %v", results.Error)
    	} else if results.RowsAffected != 1 {
    		t.Fatalf("rows affected expects: %v, got %v", 1, results.RowsAffected)
    	}
    
    	if user.ID == 0 {
    		t.Errorf("user's primary key should has value after create, got : %v", user.ID)
    	}
    
    	if user.CreatedAt.IsZero() {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

        this.withLock {
          if (requestDone && requestBodyOpen || responseDone && responseBodyOpen) {
            if (requestDone) requestBodyOpen = false
            if (responseDone) responseBodyOpen = false
            bothStreamsDone = !requestBodyOpen && !responseBodyOpen
            callDone = !requestBodyOpen && !responseBodyOpen && !expectMoreExchanges
          }
        }
    
        if (bothStreamsDone) {
          this.exchange = null
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top