Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 210 for becomes (0.06 sec)

  1. src/test/java/jcifs/internal/util/StringUtilTest.java

            // First: "" (sb becomes "")
            // Second: sb.length() is 0, no delimiter, append null (sb becomes "null")
            // Third: sb.length() > 0, add "-" + "value" (sb becomes "null-value")
            // Fourth: sb.length() > 0, add "-" + "" (sb becomes "null-value-")
            // Fifth: sb.length() > 0, add "-" + null (sb becomes "null-value--null")
            assertEquals("null-value--null", result);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            byte[] buffer = new byte[256];
            long overflowSize = 0xFFFFFFFFL; // This will become -1 as signed int
    
            SMBUtil.writeInt2(0, buffer, 0);
            SMBUtil.writeUTime(0, buffer, 2);
            SMBUtil.writeInt4(overflowSize, buffer, 6);
    
            response.readParameterWordsWireFormat(buffer, 0);
    
            // 0xFFFFFFFF becomes -1 when interpreted as signed int
            assertEquals(-1L, response.getSize());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/transport/MessageTest.java

        void testRetainPayload() {
            // Initially, retainPayload should be false
            assertFalse(message.isRetainPayload(), "isRetainPayload should be false initially");
    
            // Call retainPayload and check if it becomes true
            message.retainPayload();
            assertTrue(message.isRetainPayload(), "isRetainPayload should be true after calling retainPayload");
        }
    
        @Test
        void testSetAndGetRawPayload() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. src/bytes/buffer.go

    	}
    	m := b.grow(n)
    	b.buf = b.buf[:m]
    }
    
    // Write appends the contents of p to the buffer, growing the buffer as
    // needed. The return value n is the length of p; err is always nil. If the
    // buffer becomes too large, Write will panic with [ErrTooLarge].
    func (b *Buffer) Write(p []byte) (n int, err error) {
    	b.lastRead = opInvalid
    	m, ok := b.tryGrowByReslice(len(p))
    	if !ok {
    		m = b.grow(len(p))
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 19 17:38:56 UTC 2025
    - 16K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/RegularImmutableMap.java

        if (tableSize <= BYTE_MAX_SIZE) {
          /*
           * Use 8 bits per entry. The value is unsigned to allow use up to a size of 2^8.
           *
           * The absent indicator of -1 signed becomes 2^8 - 1 unsigned, which reduces the actual max
           * size to 2^8 - 1. However, due to a load factor < 1 the limit is never approached.
           */
          byte[] hashTable = new byte[tableSize];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            byte[] buffer = createBasicNegotiateResponseBuffer();
            // Set SMB 3.1.1 dialect
            SMBUtil.writeInt2(0x0311, buffer, 4);
            // Set excessive negotiate context count (writeInt2(-1) becomes 65535)
            SMBUtil.writeInt2(-1, buffer, 6);
    
            SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> {
                response.readBytesWireFormat(buffer, 0);
            });
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. .github/workflows/ci.yml

            with:
              access_token: ${{ github.token }}
          - name: 'Check out repository'
            uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
          # When we specify multiple JDKs, the final one becomes the default, which is used to execute Maven itself.
          # Our Maven configuration then specifies different JDKs to use for some of the steps:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 19:19:31 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java

         * This method delegates to {@link FileInputStream#mark(int)}.
         *
         * @param readlimit the maximum limit of bytes that can be read before the mark position becomes invalid
         */
        @Override
        public synchronized void mark(final int readlimit) {
            fileInputStream.mark(readlimit);
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/PathValidatorTest.java

            });
        }
    
        @Test
        public void testValidUncPath() throws Exception {
            // Note: Due to normalization, all multiple backslashes are reduced to single
            // so \\server\share becomes \server\share
            String path = "\\\\server\\share\\folder";
            String normalized = validator.validatePath(path);
            assertEquals("\\server\\share\\folder", normalized);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

            CIFSContext ctx = mock(CIFSContext.class);
            SmbTreeConnectionTrace trace = Mockito.spy(new SmbTreeConnectionTrace(ctx));
            doReturn(true).when(trace).isConnected();
            trace.acquire(); // usageCount becomes 1
    
            // Act & Assert: checkRelease should call isConnected() and not throw
            assertDoesNotThrow(trace::checkRelease);
            verify(trace, atLeastOnce()).isConnected();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
Back to top