Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1971 - 1980 of 2,073 for catch (0.02 sec)

  1. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

            assertEquals(2, serverList.size());
            assertEquals("SERVER1", serverList.get(0).oemDomainName);
            assertEquals("SERVER2", serverList.get(1).oemDomainName);
        }
    
        /**
         * Test field types match expected types
         */
        @Test
        @DisplayName("Test field types are correct")
        public void testFieldTypes() throws NoSuchFieldException {
            // Verify field types
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  2. gorm.go

    	DisableNestedTransaction bool
    	// AllowGlobalUpdate allow global update
    	AllowGlobalUpdate bool
    	// QueryFields executes the SQL query with all fields of the table
    	QueryFields bool
    	// CreateBatchSize default create batch size
    	CreateBatchSize int
    	// TranslateError enabling error translation
    	TranslateError bool
    	// PropagateUnscoped propagate Unscoped to every other nested statement
    	PropagateUnscoped bool
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. cmd/signature-v4.go

    		signV4Values.Credential.scope.region, stype)
    
    	// Calculate signature.
    	newSignature := getSignature(signingKey, stringToSign)
    
    	// Verify if signature match.
    	if !compareSignatureV4(newSignature, signV4Values.Signature) {
    		return ErrSignatureDoesNotMatch
    	}
    
    	// Return error none.
    	return ErrNone
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Dec 13 22:19:12 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSet.java

      // TODO(cpovirk): Move to Hashing or something, since it's used elsewhere in the Android version.
      static int chooseTableSize(int setSize) {
        setSize = max(setSize, 2);
        // Correct the size for open addressing to match desired load factor.
        if (setSize < CUTOFF) {
          // Round up to the next highest power of 2.
          int tableSize = Integer.highestOneBit(setSize - 1) << 1;
          while (tableSize * DESIRED_LOAD_FACTOR < setSize) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java

            trustInfo.name = new rpc.unicode_string(); // Use real object
            trustInfo.name.length = 10;
            trustInfo.name.maximum_length = 20;
            trustInfo.name.buffer = new short[10]; // Should match maximum_length/2
            trustInfo.sid = mock(rpc.sid_t.class);
    
            trustInfo.encode(mockNdrBuffer);
    
            verify(mockNdrBuffer).align(4);
            verify(mockNdrBuffer).enc_ndr_short(trustInfo.name.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 60.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

            SMB1SigningDigest verifyDigest = new SMB1SigningDigest(testMacSigningKey);
    
            // Verify should return false when signature is correct (no error)
            // The code returns true on line 281 when signatures DON'T match
            boolean result = verifyDigest.verify(data, 0, data.length, 0, mockRequest);
    
            // The verification should succeed (return false) since we're using the same key
            assertFalse(result);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/security/oauth2-jwt.md

    If you want to play with JWT tokens and see how they work, check <a href="https://jwt.io/" class="external-link" target="_blank">https://jwt.io</a>.
    
    ## Install `PyJWT` { #install-pyjwt }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            String[] fields = {};
            List<String> keywords = SuggestUtil.getKeywords(query, fields);
            assertNotNull(keywords);
            assertEquals(0, keywords.size()); // No keywords because no fields match
        }
    
        @Test
        public void testGetKeywordsWithComplexQuery() {
            // Test with complex query structure
            String query = "(test AND query) OR (another AND search)";
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt

        assertThat(cookie.matches("http://www.example.com".toHttpUrl())).isTrue()
        assertThat(cookie.matches("http://square.com".toHttpUrl())).isFalse()
      }
    
      /** If no domain is present, match only the origin domain.  */
      @Test fun domainMatchesNoDomain() {
        val cookie = parse(url, "a=b")
        assertThat(cookie!!.matches("http://example.com".toHttpUrl())).isTrue()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            // Decode
            fileBothDirectoryInfo.decode(buffer, 0, buffer.length);
    
            // Verify - the decode method strips null termination, so filename should match
            assertEquals(expectedFilename, fileBothDirectoryInfo.getFilename());
        }
    
        @Test
        @DisplayName("Test decode with null-terminated non-Unicode filename")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
Back to top