Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 522 for validateId (0.05 sec)

  1. cmd/listen-notification-handlers.go

    )
    
    func (api objectAPIHandlers) ListenNotificationHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "ListenNotification")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	// Validate if bucket exists.
    	objAPI := api.ObjectAPI()
    	if objAPI == nil {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    		return
    	}
    
    	vars := mux.Vars(r)
    	bucketName := vars["bucket"]
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/witness/WitnessHeartbeatMessage.java

         */
        public void setHeartbeatInterval(long heartbeatInterval) {
            this.heartbeatInterval = heartbeatInterval;
        }
    
        /**
         * Validates that the heartbeat response is correct.
         * The response sequence number should match the request sequence number.
         *
         * @return true if the response is valid
         */
        public boolean isValidResponse() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            Address address = nameServiceClient.getByName("localhost", false);
    
            // Then
            assertNotNull(address, "Should return address for localhost");
        }
    
        @Test
        @DisplayName("Should validate context configuration access")
        void testContextAccess() {
            // When
            NameServiceClientImpl client = new NameServiceClientImpl(mockContext);
    
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverRequest.java

                        @Nonnull Nature nature) {
                    super(session, trace);
                    this.artifactCoordinates = requireNonNull(artifactCoordinates);
                    this.repositories = validate(repositories);
                    this.nature = requireNonNull(nature);
                }
    
                @Nonnull
                @Override
                public ArtifactCoordinates getArtifactCoordinates() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. internal/grid/grid.go

    func ConnectWS(dial ContextDialer, auth AuthFn, tls *tls.Config) func(ctx context.Context, remote string) (net.Conn, error) {
    	return ConnectWSWithRoutePath(dial, auth, tls, RoutePath)
    }
    
    // ValidateTokenFn must validate the token and return an error if it is invalid.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/rule_test.go

    		t.Run(fmt.Sprintf("Test %d", i+1), func(t *testing.T) {
    			var rule Rule
    			err := xml.Unmarshal([]byte(tc.inputXML), &rule)
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			if err := rule.Validate(); err != tc.expectedErr {
    				t.Fatalf("%d: Expected %v but got %v", i+1, tc.expectedErr, err)
    			}
    		})
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. internal/event/target/elasticsearch.go

    	Transport  *http.Transport `json:"-"`
    	Username   string          `json:"username"`
    	Password   string          `json:"password"`
    }
    
    // Validate ElasticsearchArgs fields
    func (a ElasticsearchArgs) Validate() error {
    	if !a.Enable {
    		return nil
    	}
    	if a.URL.IsEmpty() {
    		return errors.New("empty URL")
    	}
    	if a.Format != "" {
    		f := strings.ToLower(a.Format)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 15K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

     *   <li><strong>Duplicate Dependencies</strong>: Removes duplicate dependency declarations that Maven 4 strictly validates</li>
     *   <li><strong>Duplicate Plugins</strong>: Removes duplicate plugin declarations that Maven 4 strictly validates</li>
     *   <li><strong>Unsupported Repository Expressions</strong>: Comments out repositories with expressions not supported by Maven 4</li>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

         */
        public String[] getFileProtocols() {
            return fileProtocols;
        }
    
        /**
         * Checks if the given URL uses a valid web protocol.
         *
         * @param url the URL to validate
         * @return true if the URL starts with a supported web protocol, false otherwise
         */
        public boolean isValidWebProtocol(final String url) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Dec 12 13:58:40 UTC 2025
    - 12.4K bytes
    - Viewed (1)
  10. internal/config/lambda/parse.go

    			ClientCert: env.Get(clientCertEnv, kv.Get(target.WebhookClientCert)),
    			ClientKey:  env.Get(clientKeyEnv, kv.Get(target.WebhookClientKey)),
    		}
    		if err = webhookArgs.Validate(); err != nil {
    			return nil, err
    		}
    		webhookTargets[k] = webhookArgs
    	}
    	return webhookTargets, nil
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top