Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 361 - 370 of 1,026 for Start (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava/src/com/google/common/base/Utf8.java

        }
        return utf8Length;
      }
    
      private static int encodedLengthGeneral(CharSequence sequence, int start) {
        int utf16Length = sequence.length();
        int utf8Length = 0;
        for (int i = start; i < utf16Length; i++) {
          char c = sequence.charAt(i);
          if (c < 0x800) {
            utf8Length += (0x7f - c) >>> 31; // branch free!
          } else {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 7K bytes
    - Click Count (0)
  2. guava/src/com/google/common/base/Utf8.java

        }
        return utf8Length;
      }
    
      private static int encodedLengthGeneral(CharSequence sequence, int start) {
        int utf16Length = sequence.length();
        int utf8Length = 0;
        for (int i = start; i < utf16Length; i++) {
          char c = sequence.charAt(i);
          if (c < 0x800) {
            utf8Length += (0x7f - c) >>> 31; // branch free!
          } else {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/util/StringUtilTest.java

        }
    
        @Test
        @DisplayName("Should handle null in middle of multiple elements")
        void testJoinNullInMiddle() {
            String result = StringUtil.join("-", "start", null, null, "end");
            assertEquals("start-null-null-end", result);
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 9K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

         */
        @Override
        protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
            final int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if (structureSize == 9) {
                return super.readErrorResponse(buffer, bufferIndex);
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  5. src/main/java/jcifs/netbios/Name.java

                    c++;
                }
            } while (i-- > e);
            return this.scope.length() + 2;
        }
    
        int readScopeWireFormat(final byte[] src, int srcIndex) {
            final int start = srcIndex;
            int n;
            StringBuilder sb;
    
            n = src[srcIndex++] & 0xFF;
            if (n == 0) {
                this.scope = null;
                return 1;
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

                    }
                });
    
                Thread thread2 = new Thread(() -> {
                    response.writeBytesWireFormat(buffer2, 0);
                });
    
                thread1.start();
                thread2.start();
                thread1.join();
                thread2.join();
    
                // Then - no exceptions should occur
                assertTrue(true);
            }
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  7. guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/Platform.java

        return (T[]) Arrays.copyOfRange(array, 0, array.length);
      }
    
      // TODO: Consolidate different copies in one single place.
      static String format(String template, Object... args) {
        // start substituting the arguments into the '%s' placeholders
        StringBuilder builder = new StringBuilder(template.length() + 16 * args.length);
        int templateStart = 0;
        int i = 0;
        while (i < args.length) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.1K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java

         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
         */
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            SMBUtil.writeInt2(49, dst, dstIndex);
            final int dataOffsetOffset = dstIndex + 2;
            dstIndex += 4;
            SMBUtil.writeInt4(this.dataLength, dst, dstIndex);
            dstIndex += 4;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/util/QueryResponseListTest.java

                public int size() {
                    return 20;
                }
            };
            qrList.allRecordCount = 100;
            qrList.calculatePageInfo();
    
            // start=10, offset=5, so startWithOffset = 10-5 = 5
            // currentPageNumber = start / pageSize + 1 = 10 / 20 + 1 = 1
            // existPrevPage = startWithOffset > 0 = 5 > 0 = true
            assertEquals(1, qrList.getCurrentPageNumber());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 40.1K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

            });
    
            Thread thread2 = new Thread(() -> {
                Throwable result = exception.fillInStackTrace();
                assertNull(result);
            });
    
            thread1.start();
            thread2.start();
    
            try {
                thread1.join();
                thread2.join();
            } catch (InterruptedException e) {
                fail("Thread interrupted");
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11K bytes
    - Click Count (0)
Back to Top