Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 137 for inInts (0.04 sec)

  1. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java

            assertNotNull(resp, "Instance should not be null");
        }
    
        /**
         * All wire‑format methods should return zero regardless of inputs.
         */
        @Nested
        @DisplayName("Wire format method behaviour")
        class WireFormatMethods {
            @ParameterizedTest
            @ValueSource(ints = { 0, 1, -1, Integer.MAX_VALUE, Integer.MIN_VALUE })
            @DisplayName("writeSetupWireFormat returns 0 for all indices")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/WinErrorTest.java

        void lookup_returns_expected_message_for_known_codes(int code, String expectedMessage) {
            // Valid inputs: each known code must map to its documented message
            assertEquals(expectedMessage, lookupMessage(code).orElse(null));
        }
    
        @ParameterizedTest
        @ValueSource(ints = { -1, Integer.MIN_VALUE, Integer.MAX_VALUE })
        @DisplayName("Unknown codes: lookup returns empty Optional")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/FileEntryTest.java

    package jcifs.smb1.smb1;
    
    /**
     * Unit tests for {@link FileEntry}. The interface itself has no
     * implementation, so the tests exercise the contract via Mockito mocks.
     * Each method is exercised for normal inputs, extreme or edge cases, and
     * interaction verification.
     */
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.mockito.Mockito.mock;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/DosErrorTest.java

            // Arrange: choose a small set of known DOS codes
            List<Integer> inputs = Arrays.asList(0x00000000, 0x00050001, 0x007b0001, 0x0BADF00D);
            @SuppressWarnings("unchecked")
            BiConsumer<Integer, Integer> consumer = mock(BiConsumer.class);
    
            // Act: for each input, if a mapping exists, notify the consumer
            for (int dos : inputs) {
                int nt = findNtStatusOrMinusOne(dos);
                if (nt != -1) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/BufferCacheImplTest.java

            // Zeroed upon release
            for (byte value : fromCache) {
                assertEquals(0, value);
            }
        }
    
        // Invalid inputs: negative sizes for constructor arguments
        @Nested
        class InvalidConstruction {
            @Test
            @DisplayName("Negative maxBuffers throws immediately in constructor")
            void negativeMaxBuffersThrows() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

         * @param id the unique identifier for this mapping item
         * @param inputs array of input character sequences that will be mapped to the output
         * @param output the output character sequence that inputs will be mapped to
         */
        public CharMappingItem(final long id, final String[] inputs, final String output) {
            this.id = id;
            this.inputs = inputs;
            this.output = output == null ? null : output.replace("\n", " ");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/synonym/SynonymItem.java

         * @param inputs  The input words.
         * @param outputs The output synonyms.
         */
        public SynonymItem(final long id, final String[] inputs, final String[] outputs) {
            this.id = id;
            this.inputs = inputs;
            this.outputs = outputs;
    
            if (id == 0) {
                // create
                newInputs = inputs;
                newOutputs = outputs;
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. .github/workflows/translate.yml

            with:
              limit-access-to-actor: true
            env:
              GITHUB_TOKEN: ${{ secrets.FASTAPI_TRANSLATIONS }}
              OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
          - name: FastAPI Translate
            run: |
              python ./scripts/translate.py ${{ github.event.inputs.command }}
              python ./scripts/translate.py make-pr
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Aug 15 21:44:06 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputSource.java

                    && Objects.equals(inputs, that.inputs);
        }
    
        @Override
        public int hashCode() {
            return Objects.hash(modelId, location, inputs);
        }
    
        Stream<InputSource> sources() {
            return inputs != null ? inputs.stream() : Stream.of(this);
        }
    
        @Override
        public String toString() {
            if (inputs != null) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  10. .github/workflows/release-branch-cherrypick.yml

    jobs:
      cherrypick:
        name: Cherrypick to ${{ github.event.inputs.release_branch}} - ${{ github.event.inputs.git_commit }}
        runs-on: ubuntu-latest
        if: github.repository == 'tensorflow/tensorflow' # Don't do this in forks
        steps:
        - name: Checkout code
          uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
          with:
            ref: ${{ github.event.inputs.release_branch }}
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Sep 01 15:40:11 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top