programming-language
Here are 5,620 public repositories matching this topic...
-
Updated
Jul 2, 2022 - Kotlin
-
Updated
Jun 29, 2022
-
Updated
Jul 3, 2022 - V
-
Updated
Jul 1, 2022 - JavaScript
-
Updated
Mar 24, 2022 - TypeScript
When doing division and modulo operation with constant or immutable denominator it is possible to only do compile-time denominator check and skip runtime checks.
Consider following contracts:
pragma solidity 0.8.15;
uint256 constant _MODULE = 17;
contract C1 {
function f(uint256 a) external pure returns(uint256) {
return a % _MODULE;
}
}
contract C2
-
Updated
Jun 29, 2022 - Python
-
Updated
Jul 3, 2022 - Perl
-
Updated
Jul 2, 2022 - Python
-
Updated
Jun 28, 2022 - OCaml
-
Updated
Jul 3, 2022 - Dart
-
Updated
Jul 3, 2022 - Go
-
Updated
Apr 28, 2022
-
Updated
Mar 20, 2018 - TypeScript
-
Updated
May 11, 2022
-
Updated
Jul 1, 2022 - JavaScript
-
Updated
Jul 1, 2022 - TypeScript
This code is a bit bogus. If opt can be NULL, the declaration typecheck_t* t = &opt->check;
could crash the compiler. In any case, it looks like the t declaration could be safely moved into the scope of the if-branch, where it is properly guarded against opt == NULL.
-
Updated
May 18, 2022 - Go
-
Updated
Jul 1, 2022 - Haxe
-
Updated
Jul 1, 2022 - Red
-
Updated
Jul 2, 2022 - Go
-
Updated
Apr 22, 2022
-
Updated
Jul 3, 2022 - Java
Motivation
The Git class currently doesn't support submodules which prevents for example using submodules in Quark repos.
Description of Proposed Feature
Add a submodule method to Git
and add submodule recursion to the Quark
install step, eg adding the --recurse-submodules
git flag to the clone command. This will download an
-
Updated
Sep 18, 2021 - C
Throw away the manifest and re-resolve the deps.
Improve this page
Add a description, image, and links to the programming-language topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the programming-language topic, visit your repo's landing page and select "manage topics."
This subject was initially discussed in https://discourse.julialang.org/t/efficient-way-to-split-string-at-specific-index/83115/17 regarding a way to split a string into equal-length substrings.
The solutions discussed involved (for a string composed of 10 blocks of 8 strings)
split8(str::String) = [str[i+1:8] for i in 0:8:length(str)]