17 repository-uri
Sending a computed result back to the caller for further use in the program.
Distinct from Return Value Transformers: Distinct from Return Value Transformers: covers the basic return mechanism rather than interception and transformation of values.
Explore 17 awesome GitHub repositories matching programming languages & runtimes · Return Values. Refine with filters or upvote what's useful.
Xgo is a programming language that combines familiar constructs from languages like C/C++, Go, Python, and JavaScript with a natural language-style syntax that reads closer to plain English. It executes programs compatible with the Go language, allowing reuse of existing Go libraries and tooling, and supports mixing Go and XGo source files within a single package for gradual adoption of its simplified syntax. The language distinguishes itself through direct foreign function interface capabilities, enabling calls to C/C++ and Python libraries using specialized string literal syntax without man
Returns errors as an explicit separate return value alongside the result for visible error handling.
100 Go Mistakes is a reference book and code review companion that catalogues frequent Go programming anti-patterns and provides corrected implementations for each one. It covers a wide range of common pitfalls, from range loop variable capture and interface nil handling to error wrapping and map iteration randomization, helping developers recognize and avoid these issues in their own code. The project distinguishes itself by offering a structured, example-driven approach to learning idiomatic Go. It covers core design decisions such as when to use pointer versus value receivers, how to apply
Demonstrates using the blank identifier to explicitly ignore errors in Go.
Eve is a REST API framework that maps database collections to web resources through declarative configuration files. It functions as a database-to-API mapper, automatically exposing data as RESTful endpoints with built-in support for CRUD operations and schema-based request validation. The project distinguishes itself through a HATEOAS API engine that generates hypermedia links and resource schemas for dynamic client discovery. It also includes an automated Swagger documentation generator that produces interactive specifications for client SDK generation and testing. The framework provides a
Supports field projections to restrict the subset of document fields returned in API responses.
This is an interactive Python tutorial delivered as a collection of Jupyter notebooks. It is designed as a structured learning path for beginners, teaching fundamental language concepts through a sequence of lessons that combine explanatory text with runnable code cells and embedded practice exercises. Each notebook is a self-contained unit that introduces a topic, demonstrates it with a minimal code example, and then asks the learner to write code themselves, receiving immediate feedback from the browser-based execution environment. The curriculum is built on a progressive concept-stacking mo
Teaches returning values from functions for use in the calling code.
collect.js is a dependency-free JavaScript library that provides a fluent, chainable interface for manipulating arrays and objects. It mirrors the Laravel Collection API, offering a consistent set of methods for data transformation across JavaScript and Laravel backend environments. The library stores collection data as plain arrays internally and supports fluent method chaining, where each method returns a new collection instance. The library distinguishes itself by closely replicating the Laravel Collection API in JavaScript, mapping each PHP method to an equivalent JavaScript implementatio
Returns all values from a collection as a plain array for further processing.
Osmedeus is a security workflow orchestration engine that coordinates AI agents, shell commands, and scanning tools through declarative YAML pipelines. It functions as a distributed security scanner, a declarative workflow automator, and an AI agent framework for security, enabling automated multi-step security analysis with conditional branching, parallel execution, and distributed workers. The engine distinguishes itself through a hybrid runner model that executes workflow steps on the local host, inside Docker containers, or over SSH to remote machines, selected per step or module. It supp
Returns strings, booleans, numbers, arrays, or objects from custom functions to the calling workflow.
Acest proiect oferă un set cuprinzător de design pattern-uri standardizate, convenții de denumire și configurații de mediu pentru dezvoltarea Objective-C. Stabilește un framework consistent pentru design-ul API-urilor, gestionarea memoriei și organizarea proiectelor, pentru a asigura că bazele de cod rămân lizibile și mentenabile în cadrul echipelor. Ghidul definește standarde specifice pentru izolarea namespace-urilor folosind prefixe de clasă și un sistem structurat pentru denumirea activelor. Acesta subliniază tiparele arhitecturale pentru protocoalele de delegare și mecanismele de gestionare a erorilor menite să îmbunătățească siguranța tipurilor și claritatea. Acoperirea se extinde la formatarea codului sursă, organizarea structurii claselor și implementarea singleton-urilor thread-safe. Include, de asemenea, standarde pentru configurarea proiectelor Xcode, aliniind ierarhiile fizice de fișiere cu grupurile de proiect și gestionând setările de build.
Implements error handling by returning errors as explicit values instead of using error pointer arguments.
Carp is a statically typed Lisp compiler that compiles Lisp-like syntax directly to C source code, enabling seamless integration with existing C libraries and low-level system programming. It manages memory deterministically at compile time using ownership tracking and linear types, eliminating garbage collection pauses and runtime overhead while ensuring type safety through an inferred static type system. The language distinguishes itself through compile-time macro expansion and metaprogramming capabilities, allowing code generation and transformation before final binary output. It enforces
Provides a function to list all values in a dynamic map.
Acest proiect este o resursă educațională localizată pentru învățarea limbajului de programare Rust, oferind un ghid cuprinzător și specificații tehnice traduse în chineză simplificată. Servește ca instrument de instruire pentru studierea idiomurilor limbajului, gestionarea memoriei și sistemele de tipuri. Repository-ul se concentrează pe localizarea documentației software, convertind ghidurile oficiale în chineză simplificată pentru a crește accesibilitatea pentru vorbitorii non-nativi de engleză. Utilizează un sistem bazat pe markdown pentru a organiza conținutul și suportă exportul în formate multiple către HTML static, PDF și EPUB pentru vizualizare web și offline. Conținutul acoperă o gamă largă de domenii tehnice Rust, inclusiv primitive de gestionare a memoriei precum ownership și borrowing, design avansat de limbaj implicând traits și generics, și strategii cuprinzătoare de gestionare a erorilor. De asemenea, detaliază fundamentele programării, modelarea datelor și utilizarea instrumentelor de productivitate pentru dezvoltatori pentru gestionarea build-urilor și a dependențelor.
Rust produces an output from a function by specifying a return type and evaluating a final expression.
Acest proiect este o traducere în chineză a unui ghid cuprinzător pentru limbajul de programare Go. Servește ca resursă educațională localizată și manual tehnic conceput pentru a oferi îndrumări privind sintaxa limbajului, designul și dezvoltarea software. Resursa acoperă o gamă largă de educație în limbajul Go, inclusiv implementarea modelelor de programare și designul de sistem. Include lecții traduse și exemple care se concentrează pe caracteristicile de bază ale limbajului, cum ar fi concurența și utilizarea interfețelor. Conținutul acoperă diverse domenii de capabilitate, inclusiv fundamentele limbajului, modelarea datelor, runtime reflection și gestionarea memoriei. De asemenea, oferă o acoperire detaliată a arhitecturii software, gestionarea erorilor, asigurarea calității și rețelistica web. Documentația este structurată ca un manual tehnic care conține conținut tradus, erate și corecții pentru a asigura o învățare precisă.
Teaches the idiomatic Go pattern of returning errors as explicit values to handle expected failures.
Ink este un limbaj de scripting pentru narațiune interactivă, un compilator de narațiune JSON și un runtime pentru motorul de narațiune. Oferă un set de instrumente specializat pentru autorarea poveștilor non-liniare și a sistemelor complexe de dialog ramificat, permițând dezvoltatorilor să gestioneze starea jocului și să livreze text interactiv către o interfață de utilizator. Sistemul transformă scripturile brute într-un format bytecode JSON lizibil de către mașină pentru a optimiza execuția în motoare de joc externe. Se distinge prin gestionarea avansată a stării, inclusiv capacitatea de a serializa progresul poveștii în snapshot-uri și de a menține contexte de poveste concurente pentru gestionarea mai multor fire narative simultane. Framework-ul acoperă domenii largi de capabilități, inclusiv controlul fluxului condițional, execuția funcțiilor logice și urmărirea stării complexe bazate pe seturi. Suportă tipare de design narativ precum imbricarea opțiunilor de dialog, segmente de poveste reutilizabile și utilizarea tag-urilor de metadate pentru a semnala acțiuni sistemice către o aplicație gazdă. Runtime-ul permite comunicarea bidirecțională cu logica gazdă prin binding-uri de funcții externe și gestionarea stării prin pattern-ul observer.
Coordinates the execution of narrative segments that return the story flow to the original calling location.
Cerbos is an open-source authorization service that provides a centralized, language-agnostic engine for managing access control. It functions as a policy-as-code platform, allowing teams to define, test, and distribute authorization rules using declarative YAML or JSON configurations. By decoupling access logic from application code, it enables consistent permission enforcement across diverse service stacks. The project distinguishes itself through its ability to translate high-level authorization policies into native database query filters. This capability allows applications to enforce sec
Provides a list of accessible fields within policy responses to enable dynamic data filtering for users.
OneOf este o bibliotecă C# pentru uniuni discriminate și un generator de surse care oferă tipuri sum funcționale. Acesta servește drept instrument de polimorfism puternic tipizat, permițând dezvoltatorilor să definească parametri de metodă și valori returnate care pot fi exact unul dintre mai multe tipuri specifice. Proiectul implementează tipare de programare funcțională pentru a înlocui clasele de bază generice cu uniuni sigure din punct de vedere al tipurilor. Utilizează un generator de surse pentru a produce automat codul boilerplate necesar gestionării acestor ierarhii de tipuri de uniune în timpul compilării. Biblioteca oferă mecanisme pentru pattern matching și extragerea valorilor din uniuni, având o verificare a exhaustivității la compilare pentru a asigura că fiecare caz de tip posibil este tratat în expresiile switch. Suportă definiții reutilizabile de tipuri de uniune și design API polimorfic prin semnături de returnare cu tipuri multiple și suport pentru parametri.
Provides the capability to return a value that can be any one of several predefined specific types.
Parallel.js is a JavaScript library for running computational tasks concurrently across background worker threads and multi-core environments in browsers and Node. It wraps web worker management into a framework that offloads heavy computations without blocking the main event loop. The library initializes parallel jobs by wrapping serializable data in memory and configuring worker threads, execution timeouts, and synchronous fallback behavior. It supports mapping functions across datasets and reducing dataset values to scalar results by distributing work across separate threads. Operations ex
Applies an accumulation function to members of a dataset to combine intermediate results and return a single scalar value.
Oils is a Unix shell interpreter and scripting language runtime that combines a modern shell language with POSIX and Bash compatibility. It functions as a structured data shell, integrating JSON and J8 formats to manage complex data without relying on string parsing. The system is distinguished by a C++ transpiled interpreter that converts a subset of Python source code into strongly typed C++ for high-performance execution. It features a garbage-collected typed runtime that supports prototype-based polymorphism, lexical closures, and reference-based variable mutation. To decouple shell logic
Enables modifying variables in the caller's scope by passing a reference as a parameter.
Spring Data Elasticsearch is a data access library that maps Java objects to Elasticsearch indices. It functions as an object mapper, a repository abstraction, and a query DSL wrapper, providing both a standard and a reactive client for executing asynchronous search and persistence operations. The project distinguishes itself by automating data access through repository interfaces, which generate query logic based on method naming conventions. It enables the construction of complex search queries using a domain-specific language and supports advanced search capabilities such as vector similar
Restricts the data transferred from the server by returning only a specified subset of entity properties.
This project serves as a comprehensive knowledge base and technical reference for identifying and mitigating security vulnerabilities in smart contracts. It provides a structured catalog of common attack vectors, logic errors, and insecure coding patterns, offering developers and auditors a centralized resource for implementing secure decentralized applications. The repository distinguishes itself by covering the full lifecycle of contract security, from low-level arithmetic safety and compiler constraints to high-level architectural patterns. It details specific defensive strategies for mana
Prevents gas exhaustion attacks by restricting the amount of data copied from external contract calls.