Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 489 for _validate (0.07 sec)

  1. guava-tests/test/com/google/common/eventbus/ReentrantEventsTest.java

     * limitations under the License.
     */
    
    package com.google.common.eventbus;
    
    import com.google.common.collect.Lists;
    import java.util.List;
    import junit.framework.TestCase;
    
    /**
     * Validate that {@link EventBus} behaves carefully when listeners publish their own events.
     *
     * @author Jesse Wilson
     */
    public class ReentrantEventsTest extends TestCase {
    
      static final String FIRST = "one";
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

        public HtmlResponse index() {
            saveToken();
            return asListHtml();
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse delete(final DeleteForm form) {
            validate(form, messages -> {}, () -> asHtml(path_AdminPlugin_AdminPluginJsp));
            verifyToken(() -> asHtml(path_AdminPlugin_AdminPluginJsp));
            final Artifact artifact = new Artifact(form.name, form.version, null);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. cmd/warm-backend-azure.go

    		}
    		return false, azureToObjectError(err, az.Bucket, az.Prefix)
    	}
    
    	return len(resp.Segment.BlobItems) > 0, nil
    }
    
    type azureConf struct {
    	madmin.TierAzure
    }
    
    func (conf azureConf) Validate() error {
    	switch {
    	case conf.AccountName == "":
    		return errors.New("the account name is required")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. internal/event/target/nsq.go

    		Enable     bool `json:"enable"`
    		SkipVerify bool `json:"skipVerify"`
    	} `json:"tls"`
    	QueueDir   string `json:"queueDir"`
    	QueueLimit uint64 `json:"queueLimit"`
    }
    
    // Validate NSQArgs fields
    func (n NSQArgs) Validate() error {
    	if !n.Enable {
    		return nil
    	}
    
    	if n.NSQDAddress.IsEmpty() {
    		return errors.New("empty nsqdAddress")
    	}
    
    	if n.Topic == "" {
    		return errors.New("empty topic")
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. .github/workflows/gradle-wrapper-validation.yml

    name: "Validate Gradle Wrapper"
    on: [push, pull_request]
    
    permissions:
      contents: read
    
    jobs:
      validation:
        name: "Validation"
        runs-on: ubuntu-latest
        steps:
          - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 29 18:53:45 UTC 2024
    - 348 bytes
    - Viewed (0)
  6. samples/compare/src/test/kotlin/okhttp3/compare/JettyHttpClientTest.kt

    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    
    /**
     * Jetty HTTP client.
     *
     * https://www.eclipse.org/jetty/documentation/current/http-client.html
     *
     * Baseline test if we ned to validate OkHttp behaviour against other popular clients.
     */
    class JettyHttpClientTest {
      private val client = HttpClient()
    
      @BeforeEach fun setUp() {
        client.start()
      }
    
      @AfterEach fun tearDown() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. internal/config/lambda/target/webhook.go

    	AuthToken  string          `json:"authToken"`
    	Transport  *http.Transport `json:"-"`
    	ClientCert string          `json:"clientCert"`
    	ClientKey  string          `json:"clientKey"`
    }
    
    // Validate WebhookArgs fields
    func (w WebhookArgs) Validate() error {
    	if !w.Enable {
    		return nil
    	}
    	if w.Endpoint.IsEmpty() {
    		return errors.New("endpoint empty")
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 08 21:39:49 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. internal/bucket/object/lock/lock.go

    	// ErrMalformedXML - generic error indicating malformed XML
    	ErrMalformedXML = errors.New("the XML you provided was not well-formed or did not validate against our published schema")
    )
    
    const (
    	ntpServerEnv = "MINIO_NTP_SERVER"
    )
    
    var ntpServer = env.Get(ntpServerEnv, "")
    
    // UTCNowNTP - is similar in functionality to UTCNow()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/using-request-directly.md

    It would also mean that if you get data from the `Request` object directly (for example, read the body) it won't be validated, converted or documented (with OpenAPI, for the automatic API user interface) by FastAPI.
    
    Although any other parameter declared normally (for example, the body with a Pydantic model) would still be validated, converted, annotated, etc.
    
    But there are specific cases where it's useful to get the `Request` object.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/ForwardingCache.java

        delegate().put(key, value);
      }
    
      /** @since 12.0 */
      @Override
      public void putAll(Map<? extends K, ? extends V> m) {
        delegate().putAll(m);
      }
    
      @Override
      public void invalidate(Object key) {
        delegate().invalidate(key);
      }
    
      /** @since 11.0 */
      @Override
      // For discussion of <? extends Object>, see getAllPresent.
      public void invalidateAll(Iterable<? extends Object> keys) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 3.6K bytes
    - Viewed (0)
Back to top