Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 529 for srcEnd (0.07 sec)

  1. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

                if (LogStream.level > 1) {
                    uee.printStackTrace(log);
                }
            }
            return str;
        }
    
        String readString(final byte[] src, int srcIndex, final int srcEnd, final int maxLen, final boolean useUnicode) {
            int len = 0;
            String str = null;
            try {
                if (useUnicode) {
                    // Unicode requires word alignment
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                String result = testBlock.readString(buffer, 2);
    
                assertEquals("Test", result);
            }
    
            @Test
            @DisplayName("Test read string with max length and srcEnd")
            void testReadStringWithMaxLengthAndSrcEnd() {
                testBlock.setUseUnicode(false);
                when(mockConfig.getOemEncoding()).thenReturn("UTF-8");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         * @param src source buffer
         * @param srcIndex starting index in the buffer
         * @param srcEnd ending index boundary
         * @param maxLen maximum length to read
         * @param unicode whether to use Unicode encoding
         * @return read string
         */
        public String readString(final byte[] src, int srcIndex, final int srcEnd, final int maxLen, final boolean unicode) {
            if (unicode) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/misc/Pair.java

        }
    
        /**
         * Returns the second value.
         *
         * @return The second value
         */
        public T2 getSecond() {
            return second;
        }
    
        /**
         * Sets the second value.
         *
         * @param second
         *            The second value
         */
        public void setSecond(final T2 second) {
            this.second = second;
        }
    
        @Override
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  5. cmd/dynamic-timeouts_test.go

    }
    
    func TestDynamicTimeoutDualDecrease(t *testing.T) {
    	timeout := newDynamicTimeout(time.Minute, time.Second)
    
    	initial := timeout.Timeout()
    
    	for range dynamicTimeoutLogSize {
    		timeout.LogSuccess(20 * time.Second)
    	}
    
    	adjusted := timeout.Timeout()
    
    	for range dynamicTimeoutLogSize {
    		timeout.LogSuccess(20 * time.Second)
    	}
    
    	adjustedAgain := timeout.Timeout()
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

      fun emptyCache(parameters: Pair<FileSystem, Boolean>) {
        setUp(parameters.first, parameters.second)
        cache.close()
        assertJournalEquals()
      }
    
      @ParameterizedTest
      @ArgumentsSource(FileSystemParamProvider::class)
      fun recoverFromInitializationFailure(parameters: Pair<FileSystem, Boolean>) {
        setUp(parameters.first, parameters.second)
        // Add an uncommitted entry. This will get detected on initialization, and the cache will
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 75.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/ComponentUtilTest.java

            String first = "first";
            String second = "second";
            String componentName = "testComponent";
    
            ComponentUtil.register(first, componentName);
            String retrieved1 = ComponentUtil.getComponent(componentName);
            assertSame(first, retrieved1);
    
            ComponentUtil.register(second, componentName);
            String retrieved2 = ComponentUtil.getComponent(componentName);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  8. src/main/webapp/js/admin/plugins/timepicker/bootstrap-timepicker.min.js

    s.decrementHour(),this.minute=b+60):this.minute=b},decrementSecond:function(){var a=this.second-this.secondStep;0>a?(this.decrementMinute(!0),this.second=a+60):this.second=a},elementKeydown:function(a){switch(a.which){case 9:if(a.shiftKey){if("hour"===this.highlightedUnit){this.hideWidget();break}this.highlightPrevUnit()}else{if(this.showMeridian&&"meridian"===this.highlightedUnit||this.showSeconds&&"second"===this.highlightedUnit||!this.showMeridian&&!this.showSeconds&&"minute"===this.highlight...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Feb 13 04:21:06 UTC 2020
    - 18.2K bytes
    - Viewed (0)
  9. okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt

          """
          |data: first event
          |id: 1
          |
          |data: second event
          |id
          |
          |data: third event
          |
          |
          """.trimMargin(),
        )
        assertThat(callbacks.remove()).isEqualTo(Event("1", null, "first event"))
        assertThat(callbacks.remove()).isEqualTo(Event(null, null, "second event"))
        assertThat(callbacks.remove()).isEqualTo(Event(null, null, "third event"))
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/misc/Tuple3.java

            this.value1 = value1;
        }
    
        /**
         * Returns the second value.
         *
         * @return The second value
         */
        public T2 getValue2() {
            return value2;
        }
    
        /**
         * Sets the second value.
         *
         * @param value2
         *            The second value
         */
        public void setValue2(final T2 value2) {
            this.value2 = value2;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top