Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 for getZone (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java

        }
    
        @Test
        @DisplayName("MonotonicClock should always use UTC timezone")
        void testClockTimezone() {
            MonotonicClock clock = MonotonicClock.get();
    
            assertEquals(ZoneOffset.UTC, clock.getZone(), "Clock should use UTC timezone");
    
            // Verify that attempting to change timezone returns the same instance
            Clock newClock = clock.withZone(ZoneId.systemDefault());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 15 06:28:29 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetDoneTest.java

    /** Unit tests for {@link Futures#getDone}. */
    @GwtCompatible
    @NullUnmarked
    public class FuturesGetDoneTest extends TestCase {
      public void testSuccessful() throws ExecutionException {
        assertThat(getDone(immediateFuture("a"))).isEqualTo("a");
      }
    
      public void testSuccessfulNull() throws ExecutionException {
        assertThat(getDone(immediateVoidFuture())).isEqualTo(null);
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 01:35:55 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

    package com.google.common.util.concurrent;
    
    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.util.concurrent.Callables.returning;
    import static com.google.common.util.concurrent.Futures.getDone;
    import static com.google.common.util.concurrent.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.util.concurrent.TestPlatform.verifyThreadWasNotInterrupted;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomNodeIterator.java

            this.parent = parent;
            this.node = (XmlNode) parent.getNode();
            this.children = this.node.children();
            if (startWith != null) {
                Xpp3Dom startWithNode = (Xpp3Dom) startWith.getNode();
                for (; filteredIndex < children.size(); filteredIndex++) {
                    if (startWithNode.equals(children.get(filteredIndex))) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  5. guava/src/com/google/common/hash/Murmur3_128HashFunction.java

          super(CHUNK_SIZE);
          this.h1 = seed;
          this.h2 = seed;
          this.length = 0;
        }
    
        @Override
        protected void process(ByteBuffer bb) {
          long k1 = bb.getLong();
          long k2 = bb.getLong();
          bmix64(k1, k2);
          length += CHUNK_SIZE;
        }
    
        private void bmix64(long k1, long k2) {
          h1 ^= mixK1(k1);
    
          h1 = Long.rotateLeft(h1, 27);
          h1 += h2;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Apr 14 16:36:11 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  6. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/Requirement.java

            this.role = role;
            this.roleHint = null;
        }
    
        public Requirement(String role, String roleHint) {
            this.role = role;
            this.roleHint = roleHint;
        }
    
        public String getRole() {
            return role;
        }
    
        public String getRoleHint() {
            return roleHint;
        }
    
        /**
         * Creates a shallow copy of this requirement.
         */
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RequestTraceHelper.java

                        msg += stepData.getPath().stream()
                                .map(n -> " -> " + n.toString())
                                .collect(Collectors.joining("\n"));
                        msg += "\n => " + stepData.getNode();
                    }
                    return msg;
                } else if (data instanceof ArtifactDescriptorRequest request) {
                    return "artifact descriptor request for " + request.getArtifact();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomAttributeIterator.java

        private Map.Entry<String, String> attribute;
    
        private int position;
    
        Xpp3DomAttributeIterator(NodePointer parent, QName qname) {
            this.parent = parent;
            this.node = (XmlNode) parent.getNode();
    
            this.attributes = this.node.attributes().entrySet().stream()
                    .filter(a -> a.getKey().equals(qname.getName()) || "*".equals(qname.getName()))
                    .collect(Collectors.toList());
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  9. compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java

            assertEquals("3.0.0", mp.getSince());
    
            ComponentRequirement cr = md.getRequirements().get(0);
    
            assertEquals("org.codehaus.plexus.archiver.Archiver", cr.getRole());
            assertEquals("jar", cr.getRoleHint());
            assertEquals("jarArchiver", cr.getFieldName());
    
            ComponentDependency cd = pd.getDependencies().get(0);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 6K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

                        return Optional.ofNullable(res.getDependencyResolutionResult())
                                .map(r -> new DefaultDependencyResolverResult(
                                        null, r.getCollectionErrors(), session.getNode(r.getDependencyGraph()), 0));
                    }
                };
            } catch (ProjectBuildingException e) {
                throw new ProjectBuilderException("Unable to build project", e);
            } finally {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Sep 13 09:44:11 GMT 2025
    - 8.8K bytes
    - Click Count (0)
Back to Top