Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 311 - 320 of 1,610 for _arrays (0.05 seconds)

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

       *
       * <p>This method returns {@code true} if and only if {@code Arrays.equals(bytes, new
       * String(bytes, UTF_8).getBytes(UTF_8))} does, but is more efficient in both time and space.
       */
      public static boolean isWellFormed(byte[] bytes) {
        return isWellFormed(bytes, 0, bytes.length);
      }
    
      /**
       * Returns whether the given byte array slice is a well-formed UTF-8 byte sequence, as defined by
    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

       *
       * <p>This method returns {@code true} if and only if {@code Arrays.equals(bytes, new
       * String(bytes, UTF_8).getBytes(UTF_8))} does, but is more efficient in both time and space.
       */
      public static boolean isWellFormed(byte[] bytes) {
        return isWellFormed(bytes, 0, bytes.length);
      }
    
      /**
       * Returns whether the given byte array slice is a well-formed UTF-8 byte sequence, as defined by
    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. internal/s3select/jstream/decoder_test.go

    		// Array + object = depth 2 = false
    		{input: `[{"bio":"bada bing bada boom","id":1,"name":"Charles","falseVal":false}]`, maxDepth: 1, mustFail: true},
    		// Depth 2 = ok
    		{input: `[{"bio":"bada bing bada boom","id":1,"name":"Charles","falseVal":false}]`, maxDepth: 2, mustFail: false},
    		// Arrays:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/NtlmUtilTest.java

            // Assert
            assertEquals(24, resp.length, "LMv2 response length must be 24");
            assertArrayEquals(clientChallenge, Arrays.copyOfRange(resp, 16, 24), "Client challenge must be copied to last 8 bytes");
            assertFalse(Arrays.equals(new byte[24], resp), "Response must not be all zeros");
        }
    
        @Test
        @DisplayName("getLMv2Response(byte[]): empty client data allowed")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12K bytes
    - Click Count (1)
  5. api/maven-api-core/src/test/java/org/apache/maven/api/services/RequestImplementationTest.java

            List<RemoteRepository> repositories1 = Arrays.asList(repo1, repo2);
            List<RemoteRepository> repositories2 = Arrays.asList(repo1, repo2);
    
            ArtifactResolverRequest.ArtifactResolverRequestBuilder builder = ArtifactResolverRequest.builder();
    
            ArtifactResolverRequest request1 = builder.session(session)
                    .coordinates(Arrays.asList(coords1, coords2))
                    .repositories(repositories1)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/helper/WebFsIndexHelperTest.java

            } catch (Exception e) {
                assertTrue(true);
            }
        }
    
        @Test
        public void test_crawl_withBothConfigs() {
            List<String> webConfigIds = Arrays.asList("webConfig1");
            List<String> fileConfigIds = Arrays.asList("fileConfig1");
    
            // Mock CrawlingConfigHelper
            CrawlingConfigHelper crawlingConfigHelper = new CrawlingConfigHelper() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/FileTypeHelperTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.helper;
    
    import java.util.Arrays;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.TestInfo;
    
    public class FileTypeHelperTest extends UnitFessTestCase {
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/Collections2.java

        final int[] o;
        int j;
    
        PermutationIterator(List<E> list) {
          this.list = new ArrayList<>(list);
          int n = list.size();
          c = new int[n];
          o = new int[n];
          Arrays.fill(c, 0);
          Arrays.fill(o, 1);
          j = Integer.MAX_VALUE;
        }
    
        @Override
        protected @Nullable List<E> computeNext() {
          if (j <= 0) {
            return endOfData();
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 23K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/ImmutableMap.java

           * If entries is full, or if hash flooding is detected, then this implementation may end up
           * using the entries array directly and writing over the entry objects with non-terminal
           * entries, but this is safe; if this Builder is used further, it will grow the entries array
           * (so it can't affect the original array), and future build() calls will always copy any
           * entry objects that cannot be safely reused.
           */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 44.7K bytes
    - Click Count (0)
  10. src/test/java/jcifs/SmbWatchHandleTest.java

         */
        @Test
        void testMultipleWatchCalls() throws CIFSException {
            // Setup mock behavior for multiple calls
            List<FileNotifyInformation> firstBatch = Arrays.asList(fileNotifyInfo1);
            List<FileNotifyInformation> secondBatch = Arrays.asList(fileNotifyInfo2, fileNotifyInfo3);
            List<FileNotifyInformation> thirdBatch = Collections.emptyList();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.2K bytes
    - Click Count (1)
Back to Top