[Unit]
Description=xremap service
After=default.target
[Service]
ExecStart=/usr/bin/xremap /home/komamitsu/xremap.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <ucontext.h> | |
#define N 1000000 | |
int main(){ | |
int i = 0; | |
ucontext_t ctxt; | |
getcontext(&ctxt); |
- server.QueryResource#createQuery
- server.ResourceUtil#createSessionForRequest
- execution.SqlQueryManager#createQuery
- sql.parser.SqlParser#createStatement
- event.query.QueryMonitor#createdEvent
- execution.SqlQueryExecution#addStateChangeListener
- execution.SqlQueryManager.QueryStarter#submit
- execution.SqlQueryManager.QueryStarter.QueryQueue#enqueue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.example; | |
import java.sql.Connection; | |
import java.sql.PreparedStatement; | |
import java.sql.ResultSet; | |
import java.sql.SQLException; | |
import java.sql.Statement; | |
import java.util.Arrays; | |
import java.util.HashMap; | |
import java.util.Map; |
Start minikube
$ minikube start --cpus=4
Let's follow https://docs.k8ssandra.io/install/local/single-cluster-helm/ basically.
$ helm repo add k8ssandra https://helm.k8ssandra.io/stable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.komamitsu.unixdomainsockettest; | |
import java.net.StandardProtocolFamily; | |
import java.net.UnixDomainSocketAddress; | |
import java.nio.ByteBuffer; | |
import java.nio.channels.ServerSocketChannel; | |
import java.nio.channels.SocketChannel; | |
import java.nio.file.Path; | |
import java.nio.file.Paths; | |
import java.util.ArrayList; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun calcite() { | |
val schema = Frameworks.createRootSchema(true) | |
val config = Frameworks.newConfigBuilder() | |
.defaultSchema(schema) | |
.sqlValidatorConfig(SqlValidator.Config.DEFAULT) | |
.parserConfig( | |
SqlParser.config() | |
.withQuoting(Quoting.BRACKET) | |
.withCaseSensitive(true) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"></uses-permission> | |
<uses-permission android:name="android.permission.INTERNET"></uses-permission> |
NewerOlder