Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Ying (0.15 sec)

  1. src/main/java/org/codelibs/fess/job/PingSearchEngineJob.java

                    }
                }
                resultBuf.append("Status of ").append(ping.getClusterName()).append(" is changed to ").append(ping.getClusterStatus())
                        .append('.');
            } else if (status == 0) {
                resultBuf.append(ping.getClusterName()).append(" is alive.");
            } else {
                resultBuf.append(ping.getClusterName()).append(" is not available.");
            }
    
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/ws/WebSocketRecorder.kt

      }
    
      fun assertBinaryMessage(payload: ByteString?) {
        assertThat(nextEvent()).isEqualTo(Message(payload))
      }
    
      fun assertPing(payload: ByteString) {
        assertThat(nextEvent()).isEqualTo(Ping(payload))
      }
    
      fun assertPong(payload: ByteString) {
        assertThat(nextEvent()).isEqualTo(Pong(payload))
      }
    
      fun assertClosing(
        code: Int,
        reason: String,
      ) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/api/BaseApiManager.java

                return FormatType.FAVORITE;
            }
            if (FormatType.FAVORITES.name().equals(type)) {
                return FormatType.FAVORITES;
            }
            if (FormatType.PING.name().equals(type)) {
                return FormatType.PING;
            }
            if (FormatType.SCROLL.name().equals(type)) {
                return FormatType.SCROLL;
            }
            if (FormatType.SUGGEST.name().equals(type)) {
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  4. internal/event/target/redis.go

    		return false, err
    	}
    	return target.isActive()
    }
    
    func (target *RedisTarget) isActive() (bool, error) {
    	conn := target.pool.Get()
    	defer conn.Close()
    
    	_, pingErr := conn.Do("PING")
    	if pingErr != nil {
    		if xnet.IsConnRefusedErr(pingErr) {
    			return false, store.ErrNotConnected
    		}
    		return false, pingErr
    	}
    	return true, nil
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Mar 19 04:37:54 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2.kt

      const val TYPE_RST_STREAM = 0x3
      const val TYPE_SETTINGS = 0x4
      const val TYPE_PUSH_PROMISE = 0x5
      const val TYPE_PING = 0x6
      const val TYPE_GOAWAY = 0x7
      const val TYPE_WINDOW_UPDATE = 0x8
      const val TYPE_CONTINUATION = 0x9
    
      const val FLAG_NONE = 0x0
      const val FLAG_ACK = 0x1 // Used for settings and ping.
      const val FLAG_END_STREAM = 0x1 // Used for headers and data.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  6. tests/tests_test.go

    		os.Exit(1)
    	} else {
    		sqlDB, err := DB.DB()
    		if err != nil {
    			log.Printf("failed to connect database, got error %v", err)
    			os.Exit(1)
    		}
    
    		err = sqlDB.Ping()
    		if err != nil {
    			log.Printf("failed to ping sqlDB, got error %v", err)
    			os.Exit(1)
    		}
    
    		RunMigrations()
    	}
    }
    
    func OpenTestConnection(cfg *gorm.Config) (db *gorm.DB, err error) {
    	dbDSN := os.Getenv("GORM_DSN")
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Fri Dec 15 08:36:08 GMT 2023
    - 3.3K bytes
    - Viewed (1)
  7. cmd/consolelogger.go

    	console  *console.Target
    	nodeName string
    	logBuf   *ring.Ring
    }
    
    // NewConsoleLogger - creates new HTTPConsoleLoggerSys with all nodes subscribed to
    // the console logging pub sub system
    func NewConsoleLogger(ctx context.Context) *HTTPConsoleLoggerSys {
    	return &HTTPConsoleLoggerSys{
    		pubsub:  pubsub.New[log.Info, madmin.LogMask](8),
    		console: console.New(),
    		logBuf:  ring.New(defaultLogBufferCount),
    	}
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Feb 02 00:13:57 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketWriter.kt

      private val maskCursor: Buffer.UnsafeCursor? = if (isClient) Buffer.UnsafeCursor() else null
    
      /** Send a ping with the supplied [payload]. */
      @Throws(IOException::class)
      fun writePing(payload: ByteString) {
        writeControlFrame(OPCODE_CONTROL_PING, payload)
      }
    
      /** Send a pong with the supplied [payload]. */
      @Throws(IOException::class)
      fun writePong(payload: ByteString) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/http2/FrameLogTest.kt

      }
    
      @Test
      fun flagOverlapOn0x1() {
        assertThat(frameLog(true, 0, 0, TYPE_SETTINGS, 0x1))
          .isEqualTo("<< 0x00000000     0 SETTINGS      ACK")
        assertThat(frameLog(true, 0, 8, TYPE_PING, 0x1))
          .isEqualTo("<< 0x00000000     8 PING          ACK")
        assertThat(frameLog(true, 3, 0, TYPE_HEADERS, 0x1))
          .isEqualTo("<< 0x00000003     0 HEADERS       END_STREAM")
        assertThat(frameLog(true, 3, 0, TYPE_DATA, 0x1))
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  10. prepare_stmt.go

    	if err == nil {
    		return stmt.QueryRowContext(ctx, args...)
    	}
    	return &sql.Row{}
    }
    
    func (db *PreparedStmtDB) Ping() error {
    	conn, err := db.GetDBConn()
    	if err != nil {
    		return err
    	}
    	return conn.Ping()
    }
    
    type PreparedStmtTX struct {
    	Tx
    	PreparedStmtDB *PreparedStmtDB
    }
    
    func (db *PreparedStmtTX) GetDBConn() (*sql.DB, error) {
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Thu Mar 28 08:47:39 GMT 2024
    - 6.4K bytes
    - Viewed (0)
Back to top