Sha256: 3c2cfd2122a77393ce73b8a4ee68a3e7d0b8cb2db4d14d879b6c56e7b4ed636c

Contents?: true

Size: 425 Bytes

Versions: 266

Compression:

Stored size: 425 Bytes

Contents

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 Utility::ProcessorCounter
      CPU_COUNT       = 16 # is there a way to determine this?
    end
  end
end

Version data entries

266 entries across 246 versions & 46 rubygems

Version Path
fluent-plugin-nuopenlineage-light-0.1.0 vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/thread_safe/util.rb
fluent-plugin-openlineage-light-0.1.4 vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/thread_safe/util.rb
fluent-plugin-openlineage-light-0.1.3 vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/thread_safe/util.rb
concurrent-ruby-1.3.4 lib/concurrent-ruby/concurrent/thread_safe/util.rb
fluent-plugin-openlineage-0.1.0 vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.3/lib/concurrent-ruby/concurrent/thread_safe/util.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.3.3/lib/concurrent-ruby/concurrent/thread_safe/util.rb
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/thread_safe/util.rb
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/thread_safe/util.rb
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/thread_safe/util.rb
katalyst-govuk-formbuilder-1.9.2 vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.3/lib/concurrent-ruby/concurrent/thread_safe/util.rb
concurrent-ruby-1.3.3 lib/concurrent-ruby/concurrent/thread_safe/util.rb
concurrent-ruby-1.3.2 lib/concurrent-ruby/concurrent/thread_safe/util.rb
tinymce-rails-7.1.2 vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.1/lib/concurrent-ruby/concurrent/thread_safe/util.rb
concurrent-ruby-1.3.1 lib/concurrent-ruby/concurrent/thread_safe/util.rb
concurrent-ruby-1.3.1.pre lib/concurrent-ruby/concurrent/thread_safe/util.rb
harbr-2.8.1 vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/thread_safe/util.rb
mlh-rubocop-config-1.0.3 vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.3/lib/concurrent-ruby/concurrent/thread_safe/util.rb
concurrent-ruby-1.2.3 lib/concurrent-ruby/concurrent/thread_safe/util.rb
harbr-0.2.10 vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/thread_safe/util.rb
harbr-0.2.9 vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/thread_safe/util.rb