Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 471 - 480 of 614 for breaker (0.09 seconds)

  1. android/guava/src/com/google/common/collect/CompactHashSet.java

          if (newCapacity != entriesSize) {
            resizeEntries(newCapacity);
          }
        }
      }
    
      /**
       * Resizes the internal entries array to the specified capacity, which may be greater or less than
       * the current capacity.
       */
      void resizeEntries(int newCapacity) {
        this.entries = Arrays.copyOf(requireEntries(), newCapacity);
        this.elements = Arrays.copyOf(requireElements(), newCapacity);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 23.9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

      public boolean isEmpty() {
        return end == start;
      }
    
      /**
       * Returns the {@code long} value present at the given index.
       *
       * @throws IndexOutOfBoundsException if {@code index} is negative, or greater than or equal to
       *     {@link #length}
       */
      public long get(int index) {
        Preconditions.checkElementIndex(index, length());
        return array[start + index];
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22K bytes
    - Click Count (0)
  3. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

          } finally {
            monitor.leave();
          }
        } else {
          return null;
        }
      }
    
      // this doc comment is overridden to remove the reference to collections
      // greater in size than Integer.MAX_VALUE
      /**
       * Returns the number of elements in this queue.
       *
       * @return the number of elements in this queue
       */
      @CanIgnoreReturnValue
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 22.4K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

        assertCorrectSlice(100, 100, 10, 0);
        assertCorrectSlice(100, 101, 10, 0);
      }
    
      /**
       * Tests that the default slice() behavior is correct when the source is sliced starting at an
       * offset that is greater than the current length of the source, a stream is then opened to that
       * source, and finally additional bytes are appended to the source before the stream is read.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  5. src/main/java/jcifs/dcerpc/DcerpcHandle.java

                        proto = str.substring(mark, si);
                        mark = si + 1;
                        state = 1;
                    }
                    break;
                case 1:
                    if (ch == '\\') {
                        mark = si + 1;
                        break;
                    }
                    state = 2;
                case 2:
                    if (ch == '[') {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

         * {@code META-INF/versions/17/} sub-directory, then the default location of that dependency will be
         * the module-path only if the {@code --release} option is equal or greater than 17.
         *
         * <p>If this value is not provided, then the default value in the context of Java projects
         * is the Java version on which Maven is running, as given by {@link Runtime#version()}.</p>
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 23K bytes
    - Click Count (0)
  7. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

          }
    
        public fun shutdownServer(shutdownServer: Boolean): Builder =
          apply {
            this.shutdownServer = shutdownServer
          }
    
        /**
         * Throttles the request reader and response writer to sleep for the given period after each
         * series of [bytesPerPeriod] bytes are transferred. Use this to simulate network behavior.
         */
        public fun throttleBody(
          bytesPerPeriod: Long,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  8. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

            return taskNames.contains("promotionBuild") ||
                taskNames.any { it.contains("updateReleasedVersions") }
        }
    
    
    /**
     * Override the version of Groovy bundled by Gradle. Must be greater than or equal to the major version of Groovy used by Gradle.
     */
    val Project.bundleGroovyMajor: Int
        get() = systemProperty(BUNDLE_GROOVY_MAJOR).orNull?.toInt() ?: 4
    
    val Project.daemonDebuggingIsEnabled: Boolean
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 19 05:13:29 GMT 2026
    - 18K bytes
    - Click Count (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/FileSizeFormatTest.java

            MessageBuilder builder = new DefaultMessageBuilder();
            format.formatRate(builder, 45.0); // 45 B/s
            assertEquals("45.0 B/s", builder.build());
    
            // Test value greater than or equal to 10
            builder = new DefaultMessageBuilder();
            format.formatRate(builder, 15000.0); // 15 kB/s
            assertEquals("15.0 kB/s", builder.build());
    
            // Test value between 0.05 and 10
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

    import com.google.common.reflect.Reflection;
    import com.google.common.reflect.TypeToken;
    import java.io.ByteArrayInputStream;
    import java.io.File;
    import java.io.InputStream;
    import java.io.Reader;
    import java.io.StringReader;
    import java.lang.annotation.ElementType;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.1K bytes
    - Click Count (0)
Back to Top