Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 135 for getStyle (0.11 seconds)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDescriptionRenderer.java

            Element apilink = document.createElement("apilink");
            seg.appendChild(apilink);
            apilink.setAttribute("class", classDoc.getName());
            apilink.setAttribute("style", classDoc.getStyle());
        }
    
        private void addSubtypeLinks(ClassDoc classDoc, Element parent, Document document) {
            if (!classDoc.getSubClasses().isEmpty()) {
                Element list = document.createElement("segmentedlist");
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.1K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionDownloadPlugin.java

            if (distribution.getType() == ElasticsearchDistributionTypes.INTEG_TEST_ZIP) {
                projectPath += ":archives:integ-test-zip";
            } else if (distribution.getType().isDocker()) {
                projectPath += ":docker:";
                projectPath += distributionProjectName(distribution);
            } else {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Aug 20 19:11:05 GMT 2021
    - 8.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java

            // Test with hidden flag (0x80000000) which should be ignored by getType()
            SmbShareInfo hiddenPrinter = new SmbShareInfo("HIDDEN_PRINTER", 1 | 0x80000000, "hidden printer");
            assertEquals(SmbFile.TYPE_PRINTER, hiddenPrinter.getType());
        }
    
        /**
         * Test of getAttributes method, of class SmbShareInfo.
         */
        @Test
        void testGetAttributes() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/smb1/FileEntryTest.java

            }
        }
    
        @ParameterizedTest(name = "getType returns {0}")
        @ValueSource(ints = { 0, 1, -5, Integer.MAX_VALUE })
        @DisplayName("Parameterized type values")
        void typeParameterized(int type) {
            FileEntry mock = mock(FileEntry.class);
            when(mock.getType()).thenReturn(type);
            assertEquals(type, mock.getType());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/MavenArtifactMetadata.java

        public String toString() {
            return getGroupId() + ":" + getArtifactId() + ":" + getVersion() + ":"
                    + (getClassifier() == null ? "" : getClassifier()) + ":"
                    + (getType() == null ? DEFAULT_TYPE : getType());
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java

            assertEquals(8, entries[0].getType()); // TYPE_SHARE
    
            // Verify printer share
            assertEquals("PrinterShare", entries[1].getName());
            assertEquals(32, entries[1].getType()); // TYPE_PRINTER (0x20)
    
            // Verify named pipe
            assertEquals("PipeShare", entries[2].getName());
            assertEquals(16, entries[2].getType()); // TYPE_NAMED_PIPE
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/ReleaseNotesGenerator.java

                            TreeMap::new,
                            // Group changelogs for each type by their team area
                            groupingBy(
                                // `security` and `known-issue` areas don't need to supply an area
                                entry -> entry.getType().equals("known-issue") || entry.getType().equals("security")
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 14:45:41 GMT 2021
    - 4.5K bytes
    - Click Count (0)
  8. src/main/java/jcifs/ntlmssp/av/AvPairs.java

         */
        public static boolean contains(final List<AvPair> pairs, final int type) {
            if (pairs == null) {
                return false;
            }
            for (final AvPair p : pairs) {
                if (p.getType() == type) {
                    return true;
                }
            }
            return false;
        }
    
        /**
         * Gets the first AV pair of the specified type from the list
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java

            rawData[17] = 0x02;
    
            AvSingleHost avSingleHost = new AvSingleHost(rawData);
    
            assertNotNull(avSingleHost);
            assertEquals(AvPair.MsvAvSingleHost, avSingleHost.getType());
            assertArrayEquals(rawData, avSingleHost.getRaw());
        }
    
        /**
         * Test constructor AvSingleHost(Configuration cfg).
         * Should use the machine ID from the configuration.
         */
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  10. src/test/java/jcifs/ntlmssp/av/AvPairTest.java

            int type = AvPair.MsvAvTimestamp;
            byte[] raw = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            AvPair avPair = new AvPair(type, raw);
    
            assertEquals(type, avPair.getType(), "Type should match the constructor argument.");
            assertArrayEquals(raw, avPair.getRaw(), "Raw data should match the constructor argument.");
    
            // Test with another type and empty raw data
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top