Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for getZone (0.04 sec)

  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());
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 15 06:28:29 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/MonotonicClock.java

        }
    
        /**
         * Returns the zone ID of this clock, which is always UTC.
         *
         * @return the UTC zone ID
         */
        @Override
        public ZoneId getZone() {
            return ZoneOffset.UTC;
        }
    
        /**
         * Returns this clock since timezone adjustments are not supported.
         * <p>
         * This implementation maintains UTC time to ensure monotonic behavior.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 15 06:28:29 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetDoneTest.java

    import org.jspecify.annotations.Nullable;
    
    /** 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(Futures.<@Nullable String>immediateFuture(null))).isEqualTo(null);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. 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;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/role/ApiAdminRoleAction.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.api.admin.role;
    
    import static org.codelibs.fess.app.web.admin.role.AdminRoleAction.getRole;
    
    import java.util.List;
    import java.util.stream.Collectors;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.fess.app.pager.RolePager;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/ConfigTest.java

        }
    
        @Test
        @DisplayName("Should get long property with default value")
        void testGetLongWithDefault() {
            assertEquals(1234567890123L, Config.getLong(testProperties, "test.long", 0L));
            assertEquals(987654321L, Config.getLong(testProperties, "nonexistent.long", 987654321L));
        }
    
        @Test
        @DisplayName("Should get InetAddress property with default value")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. android/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;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/RoleService.java

            return roleList;
        }
    
        /**
         * Gets a role by its ID.
         * @param id The ID of the role.
         * @return An optional entity of the role.
         */
        public OptionalEntity<Role> getRole(final String id) {
            return roleBhv.selectByPK(id);
        }
    
        /**
         * Stores a role.
         * @param role The role to store.
         */
        public void store(final Role role) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java

            // The last 8 bytes are read as big-endian (network byte order for the high/low parts)
            ByteBuffer bb2 = ByteBuffer.wrap(bytes, 8, 8).order(java.nio.ByteOrder.BIG_ENDIAN);
            long data4 = bb2.getLong();
    
            // Construct UUID from components - Java UUID expects big-endian representation
            long mostSig = ((long) data1 << 32) | ((long) (data2 & 0xFFFF) << 16) | (data3 & 0xFFFF);
            long leastSig = data4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/SipHashFunction.java

          this.v0 ^= k0;
          this.v1 ^= k1;
          this.v2 ^= k0;
          this.v3 ^= k1;
        }
    
        @Override
        protected void process(ByteBuffer buffer) {
          b += CHUNK_SIZE;
          processM(buffer.getLong());
        }
    
        @Override
        protected void processRemaining(ByteBuffer buffer) {
          b += buffer.remaining();
          for (int i = 0; buffer.hasRemaining(); i += 8) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top