Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 750 for James (0.02 seconds)

  1. src/test/java/jcifs/smb/SmbFileFilterTest.java

        @MethodSource("nameCases")
        @DisplayName("accept: name-based filter handles normal, empty, and null names")
        void accept_nameBasedFilter_handlesEdgeNames(String name, boolean expected) throws Exception {
            // Arrange: filter that accepts non-empty names ending with .txt
            SmbFileFilter filter = f -> {
                String n = f.getName();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/util/FacetResponseTest.java

            assertTrue(fullQueryName.startsWith("query:"));
            assertTrue(fullQueryName.contains(encodedQueryName));
        }
    
        @Test
        public void test_field_name_extraction() {
            // Test that field names can be extracted from encoded strings
            String originalFieldName = "author";
            String encodedFieldName = BaseEncoding.base64().encode(originalFieldName.getBytes(StandardCharsets.UTF_8));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/lang/AnnotationUtil.java

         */
        protected AnnotationUtil() {
        }
    
        /**
         * Returns the elements of the annotation as a {@link Map} of names and values.
         *
         * @param annotation the annotation (must not be {@literal null})
         * @return a {@link Map} of annotation element names and values
         */
        public static Map<String, Object> getProperties(final Annotation annotation) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  4. internal/kms/kes.go

    }
    
    func (c *kesConn) ListKeys(ctx context.Context, req *ListRequest) ([]madmin.KMSKeyInfo, string, error) {
    	names, continueAt, err := c.client.ListKeys(ctx, req.Prefix, req.Limit)
    	if err != nil {
    		return nil, "", err
    	}
    	keyInfos := make([]madmin.KMSKeyInfo, len(names))
    	for i := range names {
    		keyInfos[i].Name = names[i]
    	}
    	return keyInfos, continueAt, nil
    }
    
    // CreateKey tries to create a new key at the KMS with the
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Aug 18 06:43:03 GMT 2024
    - 7.3K bytes
    - Click Count (0)
  5. clause/expression_test.go

    	}, {
    		SQL:          "name in (@names)",
    		Vars:         []interface{}{map[string]interface{}{"names": []interface{}{"jinzhu", "jinzhu2"}}},
    		Result:       "name in (?,?)",
    		ExpectedVars: []interface{}{"jinzhu", "jinzhu2"},
    	}, {
    		SQL:          "name in (@names)",
    		Vars:         []interface{}{map[string]interface{}{"names": "jinzhu"}},
    		Result:       "name in (?)",
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Nov 04 07:04:52 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  6. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/ConscryptSocketAdapter.kt

        if (matchesSocket(sslSocket)) {
          // Enable session tickets.
          Conscrypt.setUseSessionTickets(sslSocket, true)
    
          // Enable ALPN.
          val names = Platform.alpnProtocolNames(protocols)
          Conscrypt.setApplicationProtocols(sslSocket, names.toTypedArray())
        }
      }
    
      companion object {
        val factory =
          object : DeferredSocketAdapter.Factory {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 3K bytes
    - Click Count (0)
  7. cmd/object-api-getobjectinfo_test.go

    		shouldPass bool
    	}{
    		// Test cases with invalid bucket names ( Test number 1-4 ).
    		{".test", "", ObjectInfo{}, BucketNameInvalid{Bucket: ".test"}, false},
    		{"---", "", ObjectInfo{}, BucketNameInvalid{Bucket: "---"}, false},
    		{"ad", "", ObjectInfo{}, BucketNameInvalid{Bucket: "ad"}, false},
    		// Test cases with valid but non-existing bucket names (Test number 5-6).
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 5.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/NetbiosNameTest.java

            // Then
            assertNull(scope);
        }
    
        @Test
        @DisplayName("Should handle various name lengths")
        void testVariousNameLengths() {
            // NetBIOS names can be up to 15 characters
            String[] testNames = { "A", "SERVER", "LONGSERVERNAME", "EXACTLY15CHARS1" };
    
            for (String testName : testNames) {
                when(mockNetbiosName.getName()).thenReturn(testName);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/DosFileFilter.java

     * Supports filtering files based on DOS wildcards and file attributes.
     *
     */
    public class DosFileFilter implements SmbFileFilter {
    
        /**
         * The wildcard pattern for filtering file names.
         */
        protected String wildcard;
    
        /**
         * The DOS file attributes to filter on.
         */
        protected int attributes;
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticator.java

            }
        }
    
        /**
         * Processes member-of information from Microsoft Graph API.
         * @param user The Entra ID user.
         * @param groupList The list to add group names to.
         * @param roleList The list to add role names to.
         * @param url The Microsoft Graph API URL.
         */
        protected void processMemberOf(final EntraIdUser user, final List<String> groupList, final List<String> roleList, final String url) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:03:27 GMT 2026
    - 56.8K bytes
    - Click Count (0)
Back to Top