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
This_is_file_with_initial_values_for_calculations. | |
---------------------------------------------------------------------------------------------------------- | |
NumOfTraject_160___NumOfPoints__StartStepIntegration___TolIntegration___TolOfCrossSection: | |
160 2000 0.0001000 0.0001000 0.0001000 | |
---------------------------------------------------------------------------------------------------------- | |
G: | |
20.000000 | |
---------------------------------------------------------------------------------------------------------- | |
Initial_values_of_phase_coordinates_for_trajectory_and_file_name_with_her_Puancare_points: | |
1 0.0 16.0 ./RESULT/1_trajectory.txt |
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 <stdint.h> | |
#include <sys/time.h> | |
uint64_t time_delta(struct timeval *from, struct timeval *to) { | |
uint64_t delta = to->tv_sec * 1000000l + to->tv_usec; | |
return delta - (from->tv_sec * 1000000l + from->tv_usec); | |
} | |
int main(void) { |
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
obj-m += memdump.o | |
all: | |
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules | |
clean: | |
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean |
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
#define BLOCK_NUMBER 32 | |
#define BLOCK_SIZE 256 | |
#define EPS 1e-8 | |
//MAX_ITERS - максимальное число итераций, выполняемое за один запуск ядра | |
#define MAX_ITERS 200*BLOCK_NUMBER | |
#define MAX_DEGREE 8 | |
#define BENCHMARK | |
#include <cuda_runtime.h> |
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
firefish@firefish-PC:/media/firefish/data/projects/ransac_cuda$ ./ransac_cuda | |
Sample length: 100 | |
Estimated set length: 10 | |
Maximum iterations: 100000 | |
Maximum degree of the result polynom: 2 | |
Tolerance threshold: 0.10000000 | |
Maximum part of outliners: 0.30000000 | |
### Total time: 5.272155 |
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
import java.util.Date; | |
import java.util.concurrent.ExecutionException; | |
import java.util.concurrent.ForkJoinPool; | |
import algorithm.Solver; | |
/** | |
* @author nazarov | |
*/ | |
public class ExecutorTest { | |
public static void main(String[] args) throws ExecutionException, InterruptedException { |
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.epic.perleditor.editors.perl; | |
import java.util.*; | |
import java.util.regex.Matcher; | |
import java.util.regex.Pattern; | |
import org.eclipse.core.runtime.CoreException; | |
import org.eclipse.jface.text.*; | |
import org.eclipse.jface.text.contentassist.*; | |
import org.eclipse.ui.editors.text.TextEditor; |
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
perl -e 'print chr(length($_)/3) for @ARGV' Perl! Perl! Perl! Perl! Perl! Perl! Perl! Perl! Perl! Perl |
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
SECTION .data | |
formatin: db "%lld", 0 | |
in1: dq 6 | |
in2: dq 5 | |
formatout: db "%g", 10, 0 | |
var: dq 0.0 | |
SECTION .text | |
global main | |
extern scanf | |
extern printf |
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
if ( ($foo == 1) | |
and ($bar == 1) ){ | |
# ^ space after last matching parens | |
} |