Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 745 for lang_th (0.04 sec)

  1. src/main/java/jcifs/smb1/util/DES.java

            final int length = cipherText.length;
    
            if (length % 8 != 0) {
                // DES requires 8-byte blocks
                throw new IllegalArgumentException("Array must be a multiple of 8 bytes for DES encryption");
            }
    
            final byte[] clearText = new byte[length];
            final int count = length / 8;
    
            for (int i = 0; i < count; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/reflect/TypeResolver.java

            checkArgument(
                fromUpperBounds.length == toUpperBounds.length
                    && fromLowerBounds.length == toLowerBounds.length,
                "Incompatible type: %s vs. %s",
                fromWildcardType,
                to);
            for (int i = 0; i < fromUpperBounds.length; i++) {
              populateTypeMappings(mappings, fromUpperBounds[i], toUpperBounds[i]);
            }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

            @Test
            @DisplayName("Should throw IOException for fragment length exceeding max")
            void testDoSendReceiveFragment_FragmentTooLarge() throws Exception {
                DcerpcPipeHandle handle = createMockedDcerpcPipeHandle();
    
                byte[] buf = new byte[50];
                byte[] inB = new byte[100];
    
                // Setup fragment length exceeding max (4280)
                Encdec.enc_uint16le((short) 4281, inB, 8);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Platform.java

        return CompactHashSet.create();
      }
    
      /**
       * Returns a new array of the given length with the same type as a reference array.
       *
       * @param reference any array of the desired type
       * @param length the length of the new array
       */
      /*
       * The new array contains nulls, even if the old array did not. If we wanted to be accurate, we
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                out.write(testContent.getBytes("UTF-8"));
            }
    
            assertTrue(file.exists(), "File should exist after writing");
            assertEquals(testContent.length(), file.length(), "File length should match content length");
    
            // Read content back
            try (InputStream in = file.getInputStream()) {
                String readContent = new String(in.readAllBytes(), "UTF-8");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/SecureKeyManagerTest.java

            assertEquals(32, derived1.length, "Derived key should have correct length");
            assertEquals(32, derived2.length, "Derived key should have correct length");
            assertEquals(32, derived3.length, "Derived key should have correct length");
    
            assertFalse(Arrays.equals(derived1, derived2), "Different labels should produce different keys");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. schema/index_test.go

    			if len(ei.Fields) != len(ai.Fields) {
    				t.Errorf("expected index %q field length is %d but actual %d", ei.Name, len(ei.Fields), len(ai.Fields))
    				return
    			}
    			for i, ef := range ei.Fields {
    				af := ai.Fields[i]
    				tests.AssertObjEqual(t, af, ef, "Name", "Unique", "UniqueIndex", "Expression", "Sort", "Collate", "Length", "NotNull")
    			}
    		})
    	}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Dec 06 02:27:44 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

                  public Integer call() {
                    return Thread.currentThread().getStackTrace().length;
                  }
                },
                directExecutor());
        settableFuture.set(null);
        assertThat(getDone(stackDepthCheck))
            .isLessThan(Thread.currentThread().getStackTrace().length + 100);
      }
    
      public void testAvoidsStackOverflow_alternatingCancelledAndSubmitted() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

            int byteCountValue = 8 + domainBytes.length;
            setByteCount(response, byteCountValue);
            byte[] buffer = new byte[byteCountValue];
            int bufferIndex = 0;
            byte[] key = new byte[] { 1, 2, 3, 4, 5, 6, 7, 8 };
            System.arraycopy(key, 0, buffer, bufferIndex, key.length);
            bufferIndex += key.length;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/TestMapEntrySetGenerator.java

        Entry<K, V>[] entries = createArray(elements.length);
        arraycopy(elements, 0, entries, 0, elements.length);
        return createFromEntries(entries);
      }
    
      public abstract Set<Entry<K, V>> createFromEntries(Entry<K, V>[] entries);
    
      @Override
      @SuppressWarnings("unchecked") // generic arrays make typesafety sad
      public Entry<K, V>[] createArray(int length) {
        return (Entry<K, V>[]) new Entry<?, ?>[length];
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top