Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1181 - 1190 of 1,676 for _arrays (0.1 seconds)

  1. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            byte[] parsedStats = (byte[]) statsField.get(response);
            assertNotNull(parsedStats);
            assertEquals(12, parsedStats.length); // Stats array should be 12 bytes
            // The stats array contains everything after names (MAC + actual stats)
            byte[] expectedStats = new byte[12];
            System.arraycopy(testMac, 0, expectedStats, 0, 6); // MAC is at beginning
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationTest.java

            // Total bytes written: 8+8+8+8+2+6=40
            // But writeInt8 at position 34 needs to access position 34+7=41
            // So we need at least 42 bytes in the array
            byte[] dst = new byte[42];
    
            // When
            int result = trans2SetFileInformation.writeDataWireFormat(dst, 0);
    
            // Then
            assertEquals(40, result); // Returns 40 bytes written
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/CertificateChainCleaner.kt

    import javax.net.ssl.SSLPeerUnverifiedException
    import javax.net.ssl.X509TrustManager
    import okhttp3.internal.platform.Platform
    
    /**
     * Computes the effective certificate chain from the raw array returned by Java's built in TLS APIs.
     * Cleaning a chain returns a list of certificates where the first element is `chain[0]`, each
     * certificate is signed by the certificate that follows, and the last certificate is a trusted CA
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcEnumerateAliasesInDomainTest.java

            assertEquals(acctFlags, request.acct_flags, "The account flags should be set correctly.");
            assertEquals(mockSamArray, request.sam, "The sam array should be set correctly.");
            // ptype and flags are protected fields in DcerpcMessage, cannot test directly
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SID.java

        String origin_server = null;
        CIFSContext origin_ctx = null;
    
        /**
         * Construct a SID from it's binary representation.
         *
         *
         * @param src the byte array containing the SID
         * @param si the starting index in the array
         */
        public SID(final byte[] src, int si) {
            this.revision = src[si];
            si++;
            this.sub_authority_count = src[si++];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 16K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

    import static com.google.common.collect.testing.testers.CollectionSpliteratorTester.getSpliteratorNotImmutableCollectionAllowsRemoveMethod;
    import static java.util.Arrays.asList;
    import static java.util.Collections.emptySet;
    import static java.util.Collections.singleton;
    import static java.util.Collections.unmodifiableSet;
    
    import com.google.common.annotations.GwtIncompatible;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 19.8K bytes
    - Click Count (0)
  7. callbacks/callmethod.go

    	tx := db.Session(&gorm.Session{NewDB: true})
    	if called := fc(db.Statement.ReflectValue.Interface(), tx); !called {
    		switch db.Statement.ReflectValue.Kind() {
    		case reflect.Slice, reflect.Array:
    			db.Statement.CurDestIndex = 0
    			for i := 0; i < db.Statement.ReflectValue.Len(); i++ {
    				if value := reflect.Indirect(db.Statement.ReflectValue.Index(i)); value.CanAddr() {
    					fc(value.Addr().Interface(), tx)
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Feb 18 01:20:29 GMT 2023
    - 846 bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ExternalHttp2Example.kt

     * limitations under the License.
     */
    package okhttp3.internal.http
    
    import okhttp3.OkHttpClient
    import okhttp3.Protocol
    import okhttp3.Request
    
    object ExternalHttp2Example {
      @JvmStatic
      fun main(args: Array<String>) {
        val client =
          OkHttpClient
            .Builder()
            .protocols(listOf(Protocol.HTTP_2, Protocol.HTTP_1_1))
            .build()
        val call =
          client.newCall(
            Request
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/create/CreateContextRequest.java

     *
     * @author mbechler
     *
     */
    public interface CreateContextRequest extends Encodable {
    
        /**
         * Get the name of this create context.
         * @return context name as byte array
         */
        byte[] getName();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/curl/CurlResponse.java

            return headers;
        }
    
        /**
         * Gets the values of the specified header.
         *
         * @param name the name of the header.
         * @return an array of header values, or an empty array if the header does not exist.
         */
        public String[] getHeaderValues(final String name) {
            if (headers == null) {
                return new String[0];
            }
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 6.8K bytes
    - Click Count (0)
Back to Top