Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 2,189 for else_ (0.02 sec)

  1. internal/event/target/postgresql.go

    		if !xnet.IsConnRefusedErr(err) && !xnet.IsConnResetErr(err) {
    			target.loggerOnce(context.Background(), err, target.ID().String())
    		}
    	} else {
    		if err = target.executeStmts(); err != nil {
    			target.loggerOnce(context.Background(), err, target.ID().String())
    		} else {
    			target.firstPing = true
    		}
    	}
    
    	if err != nil {
    		target.db.Close()
    		return err
    	}
    
    	yes, err := target.isActive()
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

                if (intervalPongsReceived < intervalPingsSent) {
                  return@withLock true
                } else {
                  intervalPingsSent++
                  return@withLock false
                }
              }
            if (failDueToMissingPong) {
              failConnection(null)
              return@schedule -1L
            } else {
              writePing(false, INTERVAL_PING, 0)
              return@schedule pingIntervalNanos
            }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

                            wantedNature = Metadata.Nature.RELEASE_OR_SNAPSHOT;
                        } else {
                            wantedNature = Metadata.Nature.RELEASE;
                        }
                    } else {
                        wantedNature = Metadata.Nature.valueOf(natureString.toUpperCase(Locale.ROOT));
                    }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. tests/embedded_struct_test.go

    			t.Errorf("should has prefixed column %v", name)
    		}
    	}
    
    	stmt := gorm.Statement{DB: DB}
    	if err := stmt.Parse(&EngadgetPost{}); err != nil {
    		t.Fatalf("failed to parse embedded struct")
    	} else if len(stmt.Schema.PrimaryFields) != 1 {
    		t.Errorf("should have only one primary field with embedded struct, but got %v", len(stmt.Schema.PrimaryFields))
    	}
    
    	for _, name := range []string{"user_id", "user_name", "user_email"} {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. cmd/api-utils.go

    		c := s[i]
    		if shouldEscape(c) {
    			if c == ' ' {
    				spaceCount++
    			} else {
    				hexCount++
    			}
    		}
    	}
    
    	if spaceCount == 0 && hexCount == 0 {
    		return s
    	}
    
    	var buf [64]byte
    	var t []byte
    
    	required := len(s) + 2*hexCount
    	if required <= len(buf) {
    		t = buf[:required]
    	} else {
    		t = make([]byte, required)
    	}
    
    	if hexCount == 0 {
    		copy(t, s)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractService.java

      }
    
      private void enqueueStoppingEvent(State from) {
        if (from == State.STARTING) {
          listeners.enqueue(STOPPING_FROM_STARTING_EVENT);
        } else if (from == State.RUNNING) {
          listeners.enqueue(STOPPING_FROM_RUNNING_EVENT);
        } else {
          throw new AssertionError();
        }
      }
    
      private void enqueueTerminatedEvent(State from) {
        switch (from) {
          case NEW:
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/entity/QueryContext.java

                } else if (queryString.startsWith(ALLINTITLE_FIELD_PREFIX)) {
                    defaultField = ComponentUtil.getFessConfig().getIndexFieldTitle();
                    this.queryString = queryString.substring(ALLINTITLE_FIELD_PREFIX.length());
                } else {
                    this.queryString = queryString;
                }
            } else {
                this.queryString = queryString;
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

                        } else if ("css".equals(names[0])) {
                            names[0] = themeName;
                            final Path path = ResourceUtil.getCssPath(names);
                            Files.createDirectories(path.getParent());
                            Files.copy(zis, path, StandardCopyOption.REPLACE_EXISTING);
                        } else if ("js".equals(names[0])) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. fastapi/dependencies/models.py

    from fastapi.security.base import SecurityBase
    from fastapi.types import DependencyCacheKey
    from typing_extensions import Literal
    
    if sys.version_info >= (3, 13):  # pragma: no cover
        from inspect import iscoroutinefunction
    else:  # pragma: no cover
        from asyncio import iscoroutinefunction
    
    
    def _unwrapped_call(call: Optional[Callable[..., Any]]) -> Any:
        if call is None:
            return call  # pragma: no cover
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. schema/utils.go

    		values := strings.Split(tag, ":")
    		k := strings.TrimSpace(strings.ToUpper(values[0]))
    		if len(values) >= 2 {
    			val := strings.Join(values[1:], ":")
    			val = strings.ReplaceAll(val, `\"`, `"`)
    			settings[k] = val
    		} else if k != "" {
    			settings[k] = k
    		}
    	}
    
    	return settings
    }
    
    func toColumns(val string) (results []string) {
    	if val != "" {
    		for _, v := range strings.Split(val, ",") {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Oct 30 11:15:36 UTC 2025
    - 5.9K bytes
    - Viewed (0)
Back to top