Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 155 for pings (0.14 sec)

  1. src/runtime/pinner.go

    	"unsafe"
    )
    
    // A Pinner is a set of Go objects each pinned to a fixed location in memory. The
    // [Pinner.Pin] method pins one object, while [Pinner.Unpin] unpins all pinned
    // objects. See their comments for more information.
    type Pinner struct {
    	*pinner
    }
    
    // Pin pins a Go object, preventing it from being moved or freed by the garbage
    // collector until the [Pinner.Unpin] method has been called.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 11K 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,
      ) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. src/testdata/Isaac.Newton-Opticks.txt

    _Obs._ 23. Comparing the quantity of Light reflected from the several
    Rings, I found that it was most copious from the first or inmost, and in
    the exterior Rings became gradually less and less. Also the whiteness of
    the first Ring was stronger than that reflected from those parts of the
    thin Medium or Plate which were without the Rings; as I could manifestly
    perceive by viewing at a distance the Rings made by the two
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 01 16:16:21 UTC 2018
    - 553.9K bytes
    - Viewed (0)
  4. 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) {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Mar 28 08:47:39 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. 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")
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Dec 15 08:36:08 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. 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
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. src/runtime/proc_test.go

    			default:
    			}
    		}
    	}()
    
    	// Ping-pong b.N times
    	ping, pong := make(chan bool), make(chan bool)
    	go func() {
    		for j := 0; j < b.N; j++ {
    			pong <- <-ping
    		}
    		close(stop)
    		done <- true
    	}()
    	go func() {
    		for i := 0; i < b.N; i++ {
    			ping <- <-pong
    		}
    		done <- true
    	}()
    	b.ResetTimer()
    	ping <- true // Start ping-pong
    	<-stop
    	b.StopTimer()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 25.8K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2.kt

      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.
      const val FLAG_END_HEADERS = 0x4 // Used for headers and continuation.
      const val FLAG_END_PUSH_PROMISE = 0x4
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/HeadersJvmTest.kt

            .add("\tkey\t:\tvalue\t") // '\t' also counts as whitespace
            .add("ping:  pong  ") // Value whitespace is trimmed.
            .add("kit:kat") // Space after colon is not required.
            .build()
        assertThat(headers.values("foo")).containsExactly("bar", "baz", "bak")
        assertThat(headers.values("key")).containsExactly("value")
        assertThat(headers.values("ping")).containsExactly("pong")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. src/compress/bzip2/testdata/Isaac.Newton-Opticks.txt.bz2

    and therefore the Theory of deriving these Rings from the thickness of the Plate of Glass of which the Speculum was made, and from the Obliquity of the emerging Rays agrees with the Observation. In this Computation I have equalled the Diameters of the bright Rings made by Light of all Colours, to the Diameters of the Rings made by the bright yellow. For this yellow makes the brightest Part of the Rings of all Colours. If you desire the Diameters of the Rings made by the Light of any other unmix'd Colour,...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 24 18:26:02 UTC 2018
    - 129.4K bytes
    - Viewed (0)
Back to top