All of the following information is based on go version go1.17.1 darwin/amd64
.
GOOS | Out of the Box |
---|---|
aix |
✅ |
android |
✅ |
using System.Data; | |
using System.IO; | |
namespace Extensions.Data { | |
public static class DataReaderExtensions { | |
/* | |
* Extension method on IDataReader that reads the entire contents of a large binary column using a single method call. | |
* Sample usage: |
# !pip install --upgrade onnx==1.17.0 onnxruntime==1.20.1 onnxslim==0.1.48 optimum==1.24.0 transformers==4.48.3 | |
import torch | |
import torch.nn as nn | |
from transformers import AutoProcessor, AutoModelForCausalLM | |
import os | |
import onnxslim | |
from optimum.onnx.graph_transformations import merge_decoders, check_and_save_model | |
model = AutoModelForCausalLM.from_pretrained( |
"use strict"; | |
/** | |
* Hypertext Transfer Protocol (HTTP) response status codes. | |
* @see {@link https://en.wikipedia.org/wiki/List_of_HTTP_status_codes} | |
*/ | |
enum HttpStatusCode { | |
/** | |
* The server has received the request headers and the client should proceed to send the request body |
#!/bin/bash | |
# quick and dirty bash script to extract .gnu_debugdata section | |
# from ELF binaries to generate an IDC script that adds these | |
# names as symbols | |
# --rpw, 2020-06-21 | |
SYMBOLFILE=debugdata_symbols.elf | |
if [ $# -lt 1 ]; then | |
echo "you need to supply a path to a binary" |
#include "vmlinux.h" | |
static int (*bpf_trace_printk)(const char* fmt, int fmt_size, ...) = (void *)BPF_FUNC_trace_printk; | |
__attribute__ ((noinline)) | |
int function1(struct xdp_md *context, int value) { | |
volatile int ret = value; | |
char fmt[] = "not implemented"; | |
bpf_trace_printk(fmt, sizeof(fmt)); | |
return ret; |
#!/usr/bin/env node | |
const fs = require('fs'); | |
const path = require('path'); | |
const ts = require('typescript'); // Requires 'npm install typescript' | |
// --- Configuration --- | |
const DEFAULT_PROJECT_PATH = '.'; // Default to current directory | |
const EXCLUDED_DIRS = ['node_modules', 'dist', '.angular', '.vscode', '.git']; // Directories to skip | |
const COMPONENT_FILE_SUFFIX = '.component.ts'; |
#include <stdio.h> | |
int main() { | |
int array[100], n, c; | |
scanf("%d", &n); | |
for (c = 0; c < n; c++) { | |
scanf("%d", &array[c]); | |
} | |
int j=n-1,t=0; | |
for(c=0;c<n/2;c++) |