Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 2,110 for xtrue (0.01 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CipherSuiteTest.kt

        socket.enabledCipherSuites = arrayOf("SSL_A")
        val connectionSpec =
          ConnectionSpec
            .Builder(true)
            .tlsVersions(TlsVersion.TLS_1_0)
            .cipherSuites("SSL_A")
            .build()
        applyConnectionSpec(connectionSpec, socket, true)
        assertArrayEquals(
          arrayOf("SSL_A", "SSL_FALLBACK_SCSV"),
          socket.enabledCipherSuites,
        )
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java

            remarkField.setAccessible(true);
            assertEquals("Test remark", remarkField.get(msrpcShareInfo1));
        }
    
        @Test
        void testLevelParameter() throws Exception {
            // Verify that level is set to 1 as per the constructor
            Field levelField = srvsvc.ShareEnumAll.class.getDeclaredField("level");
            levelField.setAccessible(true);
            int level = (int) levelField.get(msrpcShareEnum);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/spnego/NegTokenInit.java

         * @param flag the context flag to check
         * @return true if the flag is set, false otherwise
         */
        public boolean getContextFlag(final int flag) {
            return (getContextFlags() & flag) == flag;
        }
    
        /**
         * Sets or clears a specific context flag
         * @param flag the context flag to set or clear
         * @param value true to set the flag, false to clear it
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            totalParamField.setAccessible(true);
            assertEquals(1000, totalParamField.get(response));
    
            Field totalDataField = response.getClass().getSuperclass().getSuperclass().getDeclaredField("totalDataCount");
            totalDataField.setAccessible(true);
            assertEquals(2000, totalDataField.get(response));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

                infoTypeField.setAccessible(true);
                byte actualInfoType = (byte) infoTypeField.get(request);
                assertEquals(Smb2Constants.SMB2_0_INFO_FILE, actualInfoType);
    
                Field fileInfoClassField = Smb2SetInfoRequest.class.getDeclaredField("fileInfoClass");
                fileInfoClassField.setAccessible(true);
                byte actualFileInfoClass = (byte) fileInfoClassField.get(request);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

            assertEquals(20, info.size());
        }
    
        @Test
        @DisplayName("Test encode with replaceIfExists true")
        void testEncodeWithReplaceIfExistsTrue() {
            String fileName = "newfile.txt";
            FileRenameInformation2 info = new FileRenameInformation2(fileName, true);
    
            byte[] buffer = new byte[100];
            int bytesWritten = info.encode(buffer, 0);
    
            // Verify replaceIfExists flag
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

        var invokeStartEvent = true
        var responseBuilder: Response.Builder? = null
        var sendRequestException: IOException? = null
        val hasRequestBody = HttpMethod.permitsRequestBody(request.method) && requestBody != null
        val isUpgradeRequest =
          !hasRequestBody &&
            "upgrade".equals(request.header("Connection"), ignoreCase = true)
        try {
          exchange.writeRequestHeaders(request)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. .github/ISSUE_TEMPLATE/feature_addition_request.yaml

        validations:
          required: true
    
      - type: textarea
        attributes:
          label: 2. What's the best code you can write to accomplish that without the new feature?
        validations:
          required: true
    
      - type: textarea
        attributes:
          label: 3. What would that same code look like if we added your feature?
        validations:
          required: true
    
      - type: markdown
        attributes:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Nov 17 18:47:47 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/Invokable.java

        return member.isSynthetic();
      }
    
      /** Returns true if the element is public. */
      public final boolean isPublic() {
        return Modifier.isPublic(getModifiers());
      }
    
      /** Returns true if the element is protected. */
      public final boolean isProtected() {
        return Modifier.isProtected(getModifiers());
      }
    
      /** Returns true if the element is package-private. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

      /** True if this call still has a request body open. */
      private var requestBodyOpen = false
    
      /** True if this call still has a response body open. */
      private var responseBodyOpen = false
    
      /** True if there are more exchanges expected for this call. */
      private var expectMoreExchanges = true
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top