Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,103 for instead (0.85 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/locator/DefaultModelLocator.java

    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.io.File;
    
    /**
     * Locates a POM file within a project base directory.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    public class DefaultModelLocator implements ModelLocator {
    
        @Override
        public File locatePom(File projectDirectory) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

        @Test
        @DisplayName("byte[] ctor: top-level non-SEQUENCE triggers PACDecodingException (type mismatch)")
        void byteArrayConstructor_topLevelNotSequence_throws() throws Exception {
            // Arrange: Encoded INTEGER instead of SEQUENCE
            byte[] notASequence = new ASN1Integer(42).getEncoded();
    
            // Act + Assert
            assertThrows(PACDecodingException.class, () -> new KerberosApRequest(notASequence, null));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. internal/mountinfo/mountinfo_linux_test.go

    		}
    	}
    	// Success case, where path doesn't have any mounts.
    	{
    		absPaths := []string{"/path/to/x"}
    		if err = checkCrossDevice(absPaths, mountsPath); err != nil {
    			t.Fatalf("Expected success, failed instead (%s)", err)
    		}
    	}
    }
    
    // Tests cross device mount verification function, for both failure
    // and success cases.
    func TestCrossDeviceMount(t *testing.T) {
    	successCase := `/dev/0 /path/to/0/1 type0 flags 0 0
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. docs/en/docs/reference/dependencies.md

    ## `Security()`
    
    For many scenarios, you can handle security (authorization, authentication, etc.) with dependencies, using `Depends()`.
    
    But when you want to also declare OAuth2 scopes, you can use `Security()` instead of `Depends()`.
    
    You can import `Security()` directly from `fastapi`:
    
    ```python
    from fastapi import Security
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 671 bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Ints.java

    @GwtCompatible
    public final class Ints extends IntsMethodsForWeb {
      private Ints() {}
    
      /**
       * The number of bytes required to represent a primitive {@code int} value.
       *
       * <p>Prefer {@link Integer#BYTES} instead.
       */
      public static final int BYTES = Integer.BYTES;
    
      /**
       * The largest power of two that can be represented as an {@code int}.
       *
       * @since 10.0
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 31.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

      FAILS_FAST_ON_CONCURRENT_MODIFICATION,
      /**
       * Indicates that the constructor or factory method of a map, usually an immutable map, throws an
       * {@link IllegalArgumentException} when presented with duplicate keys instead of discarding all
       * but one.
       */
      REJECTS_DUPLICATES_AT_CREATION,
    
      GENERAL_PURPOSE(SUPPORTS_PUT, SUPPORTS_REMOVE);
    
      private final Set<Feature<? super Map>> implied;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/project/DefaultDependencyResolutionResult.java

    import java.util.List;
    import java.util.Map;
    
    import org.eclipse.aether.graph.Dependency;
    import org.eclipse.aether.graph.DependencyNode;
    
    /**
     * @deprecated use {@code org.apache.maven.api.services.ProjectBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    class DefaultDependencyResolutionResult implements DependencyResolutionResult {
    
        private DependencyNode root;
    
        private List<Dependency> dependencies = new ArrayList<>();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractService.java

              "shutdownWhenStartupFinishes can only be set if state is STARTING. Got %s instead.",
              internalState);
          checkArgument(
              (failure != null) == (internalState == FAILED),
              "A failure cause should be set if and only if the state is failed.  Got %s and %s "
                  + "instead.",
              internalState,
              failure);
          this.state = internalState;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  9. docs/en/docs/how-to/authentication-error-status-code.md

    For example, you can create a subclass of `HTTPBearer` that returns a `403 Forbidden` error instead of the default `401 Unauthorized` error:
    
    {* ../../docs_src/authentication_error_status_code/tutorial001_an_py39.py hl[9:13] *}
    
    /// tip
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 24 19:03:06 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  10. compat/maven-builder-support/src/main/java/org/apache/maven/building/ProblemCollectorFactory.java

     * under the License.
     */
    package org.apache.maven.building;
    
    import java.util.List;
    
    /**
     *
     * @since 3.3.0
     * @deprecated since 4.0.0, use {@link org.apache.maven.api.services} instead
     */
    @Deprecated(since = "4.0.0")
    public class ProblemCollectorFactory {
    
        /**
         * The default implementation is not visible, create it with this factory
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 15 18:51:29 UTC 2025
    - 1.4K bytes
    - Viewed (0)
Back to top