repo
stringlengths
5
92
file_url
stringlengths
80
287
file_path
stringlengths
5
197
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:37:27
2026-01-04 17:58:21
truncated
bool
2 classes
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/i18n-1.5.3/lib/i18n/backend/interpolation_compiler.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/i18n-1.5.3/lib/i18n/backend/interpolation_compiler.rb
# frozen_string_literal: true # The InterpolationCompiler module contains optimizations that can tremendously # speed up the interpolation process on the Simple backend. # # It works by defining a pre-compiled method on stored translation Strings that # already bring all the knowledge about contained interpolation var...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/i18n-1.5.3/lib/i18n/backend/simple.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/i18n-1.5.3/lib/i18n/backend/simple.rb
# frozen_string_literal: true require 'i18n/backend/base' module I18n module Backend # A simple backend that reads translations from YAML files and stores them in # an in-memory hash. Relies on the Base backend. # # The implementation is provided by a Implementation module allowing to easily # e...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/i18n-1.5.3/lib/i18n/backend/fallbacks.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/i18n-1.5.3/lib/i18n/backend/fallbacks.rb
# frozen_string_literal: true # I18n locale fallbacks are useful when you want your application to use # translations from other locales when translations for the current locale are # missing. E.g. you might want to use :en translations when translations in # your applications main locale :de are missing. # # To enabl...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/i18n-1.5.3/lib/i18n/backend/cache.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/i18n-1.5.3/lib/i18n/backend/cache.rb
# frozen_string_literal: true # This module allows you to easily cache all responses from the backend - thus # speeding up the I18n aspects of your application quite a bit. # # To enable caching you can simply include the Cache module to the Simple # backend - or whatever other backend you are using: # # I18n::Backe...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/i18n-1.5.3/lib/i18n/backend/metadata.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/i18n-1.5.3/lib/i18n/backend/metadata.rb
# frozen_string_literal: true # I18n translation metadata is useful when you want to access information # about how a translation was looked up, pluralized or interpolated in # your application. # # msg = I18n.t(:message, :default => 'Hi!', :scope => :foo) # msg.translation_metadata # # => { :key => :message, :s...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/i18n-1.5.3/lib/i18n/backend/flatten.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/i18n-1.5.3/lib/i18n/backend/flatten.rb
# frozen_string_literal: true module I18n module Backend # This module contains several helpers to assist flattening translations. # You may want to flatten translations for: # # 1) speed up lookups, as in the Memoize backend; # 2) In case you want to store translations in a data store, as in...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/i18n-1.5.3/lib/i18n/locale/tag.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/i18n-1.5.3/lib/i18n/locale/tag.rb
# encoding: utf-8 module I18n module Locale module Tag autoload :Parents, 'i18n/locale/tag/parents' autoload :Rfc4646, 'i18n/locale/tag/rfc4646' autoload :Simple, 'i18n/locale/tag/simple' class << self # Returns the current locale tag implementation. Defaults to +I18n::Locale::T...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/i18n-1.5.3/lib/i18n/locale/fallbacks.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/i18n-1.5.3/lib/i18n/locale/fallbacks.rb
# Locale Fallbacks # # Extends the I18n module to hold a fallbacks instance which is set to an # instance of I18n::Locale::Fallbacks by default but can be swapped with a # different implementation. # # Locale fallbacks will compute a number of fallback locales for a given locale. # For example: # # <pre><code> # I18n.f...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/i18n-1.5.3/lib/i18n/locale/tag/parents.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/i18n-1.5.3/lib/i18n/locale/tag/parents.rb
module I18n module Locale module Tag module Parents def parent @parent ||= begin segs = to_a.compact segs.length > 1 ? self.class.tag(*segs[0..(segs.length-2)].join('-')) : nil end end def self_and_parents @self_and_parents ||= [...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/i18n-1.5.3/lib/i18n/locale/tag/simple.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/i18n-1.5.3/lib/i18n/locale/tag/simple.rb
# Simple Locale tag implementation that computes subtags by simply splitting # the locale tag at '-' occurences. module I18n module Locale module Tag class Simple class << self def tag(tag) new(tag) end end include Parents attr_reader :tag ...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/i18n-1.5.3/lib/i18n/locale/tag/rfc4646.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/i18n-1.5.3/lib/i18n/locale/tag/rfc4646.rb
# RFC 4646/47 compliant Locale tag implementation that parses locale tags to # subtags such as language, script, region, variant etc. # # For more information see by http://en.wikipedia.org/wiki/IETF_language_tag # # Rfc4646::Parser does not implement grandfathered tags. module I18n module Locale module Tag ...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/i18n-1.5.3/lib/i18n/gettext/helpers.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/i18n-1.5.3/lib/i18n/gettext/helpers.rb
# frozen_string_literal: true require 'i18n/gettext' module I18n module Gettext # Implements classical Gettext style accessors. To use this include the # module to the global namespace or wherever you want to use it. # # include I18n::Gettext::Helpers module Helpers # Makes dynamic trans...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/i18n-1.5.3/lib/i18n/gettext/po_parser.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/i18n-1.5.3/lib/i18n/gettext/po_parser.rb
=begin poparser.rb - Generate a .mo Copyright (C) 2003-2009 Masao Mutoh <mutoh at highway.ne.jp> You may redistribute it and/or modify it under the same license terms as Ruby. =end #MODIFIED # removed include GetText etc # added stub translation method _(x) require 'racc/parser' module GetText class PoPa...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/ruby-macho-2.1.0/lib/macho.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/ruby-macho-2.1.0/lib/macho.rb
require_relative "macho/structure" require_relative "macho/view" require_relative "macho/headers" require_relative "macho/load_commands" require_relative "macho/sections" require_relative "macho/macho_file" require_relative "macho/fat_file" require_relative "macho/exceptions" require_relative "macho/utils" require_rela...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/ruby-macho-2.1.0/lib/macho/sections.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/ruby-macho-2.1.0/lib/macho/sections.rb
module MachO # Classes and constants for parsing sections in Mach-O binaries. module Sections # type mask SECTION_TYPE = 0x000000ff # attributes mask SECTION_ATTRIBUTES = 0xffffff00 # user settable attributes mask SECTION_ATTRIBUTES_USR = 0xff000000 # system settable attributes mask ...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/ruby-macho-2.1.0/lib/macho/macho_file.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/ruby-macho-2.1.0/lib/macho/macho_file.rb
require "forwardable" module MachO # Represents a Mach-O file, which contains a header and load commands # as well as binary executable instructions. Mach-O binaries are # architecture specific. # @see https://en.wikipedia.org/wiki/Mach-O # @see FatFile class MachOFile extend Forwardable # @return...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/ruby-macho-2.1.0/lib/macho/tools.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/ruby-macho-2.1.0/lib/macho/tools.rb
module MachO # A collection of convenient methods for common operations on Mach-O and Fat # binaries. module Tools # @param filename [String] the Mach-O or Fat binary being read # @return [Array<String>] an array of all dylibs linked to the binary def self.dylibs(filename) file = MachO.open(file...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/ruby-macho-2.1.0/lib/macho/exceptions.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/ruby-macho-2.1.0/lib/macho/exceptions.rb
module MachO # A generic Mach-O error in execution. class MachOError < RuntimeError end # Raised when a Mach-O file modification fails. class ModificationError < MachOError end # Raised when a Mach-O file modification fails but can be recovered when # operating on multiple Mach-O slices of a fat binar...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/ruby-macho-2.1.0/lib/macho/view.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/ruby-macho-2.1.0/lib/macho/view.rb
module MachO # A representation of some unspecified Mach-O data. class MachOView # @return [String] the raw Mach-O data attr_reader :raw_data # @return [Symbol] the endianness of the data (`:big` or `:little`) attr_reader :endianness # @return [Integer] the offset of the relevant data (in {#ra...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/ruby-macho-2.1.0/lib/macho/utils.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/ruby-macho-2.1.0/lib/macho/utils.rb
module MachO # A collection of utility functions used throughout ruby-macho. module Utils # Rounds a value to the next multiple of the given round. # @param value [Integer] the number being rounded # @param round [Integer] the number being rounded with # @return [Integer] the rounded value # @se...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/ruby-macho-2.1.0/lib/macho/fat_file.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/ruby-macho-2.1.0/lib/macho/fat_file.rb
require "forwardable" module MachO # Represents a "Fat" file, which contains a header, a listing of available # architectures, and one or more Mach-O binaries. # @see https://en.wikipedia.org/wiki/Mach-O#Multi-architecture_binaries # @see MachOFile class FatFile extend Forwardable # @return [String]...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/ruby-macho-2.1.0/lib/macho/structure.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/ruby-macho-2.1.0/lib/macho/structure.rb
module MachO # A general purpose pseudo-structure. # @abstract class MachOStructure # The String#unpack format of the data structure. # @return [String] the unpacking format # @api private FORMAT = "".freeze # The size of the data structure, in bytes. # @return [Integer] the size, in byte...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/ruby-macho-2.1.0/lib/macho/headers.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/ruby-macho-2.1.0/lib/macho/headers.rb
module MachO # Classes and constants for parsing the headers of Mach-O binaries. module Headers # big-endian fat magic # @api private FAT_MAGIC = 0xcafebabe # little-endian fat magic # @note This is defined for completeness, but should never appear in ruby-macho code, # since fat headers a...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/ruby-macho-2.1.0/lib/macho/load_commands.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/ruby-macho-2.1.0/lib/macho/load_commands.rb
module MachO # Classes and constants for parsing load commands in Mach-O binaries. module LoadCommands # load commands added after OS X 10.1 need to be bitwise ORed with # LC_REQ_DYLD to be recognized by the dynamic linker (dyld) # @api private LC_REQ_DYLD = 0x80000000 # association of load com...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
true
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent-ruby.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent-ruby.rb
require_relative "./concurrent"
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent.rb
require 'concurrent/version' require 'concurrent/constants' require 'concurrent/errors' require 'concurrent/configuration' require 'concurrent/atomics' require 'concurrent/executors' require 'concurrent/synchronization' require 'concurrent/atomic/atomic_markable_reference' require 'concurrent/atomic/atomic_reference'...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/agent.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/agent.rb
require 'concurrent/configuration' require 'concurrent/atomic/atomic_reference' require 'concurrent/atomic/thread_local_var' require 'concurrent/collection/copy_on_write_observer_set' require 'concurrent/concern/observable' require 'concurrent/synchronization' module Concurrent # `Agent` is inspired by Clojure's [a...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/tuple.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/tuple.rb
require 'concurrent/atomic/atomic_reference' module Concurrent # A fixed size array with volatile (synchronized, thread safe) getters/setters. # Mixes in Ruby's `Enumerable` module for enhanced search, sort, and traversal. # # @example # tuple = Concurrent::Tuple.new(16) # # tuple.set(0, :foo) ...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/re_include.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/re_include.rb
module Concurrent # Methods form module A included to a module B, which is already included into class C, # will not be visible in the C class. If this module is extended to B then A's methods # are correctly made visible to C. # # @example # module A # def a # :a # end # end # ...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/version.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/version.rb
module Concurrent VERSION = '1.1.4' EDGE_VERSION = '0.4.1' end
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/errors.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/errors.rb
module Concurrent Error = Class.new(StandardError) # Raised when errors occur during configuration. ConfigurationError = Class.new(Error) # Raised when an asynchronous operation is cancelled before execution. CancelledOperationError = Class.new(Error) # Raised when a lifecycle method (such as `stop`) is...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/options.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/options.rb
require 'concurrent/configuration' module Concurrent # @!visibility private module Options # Get the requested `Executor` based on the values set in the options hash. # # @param [Hash] opts the options defining the requested executor # @option opts [Executor] :executor when set use the given `Exe...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/maybe.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/maybe.rb
require 'concurrent/synchronization' module Concurrent # A `Maybe` encapsulates an optional value. A `Maybe` either contains a value # of (represented as `Just`), or it is empty (represented as `Nothing`). Using # `Maybe` is a good way to deal with errors or exceptional cases without # resorting to drastic me...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/future.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/future.rb
require 'thread' require 'concurrent/constants' require 'concurrent/errors' require 'concurrent/ivar' require 'concurrent/executor/safe_task_executor' require 'concurrent/options' # TODO (pitr-ch 14-Mar-2017): deprecate, Future, Promise, etc. module Concurrent # {include:file:docs-source/future.md} # # @!mac...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/array.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/array.rb
require 'concurrent/utility/engine' require 'concurrent/thread_safe/util' module Concurrent # @!macro concurrent_array # # A thread-safe subclass of Array. This version locks against the object # itself for every method call, ensuring only one thread can be reading # or writing at a time. This include...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/set.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/set.rb
require 'concurrent/utility/engine' require 'concurrent/thread_safe/util' require 'set' module Concurrent # @!macro concurrent_set # # A thread-safe subclass of Set. This version locks against the object # itself for every method call, ensuring only one thread can be reading # or writing at a time. Th...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/constants.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/constants.rb
module Concurrent # Various classes within allows for +nil+ values to be stored, # so a special +NULL+ token is required to indicate the "nil-ness". # @!visibility private NULL = ::Object.new end
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/timer_task.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/timer_task.rb
require 'concurrent/collection/copy_on_notify_observer_set' require 'concurrent/concern/dereferenceable' require 'concurrent/concern/observable' require 'concurrent/atomic/atomic_boolean' require 'concurrent/executor/executor_service' require 'concurrent/executor/ruby_executor_service' require 'concurrent/executor/safe...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomics.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomics.rb
require 'concurrent/atomic/atomic_reference' require 'concurrent/atomic/atomic_boolean' require 'concurrent/atomic/atomic_fixnum' require 'concurrent/atomic/cyclic_barrier' require 'concurrent/atomic/count_down_latch' require 'concurrent/atomic/event' require 'concurrent/atomic/read_write_lock' require 'concurrent/atom...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/delay.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/delay.rb
require 'thread' require 'concurrent/concern/obligation' require 'concurrent/executor/immediate_executor' require 'concurrent/synchronization' module Concurrent # This file has circular require issues. It must be autoloaded here. autoload :Options, 'concurrent/options' # Lazy evaluation of a block yielding an ...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/exchanger.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/exchanger.rb
require 'concurrent/constants' require 'concurrent/errors' require 'concurrent/maybe' require 'concurrent/atomic/atomic_reference' require 'concurrent/atomic/count_down_latch' require 'concurrent/utility/engine' require 'concurrent/utility/monotonic_time' module Concurrent # @!macro exchanger # # A synchroniz...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/tvar.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/tvar.rb
require 'set' require 'concurrent/synchronization' module Concurrent # A `TVar` is a transactional variable - a single-element container that # is used as part of a transaction - see `Concurrent::atomically`. # # @!macro thread_safe_variable_comparison # # {include:file:docs-source/tvar.md} class TVar <...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/settable_struct.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/settable_struct.rb
require 'concurrent/synchronization/abstract_struct' require 'concurrent/errors' require 'concurrent/synchronization' module Concurrent # An thread-safe, write-once variation of Ruby's standard `Struct`. # Each member can have its value set at most once, either at construction # or any time thereafter. Attempti...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/configuration.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/configuration.rb
require 'thread' require 'concurrent/delay' require 'concurrent/errors' require 'concurrent/atomic/atomic_reference' require 'concurrent/concern/logging' require 'concurrent/executor/immediate_executor' require 'concurrent/executor/cached_thread_pool' require 'concurrent/utility/at_exit' require 'concurrent/utility/pro...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/executors.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/executors.rb
require 'concurrent/executor/abstract_executor_service' require 'concurrent/executor/cached_thread_pool' require 'concurrent/executor/executor_service' require 'concurrent/executor/fixed_thread_pool' require 'concurrent/executor/immediate_executor' require 'concurrent/executor/indirect_immediate_executor' require 'conc...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atom.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atom.rb
require 'concurrent/atomic/atomic_reference' require 'concurrent/collection/copy_on_notify_observer_set' require 'concurrent/concern/observable' require 'concurrent/synchronization' # @!macro thread_safe_variable_comparison # # ## Thread-safe Variable Classes # # Each of the thread-safe variable classes is designe...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/promises.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/promises.rb
require 'concurrent/synchronization' require 'concurrent/atomic/atomic_boolean' require 'concurrent/atomic/atomic_fixnum' require 'concurrent/collection/lock_free_stack' require 'concurrent/errors' require 'concurrent/re_include' module Concurrent # {include:file:docs-source/promises-main.md} module Promises ...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
true
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/immutable_struct.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/immutable_struct.rb
require 'concurrent/synchronization/abstract_struct' require 'concurrent/synchronization' module Concurrent # A thread-safe, immutable variation of Ruby's standard `Struct`. # # @see http://ruby-doc.org/core-2.2.0/Struct.html Ruby standard library `Struct` module ImmutableStruct include Synchronization::A...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/dataflow.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/dataflow.rb
require 'concurrent/future' require 'concurrent/atomic/atomic_fixnum' module Concurrent # @!visibility private class DependencyCounter # :nodoc: def initialize(count, &block) @counter = AtomicFixnum.new(count) @block = block end def update(time, value, reason) if @counter.decrement...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/ivar.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/ivar.rb
require 'concurrent/constants' require 'concurrent/errors' require 'concurrent/collection/copy_on_write_observer_set' require 'concurrent/concern/obligation' require 'concurrent/concern/observable' require 'concurrent/synchronization' module Concurrent # An `IVar` is like a future that you can assign. As a future i...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/scheduled_task.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/scheduled_task.rb
require 'concurrent/constants' require 'concurrent/errors' require 'concurrent/configuration' require 'concurrent/ivar' require 'concurrent/collection/copy_on_notify_observer_set' require 'concurrent/utility/monotonic_time' require 'concurrent/options' module Concurrent # `ScheduledTask` is a close relative of `Co...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/map.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/map.rb
require 'thread' require 'concurrent/constants' require 'concurrent/synchronization' require 'concurrent/utility/engine' module Concurrent # @!visibility private module Collection # @!visibility private MapImplementation = case when Concurrent.on_jruby? # ...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/promise.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/promise.rb
require 'thread' require 'concurrent/constants' require 'concurrent/errors' require 'concurrent/ivar' require 'concurrent/executor/safe_task_executor' require 'concurrent/options' module Concurrent PromiseExecutionError = Class.new(StandardError) # Promises are inspired by the JavaScript [Promises/A](http://wik...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/mutable_struct.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/mutable_struct.rb
require 'concurrent/synchronization/abstract_struct' require 'concurrent/synchronization' module Concurrent # An thread-safe variation of Ruby's standard `Struct`. Values can be set at # construction or safely changed at any time during the object's lifecycle. # # @see http://ruby-doc.org/core-2.2.0/Struct.ht...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/mvar.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/mvar.rb
require 'concurrent/concern/dereferenceable' require 'concurrent/synchronization' module Concurrent # An `MVar` is a synchronized single element container. They are empty or # contain one item. Taking a value from an empty `MVar` blocks, as does # putting a value into a full one. You can either think of them as...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/hash.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/hash.rb
require 'concurrent/utility/engine' require 'concurrent/thread_safe/util' module Concurrent # @!macro concurrent_hash # # A thread-safe subclass of Hash. This version locks against the object # itself for every method call, ensuring only one thread can be reading # or writing at a time. This includes ...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization.rb
require 'concurrent/utility/engine' require 'concurrent/synchronization/abstract_object' require 'concurrent/utility/native_extension_loader' # load native parts first Concurrent.load_native_extensions require 'concurrent/synchronization/mri_object' require 'concurrent/synchronization/jruby_object' require 'concurren...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/async.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/async.rb
require 'concurrent/configuration' require 'concurrent/ivar' require 'concurrent/synchronization/lockable_object' module Concurrent # A mixin module that provides simple asynchronous behavior to a class, # turning it into a simple actor. Loosely based on Erlang's # [gen_server](http://www.erlang.org/doc/man/gen...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/jruby_object.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/jruby_object.rb
module Concurrent module Synchronization if Concurrent.on_jruby? && Concurrent.java_extensions_loaded? module JRubyAttrVolatile def self.included(base) base.extend(ClassMethods) end module ClassMethods def attr_volatile(*names) names.each do |name| ...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/abstract_lockable_object.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/abstract_lockable_object.rb
module Concurrent module Synchronization # @!visibility private class AbstractLockableObject < Synchronization::Object protected # @!macro synchronization_object_method_synchronize # # @yield runs the block synchronized against this object, # equivalent of java's `synchr...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/rbx_lockable_object.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/rbx_lockable_object.rb
module Concurrent module Synchronization # @!visibility private # @!macro internal_implementation_note class RbxLockableObject < AbstractLockableObject safe_initialization! def initialize(*defaults) super(*defaults) @__Waiters__ = [] @__owner__ = nil end ...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/volatile.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/volatile.rb
module Concurrent module Synchronization # Volatile adds the attr_volatile class method when included. # # @example # class Foo # include Concurrent::Synchronization::Volatile # # attr_volatile :bar # # def initialize # self.bar = 1 # end # en...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/lockable_object.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/lockable_object.rb
module Concurrent module Synchronization # @!visibility private # @!macro internal_implementation_note LockableObjectImplementation = case when Concurrent.on_cruby? && Concurrent.ruby_version(:<=, 1, 9, 3) MonitorLockableObject ...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/rbx_object.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/rbx_object.rb
module Concurrent module Synchronization module RbxAttrVolatile def self.included(base) base.extend(ClassMethods) end module ClassMethods def attr_volatile(*names) names.each do |name| ivar = :"@volatile_#{name}" class_eval <<-RUBY, __FILE__, ...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/abstract_object.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/abstract_object.rb
module Concurrent module Synchronization # @!visibility private # @!macro internal_implementation_note class AbstractObject # @abstract has to be implemented based on Ruby runtime def initialize raise NotImplementedError end # @!visibility private # @abstract ...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/abstract_struct.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/abstract_struct.rb
module Concurrent module Synchronization # @!visibility private # @!macro internal_implementation_note module AbstractStruct # @!visibility private def initialize(*values) super() ns_initialize(*values) end # @!macro struct_length # # Returns the nu...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/mutex_lockable_object.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/mutex_lockable_object.rb
module Concurrent # noinspection RubyInstanceVariableNamingConvention module Synchronization # @!visibility private # @!macro internal_implementation_note module ConditionSignalling protected def ns_signal @__Condition__.signal self end def ns_broadcast ...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/jruby_lockable_object.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/jruby_lockable_object.rb
module Concurrent module Synchronization if Concurrent.on_jruby? && Concurrent.java_extensions_loaded? # @!visibility private # @!macro internal_implementation_note class JRubyLockableObject < AbstractLockableObject end end end end
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/object.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/object.rb
module Concurrent module Synchronization # @!visibility private # @!macro internal_implementation_note ObjectImplementation = case when Concurrent.on_cruby? MriObject when Concurrent.on_jruby? ...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/mri_object.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/mri_object.rb
module Concurrent module Synchronization module MriAttrVolatile def self.included(base) base.extend(ClassMethods) end module ClassMethods def attr_volatile(*names) names.each do |name| ivar = :"@volatile_#{name}" class_eval <<-RUBY, __FILE__, _...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/truffleruby_object.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/truffleruby_object.rb
module Concurrent module Synchronization module TruffleRubyAttrVolatile def self.included(base) base.extend(ClassMethods) end module ClassMethods def attr_volatile(*names) names.each do |name| ivar = :"@volatile_#{name}" class_eval <<-RUBY, __...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/lock.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/lock.rb
module Concurrent module Synchronization # TODO (pitr-ch 04-Dec-2016): should be in edge class Lock < LockableObject # TODO use JavaReentrantLock on JRuby public :synchronize def wait(timeout = nil) synchronize { ns_wait(timeout) } end public :ns_wait def wait_u...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/condition.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/condition.rb
module Concurrent module Synchronization # TODO (pitr-ch 04-Dec-2016): should be in edge class Condition < LockableObject safe_initialization! # TODO (pitr 12-Sep-2015): locks two objects, improve # TODO (pitr 26-Sep-2015): study # http://grepcode.com/file/repository.grepcode.com/java...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/synchronized_delegator.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/synchronized_delegator.rb
require 'delegate' require 'monitor' module Concurrent unless defined?(SynchronizedDelegator) # This class provides a trivial way to synchronize all calls to a given object # by wrapping it with a `Delegator` that performs `Monitor#enter/exit` calls # around the delegated `#send`. Example: # # ...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/util.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/util.rb
module Concurrent # @!visibility private module ThreadSafe # @!visibility private module Util # TODO (pitr-ch 15-Oct-2016): migrate to Utility::NativeInteger FIXNUM_BIT_SIZE = (0.size * 8) - 2 MAX_INT = (2 ** FIXNUM_BIT_SIZE) - 1 # TODO (pitr-ch 15-Oct-2016): migrate to Ut...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/util/cheap_lockable.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/util/cheap_lockable.rb
require 'concurrent/thread_safe/util' require 'concurrent/thread_safe/util/volatile' module Concurrent # @!visibility private module ThreadSafe # @!visibility private module Util # Provides a cheapest possible (mainly in terms of memory usage) +Mutex+ # with the +ConditionVariable+ bundled i...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/util/volatile.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/util/volatile.rb
require 'concurrent/thread_safe/util' module Concurrent # @!visibility private module ThreadSafe # @!visibility private module Util # @!visibility private module Volatile # Provides +volatile+ (in the JVM's sense) attribute accessors implemented # atop of +Concurrent::...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/util/data_structures.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/util/data_structures.rb
require 'concurrent/thread_safe/util' # Shim for TruffleRuby.synchronized if Concurrent.on_truffleruby? && !TruffleRuby.respond_to?(:synchronized) module TruffleRuby def self.synchronized(object, &block) Truffle::System.synchronized(object, &block) end end end module Concurrent module ThreadSafe ...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/util/striped64.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/util/striped64.rb
require 'concurrent/thread_safe/util' require 'concurrent/thread_safe/util/power_of_two_tuple' require 'concurrent/thread_safe/util/volatile' require 'concurrent/thread_safe/util/xor_shift_random' module Concurrent # @!visibility private module ThreadSafe # @!visibility private module Util # A Rub...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/util/xor_shift_random.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/util/xor_shift_random.rb
require 'concurrent/thread_safe/util' module Concurrent # @!visibility private module ThreadSafe # @!visibility private module Util # A xorshift random number (positive +Fixnum+s) generator, provides # reasonably cheap way to generate thread local random numbers without # contending fo...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/util/adder.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/util/adder.rb
require 'concurrent/thread_safe/util' require 'concurrent/thread_safe/util/striped64' module Concurrent # @!visibility private module ThreadSafe # @!visibility private module Util # A Ruby port of the Doug Lea's jsr166e.LondAdder class version 1.8 # available in public domain. # ...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/util/power_of_two_tuple.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/util/power_of_two_tuple.rb
require 'concurrent/thread_safe/util' require 'concurrent/tuple' module Concurrent # @!visibility private module ThreadSafe # @!visibility private module Util # @!visibility private class PowerOfTwoTuple < Concurrent::Tuple def initialize(size) raise ArgumentError, "size m...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/ruby_non_concurrent_priority_queue.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/ruby_non_concurrent_priority_queue.rb
module Concurrent module Collection # @!macro priority_queue # # @!visibility private # @!macro internal_implementation_note class RubyNonConcurrentPriorityQueue # @!macro priority_queue_method_initialize def initialize(opts = {}) order = opts.fetch(:order, :max) @co...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/copy_on_write_observer_set.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/copy_on_write_observer_set.rb
require 'concurrent/synchronization' module Concurrent module Collection # A thread safe observer set implemented using copy-on-write approach: # every time an observer is added or removed the whole internal data structure is # duplicated and replaced with a new one. # # @api private class C...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/copy_on_notify_observer_set.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/copy_on_notify_observer_set.rb
require 'concurrent/synchronization' module Concurrent module Collection # A thread safe observer set implemented using copy-on-read approach: # observers are added and removed from a thread safe collection; every time # a notification is required the internal data structure is copied to # prevent c...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/java_non_concurrent_priority_queue.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/java_non_concurrent_priority_queue.rb
if Concurrent.on_jruby? module Concurrent module Collection # @!macro priority_queue # # @!visibility private # @!macro internal_implementation_note class JavaNonConcurrentPriorityQueue # @!macro priority_queue_method_initialize def initialize(opts = {}) ...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/lock_free_stack.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/lock_free_stack.rb
module Concurrent # @!macro warn.edge class LockFreeStack < Synchronization::Object safe_initialization! class Node # TODO (pitr-ch 20-Dec-2016): Could be unified with Stack class? # @return [Node] attr_reader :next_node # @return [Object] attr_reader :value # @!vis...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/non_concurrent_priority_queue.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/non_concurrent_priority_queue.rb
require 'concurrent/collection/java_non_concurrent_priority_queue' require 'concurrent/collection/ruby_non_concurrent_priority_queue' require 'concurrent/utility/engine' module Concurrent module Collection # @!visibility private # @!macro internal_implementation_note NonConcurrentPriorityQueueImplementa...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/map/non_concurrent_map_backend.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/map/non_concurrent_map_backend.rb
require 'concurrent/constants' module Concurrent # @!visibility private module Collection # @!visibility private class NonConcurrentMapBackend # WARNING: all public methods of the class must operate on the @backend # directly without calling each other. This is important because of the ...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/map/mri_map_backend.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/map/mri_map_backend.rb
require 'thread' require 'concurrent/collection/map/non_concurrent_map_backend' module Concurrent # @!visibility private module Collection # @!visibility private class MriMapBackend < NonConcurrentMapBackend def initialize(options = nil) super(options) @write_lock = Mutex.new ...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/map/synchronized_map_backend.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/map/synchronized_map_backend.rb
require 'concurrent/collection/map/non_concurrent_map_backend' module Concurrent # @!visibility private module Collection # @!visibility private class SynchronizedMapBackend < NonConcurrentMapBackend require 'mutex_m' include Mutex_m # WARNING: Mutex_m is a non-reentrant lock, so the s...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/map/atomic_reference_map_backend.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/map/atomic_reference_map_backend.rb
require 'concurrent/constants' require 'concurrent/thread_safe/util' require 'concurrent/thread_safe/util/adder' require 'concurrent/thread_safe/util/cheap_lockable' require 'concurrent/thread_safe/util/power_of_two_tuple' require 'concurrent/thread_safe/util/volatile' require 'concurrent/thread_safe/util/xor_shift_ran...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
true
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/java_count_down_latch.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/java_count_down_latch.rb
if Concurrent.on_jruby? module Concurrent # @!macro count_down_latch # @!visibility private # @!macro internal_implementation_note class JavaCountDownLatch # @!macro count_down_latch_method_initialize def initialize(count = 1) Utility::NativeInteger.ensure_integer_and_bounds(cou...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/semaphore.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/semaphore.rb
require 'concurrent/atomic/mutex_semaphore' require 'concurrent/synchronization' module Concurrent ################################################################### # @!macro semaphore_method_initialize # # Create a new `Semaphore` with the initial `count`. # # @param [Fixnum] count the initial cou...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/mutex_atomic_boolean.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/mutex_atomic_boolean.rb
require 'concurrent/synchronization' module Concurrent # @!macro atomic_boolean # @!visibility private # @!macro internal_implementation_note class MutexAtomicBoolean < Synchronization::LockableObject # @!macro atomic_boolean_method_initialize def initialize(initial = false) super() synch...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/ruby_thread_local_var.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/ruby_thread_local_var.rb
require 'thread' require 'concurrent/atomic/abstract_thread_local_var' module Concurrent # @!visibility private # @!macro internal_implementation_note class RubyThreadLocalVar < AbstractThreadLocalVar # Each thread has a (lazily initialized) array of thread-local variable values # Each time a new threa...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/event.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/event.rb
require 'thread' require 'concurrent/synchronization' module Concurrent # Old school kernel-style event reminiscent of Win32 programming in C++. # # When an `Event` is created it is in the `unset` state. Threads can choose to # `#wait` on the event, blocking until released by another thread. When one # thre...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/mutex_count_down_latch.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/mutex_count_down_latch.rb
require 'concurrent/synchronization' require 'concurrent/utility/native_integer' module Concurrent # @!macro count_down_latch # @!visibility private # @!macro internal_implementation_note class MutexCountDownLatch < Synchronization::LockableObject # @!macro count_down_latch_method_initialize def init...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/cyclic_barrier.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/cyclic_barrier.rb
require 'concurrent/synchronization' require 'concurrent/utility/native_integer' module Concurrent # A synchronization aid that allows a set of threads to all wait for each # other to reach a common barrier point. # @example # barrier = Concurrent::CyclicBarrier.new(3) # jobs = Array.new(3) { |i| -> ...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/mutex_atomic_fixnum.rb
Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/mutex_atomic_fixnum.rb
require 'concurrent/synchronization' require 'concurrent/utility/native_integer' module Concurrent # @!macro atomic_fixnum # @!visibility private # @!macro internal_implementation_note class MutexAtomicFixnum < Synchronization::LockableObject # @!macro atomic_fixnum_method_initialize def initialize(i...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false