Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 481 for matchers (0.1 sec)

  1. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

                if (field.getType() == int.class) {
                    String name = field.getName();
                    // Check that constant names follow UPPER_SNAKE_CASE convention
                    assertTrue(name.matches("[A-Z_]+"), "Constant " + name + " should follow UPPER_SNAKE_CASE convention");
                    // Check that all constants end with _SECURITY_INFO
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. logger/sql.go

    		}
    	}
    	return true
    }
    
    // A list of Go types that should be converted to SQL primitives
    var convertibleTypes = []reflect.Type{reflect.TypeOf(time.Time{}), reflect.TypeOf(false), reflect.TypeOf([]byte{})}
    
    // RegEx matches only numeric values
    var numericPlaceholderRe = regexp.MustCompile(`\$\d+\$`)
    
    func isNumeric(k reflect.Kind) bool {
    	switch k {
    	case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
    		return true
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                if (SSN_LIMIT != 1) {
                    final ListIterator iter = CONNECTIONS.listIterator();
                    while (iter.hasNext()) {
                        conn = (SmbTransport) iter.next();
                        if (conn.matches(address, port, localAddr, localPort, hostName)
                                && (SSN_LIMIT == 0 || conn.sessions.size() < SSN_LIMIT)) {
                            return conn;
                        }
                    }
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/pathmap/CreateForm.java

        /**
         * The regular expression pattern to match request paths.
         */
        @Required
        @Size(max = 1000)
        public String regex;
    
        /**
         * The replacement pattern for matched paths.
         */
        @Size(max = 1000)
        public String replacement;
    
        /**
         * The processing type for path mapping.
         */
        @Required
        public String processType;
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt

    import okio.ByteString
    
    /**
     * Encode and decode a model object like a [Long] or [Certificate] as DER bytes.
     */
    internal interface DerAdapter<T> {
      /** Returns true if this adapter can read [header] in a choice. */
      fun matches(header: DerHeader): Boolean
    
      /**
       * Returns a value from this adapter.
       *
       * This must always return a value, though it doesn't necessarily need to consume data from
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt

                            sniMatchers =
                              listOf(
                                object : SNIMatcher(StandardConstants.SNI_HOST_NAME) {
                                  override fun matches(serverName: SNIServerName): Boolean {
                                    acceptedHostName = (serverName as SNIHostName).asciiName
                                    return true
                                  }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

            .isNotEqualTo(thread3.getName().substring(0, thread.getName().lastIndexOf('-')));
      }
    
      private static void checkThreadPoolName(Thread thread, int threadId) {
        assertThat(thread.getName()).matches("^pool-\\d+-thread-" + threadId + "$");
      }
    
      public void testNameFormatWithPercentS_custom() {
        String format = "super-duper-thread-%s";
        ThreadFactory factory = builder.setNameFormat(format).build();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/elevateword/CreateForm.java

    /**
     * Form class for creating new elevate word configuration entries.
     * This form handles the creation of elevate word rules that boost
     * specific documents in search results when certain keywords are matched.
     */
    public class CreateForm {
    
        /**
         * Creates a new CreateForm instance.
         */
        public CreateForm() {
            // Default constructor
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java

                    if (!responseData.getUrl().matches(urlCondition)) {
                        return false;
                    }
                }
    
                // Check MIME type condition
                String mimeTypeCondition = conditions.get("mimeType");
                if (mimeTypeCondition != null && responseData.getMimeType() != null) {
                    if (!responseData.getMimeType().matches(mimeTypeCondition)) {
                        return false;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  10. tests/customize_field_test.go

    		t.Errorf("Failed to query CustomizeColumn")
    	}
    }
    
    func TestCustomColumnAndIgnoredFieldClash(t *testing.T) {
    	// Make sure an ignored field does not interfere with another field's custom
    	// column name that matches the ignored field.
    	type CustomColumnAndIgnoredFieldClash struct {
    		Body    string `gorm:"-"`
    		RawBody string `gorm:"column:body"`
    	}
    
    	DB.Migrator().DropTable(&CustomColumnAndIgnoredFieldClash{})
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Sep 11 09:33:31 UTC 2020
    - 6.9K bytes
    - Viewed (0)
Back to top