Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 304 for getPtype (0.86 sec)

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

                SmbNamedPipe pipe = new SmbNamedPipe(url, SmbPipeResource.PIPE_TYPE_RDWR, ctx());
    
                // Assert: type is named pipe and pipe type preserved
                assertEquals(SmbConstants.TYPE_NAMED_PIPE, pipe.getType(), "Type should be TYPE_NAMED_PIPE");
                assertEquals(SmbPipeResource.PIPE_TYPE_RDWR, pipe.getPipeType(), "Pipe type should match constructor");
            }
    
            @ParameterizedTest
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. tests/test_union_body_discriminator_annotated.py

        from fastapi import Body
        from pydantic import Discriminator, Tag
    
        class Cat(BaseModel):
            pet_type: str = "cat"
            meows: int
    
        class Dog(BaseModel):
            pet_type: str = "dog"
            barks: float
    
        def get_pet_type(v):
            assert isinstance(v, dict)
            return v.get("pet_type", "")
    
        Pet = Annotated[
            Union[Annotated[Cat, Tag("cat")], Annotated[Dog, Tag("dog")]],
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbConstants.java

         * Returned by {@link jcifs.SmbResource#getType()} if the resource this <code>SmbFile</code>
         * represents is a server.
         */
        int TYPE_SERVER = 0x04;
        /**
         * Returned by {@link jcifs.SmbResource#getType()} if the resource this <code>SmbFile</code>
         * represents is a share.
         */
        int TYPE_SHARE = 0x08;
        /**
         * Returned by {@link jcifs.SmbResource#getType()} if the resource this <code>SmbFile</code>
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelCacheTag.java

         */
        String getName();
    
        /**
         * Gets the type of data associated with this tag.
         *
         * @return The type of data, must not be {@code null}.
         */
        Class<T> getType();
    
        /**
         * Creates a copy of the data suitable for storage in the cache. The original data to store can be mutated after the
         * cache is populated but the state of the cache must not change so we need to make a copy.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

        @Override
        public void setVersion(String version) {
            this.version = version;
            setBaseVersionInternal(version);
            versionRange = null;
        }
    
        @Override
        public String getType() {
            return type;
        }
    
        @Override
        public void setFile(File file) {
            this.file = file;
        }
    
        @Override
        public File getFile() {
            return file;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

            Field[] fields = SecurityInfo.class.getDeclaredFields();
            Set<Integer> values = new HashSet<>();
    
            for (Field field : fields) {
                if (field.getType() == int.class) {
                    int value = field.getInt(null);
                    assertTrue(values.add(value), "Duplicate value found for field: " + field.getName());
                }
            }
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchain.java

        protected DefaultToolchain(ToolchainModel model, String type, Logger logger) {
            this(model, logger);
            this.type = type;
        }
    
        @Override
        public final String getType() {
            return type != null ? type : model.getType();
        }
    
        @Override
        public final ToolchainModel getModel() {
            return model;
        }
    
        public final void addProvideToken(String type, RequirementMatcher matcher) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Feb 12 13:13:28 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

                if ((typeReference.getSort() == TypeReference.CLASS_TYPE_PARAMETER || typeReference.getSort() == TypeReference.CLASS_TYPE_PARAMETER_BOUND) &&
                    NULLABLE_ANNOTATIONS.contains(Type.getType(descriptor).getClassName())) {
                    typeParametersNullability.set(typeReference.getTypeParameterIndex(), true)
                }
                return null
            }
        }
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Oct 27 09:26:32 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerFactory.java

        }
    
        private record ToolchainWrapperV4(ToolchainPrivate delegate) implements org.apache.maven.api.Toolchain {
    
            @Override
            public String getType() {
                return delegate.getType();
            }
    
            @Override
            public String findTool(String toolName) {
                return delegate.findTool(toolName);
            }
    
            @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 31 10:58:52 UTC 2025
    - 11K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java

            HandleInfo info2 = manager.getHandleByGuid(guid2);
    
            assertNotNull(info1);
            assertNotNull(info2);
            assertNotEquals(info1.getPath(), info2.getPath());
            assertNotEquals(info1.getType(), info2.getType());
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top