Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 568 for preserve (0.29 sec)

  1. src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java

            assertEquals(16, SMBUtil.readInt2(buffer, 4));
    
            // NameLength field (2 bytes) - should be 4 for "RqLs"
            assertEquals(4, SMBUtil.readInt2(buffer, 6));
    
            // Reserved field (2 bytes) - should be 0
            assertEquals(0, SMBUtil.readInt2(buffer, 8));
    
            // DataOffset field (2 bytes) - should be 24 (16 header + 4 name + 4 padding)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbAuthExceptionTest.java

        }
    
        /**
         * Validate message-only constructor with both null and empty messages.
         */
        @ParameterizedTest
        @MethodSource("messageProvider")
        @DisplayName("String ctor: preserves message; default unsuccessful status")
        void messageConstructor_handlesNullAndEmpty(String msg) {
            // Act
            SmbAuthException ex = new SmbAuthException(msg);
    
            // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        Random r = new Random(0L);
        for (int i = 0; i < 1000000; i++) {
          long dividend = r.nextLong();
          long divisor = r.nextLong();
          // Test that the Euclidean property is preserved:
          assertThat(
                  dividend
                      - (divisor * UnsignedLongs.divide(dividend, divisor)
                          + UnsignedLongs.remainder(dividend, divisor)))
              .isEqualTo(0);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            SMBUtil.writeInt2(4, buffer, 0);
            // Write reserved field (any value is acceptable)
            buffer[2] = (byte) byte2;
            buffer[3] = (byte) byte3;
    
            // When
            int bytesRead = response.readBytesWireFormat(buffer, 0);
    
            // Then - should still read 4 bytes regardless of reserved field value
            assertEquals(4, bytesRead);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. docs/fr/docs/alternatives.md

    Cela a permis de ne pas avoir à écrire YAML (une autre syntaxe) à l'intérieur des docstrings Python.
    
    Cette combinaison de Flask, Flask-apispec avec Marshmallow et Webargs était ma stack backend préférée jusqu'à la création de **FastAPI**.
    
    Son utilisation a conduit à la création de plusieurs générateurs Flask full-stack. Ce sont les principales stacks que
    j'ai (ainsi que plusieurs équipes externes) utilisées jusqu'à présent :
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/ClusterException.java

       *       in the {@code exceptions} collection.
       * </ul>
       *
       * <p>Though this method takes any {@link Collection}, it often makes most sense to pass a {@link
       * java.util.List} or some other collection that preserves the order in which the exceptions got
       * added.
       *
       * @throws NullPointerException if {@code exceptions} is null
       * @throws IllegalArgumentException if {@code exceptions} is empty
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComReadAndXResponse.java

            final int start = bufferIndex;
    
            bufferIndex += 2; // reserved
            dataCompactionMode = readInt2(buffer, bufferIndex);
            bufferIndex += 4; // 2 reserved
            dataLength = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            dataOffset = readInt2(buffer, bufferIndex);
            bufferIndex += 12; // 10 reserved
    
            return bufferIndex - start;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/StandardMutableGraph.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    import com.google.common.graph.GraphConstants.Presence;
    
    /**
     * Standard implementation of {@link MutableGraph} that supports both directed and undirected
     * graphs. Instances of this class should be constructed with {@link GraphBuilder}.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComNtTransaction.java

                dst[dstIndex++] = maxSetupCount;
            } else {
                dst[dstIndex++] = (byte) 0x00; // Reserved
            }
            dst[dstIndex] = (byte) 0x00; // Reserved
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00; // Reserved
            writeInt4(totalParameterCount, dst, dstIndex);
            dstIndex += 4;
            writeInt4(totalDataCount, dst, dstIndex);
            dstIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbNamedPipeTest.java

                // Arrange & Act
                SmbNamedPipe pipe = new SmbNamedPipe(url, SmbPipeResource.PIPE_TYPE_RDWR, ctx());
    
                // Assert: type is named pipe and pipe type preserved
                assertEquals(SmbConstants.TYPE_NAMED_PIPE, pipe.getType(), "Type should be TYPE_NAMED_PIPE");
                assertEquals(SmbPipeResource.PIPE_TYPE_RDWR, pipe.getPipeType(), "Pipe type should match constructor");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top