Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 511 for inInts (0.11 seconds)

  1. src/test/java/jcifs/util/EncdecTest.java

            assertEquals(0x34, buffer[1] & 0xFF);
            assertEquals(0x56, buffer[2] & 0xFF);
            assertEquals(0x78, buffer[3] & 0xFF);
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 255, 256, 65535, 65536, Integer.MAX_VALUE })
        @DisplayName("Should handle boundary values")
        void testBoundaryValues(int value) {
            // Given
            byte[] buffer = new byte[4];
    
            // When
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                assertDoesNotThrow(() -> request.setData(emptyData, 0, 0));
            }
    
            @ParameterizedTest
            @DisplayName("Should handle various data sizes")
            @ValueSource(ints = { 0, 1, 100, 1024, 4096, 65536, 1048576 })
            void testVariousDataSizes(int size) {
                byte[] data = new byte[size];
                assertDoesNotThrow(() -> request.setData(data, 0, size));
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/DiscreteDomain.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.primitives.Ints;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.Serializable;
    import java.math.BigInteger;
    import java.util.NoSuchElementException;
    import org.jspecify.annotations.Nullable;
    
    /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

        void decodesSrvCopyChunkCopyResponse() throws Exception {
            // Validate createOutputDecodable() mapping and Decodable decode
            byte[] header = buildHeader(NtStatus.NT_STATUS_SUCCESS);
    
            // Prepare 3 ints: chunksWritten=1, chunkBytesWritten=2, totalBytesWritten=3
            byte[] out = new byte[12];
            SMBUtil.writeInt4(1, out, 0);
            SMBUtil.writeInt4(2, out, 4);
            SMBUtil.writeInt4(3, out, 8);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/groovy/elasticsearch.ide.gradle

      String checkstyleIdeFragment = 'build-tools-internal/src/main/resources/checkstyle_ide_fragment.xml'
      String checkstyleIdeConfig = "$rootDir/checkstyle_ide.xml"
    
      inputs.files(file(checkstyleConfig), file(checkstyleIdeFragment))
      outputs.files(file(checkstyleIdeConfig))
    
      doLast {
        // Create an IDE-specific checkstyle config by first copying the standard config
        Files.copy(
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 24 19:34:12 GMT 2021
    - 8.8K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

      /**
       * Returns a {@code Collector} that accumulates elements into an {@code ImmutableSortedMultiset}
       * whose elements are the result of applying {@code elementFunction} to the inputs, with counts
       * equal to the result of applying {@code countFunction} to the inputs.
       *
       * <p>If the mapped elements contain duplicates (according to {@code comparator}), the first
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 29.5K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/ComparisonChain.java

     *
     * <p>Performance note: Even though the {@code ComparisonChain} caller always invokes its {@code
     * compare} methods unconditionally, the {@code ComparisonChain} implementation stops calling its
     * inputs' {@link Comparable#compareTo compareTo} and {@link Comparator#compare compare} methods as
     * soon as one of them returns a nonzero result. This optimization is typically important only in
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  8. ci/official/utilities/extract_resultstore_links.py

              break
          k -= 1
          continue
        previous_end_line = lines.get('end') or start_line
    
      return result_store_links
    
    
    def indent_xml(elem, level=0) -> None:
      """Indents and newlines the XML for better output."""
      indent_str = '\n' + level * '  '
      if len(elem):  # pylint: disable=g-explicit-length-test  # `if elem` not valid
        if not elem.text or not elem.text.strip():
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Nov 08 17:50:27 GMT 2023
    - 10.9K bytes
    - Click Count (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

                        }
    
                        tasks.register<JapicmpTaskWithKotlin>("checkBinaryCompatibility") {
    
                            dependsOn(":v1:jar", ":v2:jar")
                            inputs.files(extractGradleApiInfo)
    
                            oldArchives.from(v1Jar)
                            oldClasspath.from(v1.configurations.named("runtimeClasspath"), v1Jar)
    
                            newArchives.from(v2Jar)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 19 11:30:48 GMT 2026
    - 18.3K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/net/HostAndPort.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.primitives.Ints;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.Immutable;
    import java.io.Serializable;
    import java.util.Objects;
    import org.jspecify.annotations.Nullable;
    
    /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 11.1K bytes
    - Click Count (0)
Back to Top