Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1451 - 1460 of 5,478 for newE (0.03 seconds)

  1. src/main/java/jcifs/pac/kerberos/KerberosToken.java

            if (token.length <= 0) {
                throw new PACDecodingException("Empty kerberos token");
            }
    
            byte[] content;
            try (ASN1InputStream stream = new ASN1InputStream(token)) {
                content = ASN1Util.readUnparsedTagged(0, 0x8000, stream);
            } catch (IOException e) {
                throw new PACDecodingException("Malformed kerberos token", e);
            }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/util/SMBUtilTest.java

            byte[] buffer = new byte[4];
            SMBUtil.writeInt2(input, buffer, 0);
            int result = SMBUtil.readInt2(buffer, 0);
            assertEquals(expected & 0xFFFF, result);
        }
    
        @ParameterizedTest
        @ValueSource(longs = { 0L, 1L, 0xFFFFFFFFL, 0x12345678L, 0x80000000L })
        void testWriteReadInt4RoundTrip(long input) {
            byte[] buffer = new byte[8];
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/EmptyIteratorTest.java

            final int threadCount = 10;
            final Thread[] threads = new Thread[threadCount];
            final boolean[] results = new boolean[threadCount];
    
            try (EmptyIterator sharedIterator = new EmptyIterator()) {
                // When
                for (int i = 0; i < threadCount; i++) {
                    final int index = i;
                    threads[i] = new Thread(() -> {
                        // Each thread performs multiple operations
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12K bytes
    - Click Count (0)
  4. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

      private static Test testsForHashMapNullKeysForbidden() {
        return wrappedHashMapTests(
            new WrappedHashMapGenerator() {
              @Override
              Map<String, String> wrap(HashMap<String, String> map) {
                if (map.containsKey(null)) {
                  throw new NullPointerException();
                }
                return new AbstractMap<String, String>() {
                  @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu May 22 16:18:11 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java

            String lastUpdated;
    
            if (metadata.getVersioning() == null) {
                DateFormat utcDateFormatter = new SimpleDateFormat(DEFAULT_SNAPSHOT_TIMESTAMP_FORMAT);
                utcDateFormatter.setCalendar(new GregorianCalendar());
                utcDateFormatter.setTimeZone(DEFAULT_SNAPSHOT_TIME_ZONE);
    
                snapshot = new Snapshot();
                snapshot.setBuildNumber(buildNumber != null ? buildNumber : getBuildNumber(recessive) + 1);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

        public static final File USER_MAVEN_CONFIGURATION_HOME = new File(USER_HOME, ".m2");
    
        public static final File DEFAULT_USER_SETTINGS_FILE = new File(USER_MAVEN_CONFIGURATION_HOME, "settings.xml");
    
        public static final File DEFAULT_PROJECT_SETTINGS_FILE = new File(".mvn", "settings.xml");
    
        public static final File DEFAULT_INSTALLATION_SETTINGS_FILE =
                new File(System.getProperty("maven.conf"), "settings.xml");
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 19 18:49:57 GMT 2025
    - 12K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingHelper.java

                }
    
                return new ProjectRealmCache.CacheRecord(null, null);
            }
    
            List<ClassRealm> extensionRealms = new ArrayList<>();
    
            Map<ClassRealm, List<String>> exportedPackages = new HashMap<>();
    
            Map<ClassRealm, List<String>> exportedArtifacts = new HashMap<>();
    
            List<Artifact> publicArtifacts = new ArrayList<>();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/util/HMACT64.java

        private static final byte IPAD = (byte) 0x36;
    
        private static final byte OPAD = (byte) 0x5c;
    
        private MessageDigest md5;
    
        private byte[] ipad = new byte[BLOCK_LENGTH];
    
        private byte[] opad = new byte[BLOCK_LENGTH];
    
        /**
         * Creates an HMACT64 instance which uses the given secret key material.
         *
         * @param key The key material to use in hashing.
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/rdma/RdmaProviderFactory.java

            case "disni":
                RdmaProvider disniProvider = new DisniRdmaProvider();
                if (disniProvider.isAvailable()) {
                    return disniProvider;
                }
                log.warn("DiSNI RDMA provider requested but not available");
                break;
    
            case "tcp":
                return new TcpRdmaProvider();
    
            default:
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenMetadata.java

            if (!Files.exists(metadataPath)) {
                return new Metadata();
            }
    
            try (InputStream input = Files.newInputStream(metadataPath)) {
                return new Metadata(new MetadataStaxReader().read(input, false));
            } catch (IOException | XMLStreamException e) {
                throw new RepositoryException("Could not parse metadata " + metadataPath + ": " + e.getMessage(), e);
            }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.2K bytes
    - Click Count (0)
Back to Top