Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2631 - 2640 of 4,151 for text (0.22 sec)

  1. src/bytes/bytes_test.go

    		{"a☺b☻c☹d", "b", len("a☺")},               // non-ascii
    	}
    	for _, test := range testCases {
    		actual := LastIndexByte([]byte(test.a), test.b[0])
    		if actual != test.i {
    			t.Errorf("LastIndexByte(%q,%c) = %v; want %v", test.a, test.b[0], actual, test.i)
    		}
    	}
    }
    
    // test a larger buffer with different sizes and alignments
    func TestIndexByteBig(t *testing.T) {
    	var n = 1024
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jul 28 18:13:58 UTC 2025
    - 62.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

      }
    
      public void testMumurHash64() {
        byte[] bytes = "test".getBytes(UTF_8);
        assertEquals(
            1618900948208871284L, Fingerprint2011.murmurHash64WithSeed(bytes, 0, bytes.length, 1));
    
        bytes = "test test test".getBytes(UTF_8);
        assertEquals(
            UnsignedLong.valueOf("12313169684067793560").longValue(),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.util.ArrayList;
    import java.util.List;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.CsvSource;
    import org.mockito.ArgumentCaptor;
    import org.mockito.Mock;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbAuthExceptionTest.java

        }
    
        @Test
        void negativeCodeDefaultsToUnsuccessful() {
            SmbAuthException e = new SmbAuthException(-1);
            assertEquals(SmbException.getStatusByCode(-1), e.getNtStatus());
            assertEquals(SmbException.getMessageByCode(-1), e.getMessage());
        }
    
        @Test
        void zeroCodeProducesSuccess() {
            SmbAuthException e = new SmbAuthException(0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/test/kotlin/okhttp3/OkHttpClientTestRuleTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.hasMessage
    import kotlin.test.assertFailsWith
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.BeforeEachCallback
    import org.junit.jupiter.api.extension.ExtensionContext
    import org.junit.jupiter.api.extension.RegisterExtension
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/collect/testing/MinimalCollectionTest.java

    import java.util.Collection;
    import junit.framework.Test;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link MinimalCollection}.
     *
     * @author Kevin Bourrillion
     */
    @AndroidIncompatible // test-suite builders
    public class MinimalCollectionTest extends TestCase {
      public static Test suite() {
        return CollectionTestSuiteBuilder.using(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

    import java.util.Objects;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Collection tests on wrappers from {@link Multisets}.
     *
     * @author Jared Levy
     */
    @GwtIncompatible // suite // TODO(cpovirk): set up collect/gwt/suites version
    @NullUnmarked
    @AndroidIncompatible // test-suite builders
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/pager/BoostDocPager.java

        }
    
        /**
         * Checks if there is a next page.
         * @return True if a next page exists, false otherwise.
         */
        public boolean isExistNextPage() {
            return existNextPage;
        }
    
        /**
         * Sets the existence of a next page.
         * @param existNextPage True if a next page exists.
         */
        public void setExistNextPage(final boolean existNextPage) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/pager/StemmerOverridePager.java

        }
    
        /**
         * Checks if a next page exists.
         *
         * @return true if a next page exists, false otherwise
         */
        public boolean isExistNextPage() {
            return existNextPage;
        }
    
        /**
         * Sets whether a next page exists.
         *
         * @param existNextPage true if a next page exists, false otherwise
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/pager/WebAuthPager.java

        }
    
        /**
         * Checks if a next page exists.
         *
         * @return True if a next page exists, false otherwise
         */
        public boolean isExistNextPage() {
            return existNextPage;
        }
    
        /**
         * Sets whether a next page exists.
         *
         * @param existNextPage True if a next page exists
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top