Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 331 for wise (0.02 seconds)

  1. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

    import java.util.regex.Pattern;
    import java.util.stream.Stream;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Supplies an arbitrary "default" instance for a wide range of types, often useful in testing
     * utilities.
     *
     * <p>Covers arrays, enums and common types defined in {@code java.lang}, {@code java.lang.reflect},
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 21.4K bytes
    - Click Count (0)
  2. docs/smb3-features/01-smb3-lease-design.md

        private int leaseState;
        private int leaseFlags;
        private long leaseDuration;  // For V2
        private Smb2LeaseKey parentLeaseKey;  // For V2
        private int epoch;  // For V2
        
        // Wire format structure
        // Lease V1: 32 bytes
        // Lease V2: 52 bytes
        
        @Override
        public void encode(byte[] buffer, int offset) {
            // Write context header
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 22K bytes
    - Click Count (0)
  3. configure.py

          scripting error, and will continue to provide invalid input.
          Raise the error to avoid infinitely looping.
      """
      if not question:
        question = 'Do you wish to build TensorFlow with {} support?'.format(
            query_item)
      if not yes_reply:
        yes_reply = '{} support will be enabled for TensorFlow.'.format(query_item)
      if not no_reply:
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Fri Dec 19 16:32:04 GMT 2025
    - 48.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                String result = testBlock.readString(buffer, 0);
    
                assertEquals("Test", result);
            }
    
            @Test
            @DisplayName("Test string wire length calculation")
            void testStringWireLength() {
                testBlock.setUseUnicode(false);
                assertEquals(5, testBlock.stringWireLength("Test", 0));
    
                testBlock.setUseUnicode(true);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 36.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            assertEquals(0, trans2QueryFSInfo.readParametersWireFormat(null, 0, 0));
            assertEquals(0, trans2QueryFSInfo.readDataWireFormat(null, 0, 0));
        }
    
        @Test
        @DisplayName("Test complete wire format writing")
        void testCompleteWireFormatWriting() {
            trans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.FS_SIZE_INFO);
    
            byte[] setupBuffer = new byte[256];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            int actualInfoLevel = SMBUtil.readInt2(buffer, 2);
            assertEquals(0x0101, actualInfoLevel); // FILE_BASIC_INFO maps to 0x0101
        }
    
        @Test
        @DisplayName("Test complete wire format writing")
        void testCompleteWireFormatWriting() {
            when(mockFileInfo.getFileInformationLevel()).thenReturn((byte) FileInformation.FILE_BASIC_INFO);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Supplies an arbitrary "default" instance for a wide range of types, often useful in testing
     * utilities.
     *
     * <p>Covers arrays, enums and common types defined in {@code java.lang}, {@code java.lang.reflect},
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/math/BigIntegerMath.java

          case HALF_DOWN:
          case HALF_UP:
          case HALF_EVEN:
            BigInteger halfSquare = sqrtFloor.pow(2).add(sqrtFloor);
            /*
             * We wish to test whether or not x <= (sqrtFloor + 0.5)^2 = halfSquare + 0.25. Since both x
             * and halfSquare are integers, this is equivalent to testing whether or not x <=
             * halfSquare.
             */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

        void testInitialDataRemaining() {
            // Then
            assertEquals(0, response.getDataRemaining());
        }
    
        @Test
        @DisplayName("Should write empty bytes to wire format")
        void testWriteBytesWireFormat() {
            // Given
            byte[] buffer = new byte[256];
            int offset = 10;
    
            // When
            int bytesWritten = response.writeBytesWireFormat(buffer, offset);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                // Verify total bytes written
                assertEquals(48 + data.length, bytesWritten);
            }
    
            @Test
            @DisplayName("Should handle empty data in wire format")
            void testWriteBytesWireFormatEmptyData() {
                request.setData(new byte[0], 0, 0);
    
                byte[] buffer = new byte[256];
    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)
Back to Top