Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 541 - 550 of 2,914 for math (0.07 seconds)

  1. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

    import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.collect.Sets.newHashSet;
    import static com.google.common.truth.Truth.assertThat;
    import static java.lang.Math.min;
    import static java.util.Arrays.asList;
    import static java.util.Arrays.sort;
    import static java.util.Collections.emptyList;
    
    import com.google.common.annotations.GwtCompatible;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 46.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/Maps.java

    import static com.google.common.collect.CollectPreconditions.checkNonnegative;
    import static com.google.common.collect.NullnessCasts.uncheckedCastNullableTToT;
    import static java.lang.Math.ceil;
    import static java.util.Collections.singletonMap;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/Maps.java

    import static com.google.common.collect.CollectPreconditions.checkNonnegative;
    import static com.google.common.collect.NullnessCasts.uncheckedCastNullableTToT;
    import static java.lang.Math.ceil;
    import static java.util.Collections.singletonMap;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/io/ByteSource.java

    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.io.ByteStreams.skipUpTo;
    import static java.lang.Math.min;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Ascii;
    import com.google.common.base.Optional;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/netbios/NbtAddress.java

                final byte[] addr = localInetAddress.getAddress();
                localHostname =
                        "JCIFS" + (addr[2] & 0xFF) + "_" + (addr[3] & 0xFF) + "_" + Hexdump.toHexString((int) (Math.random() * 0xFF), 2);
            }
    
            /* Create an NbtAddress for the local interface with
             * the name deduced above possibly with scope applied and
             * cache it forever.
             */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            // Then
            assertNotNull(context, "Encryption context should be created");
            assertEquals(1, context.getCipherId(), "Cipher ID should match");
            assertEquals(DialectVersion.SMB311, context.getDialect(), "Dialect should match");
        }
    
        @Test
        @DisplayName("Should return correct cipher ID")
        void testGetCipherId() {
            // When
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 44.1K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/Iterables.java

        return new FluentIterable<T>() {
          @Override
          public Iterator<T> iterator() {
            if (iterable instanceof List) {
              List<T> list = (List<T>) iterable;
              int toSkip = Math.min(list.size(), numberToSkip);
              return list.subList(toSkip, list.size()).iterator();
            }
            Iterator<T> iterator = iterable.iterator();
    
            Iterators.advance(iterator, numberToSkip);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 18:35:28 GMT 2025
    - 43.8K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFile.java

         */
        public String getDfsPath() throws SmbException {
            resolveDfs(null);
            if (dfsReferral == null) {
                return null;
            }
            String path = "smb1:/" + dfsReferral.server + "/" + dfsReferral.share + unc;
            path = path.replace('\\', '/');
            if (isDirectory()) {
                path += '/';
            }
            return path;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 112.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            assertTrue(file.getPath().endsWith("/shared/path/file.txt"), "Path should end correctly");
            assertEquals("shared", file.getShare(), "Share should be extracted correctly");
            assertNotNull(file.getParent(), "Parent should not be null");
            assertTrue(file.getParent().endsWith("/shared/path/"), "Parent path should be correct");
        }
    
        @Test
        void testUNCPath() throws Exception {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 56K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/SmbFile.java

         * @throws SmbException if an error occurs while resolving the DFS path
         */
        public String getDfsPath() throws SmbException {
            try {
                String path = this.treeConnection.ensureDFSResolved(this.fileLocator).getDfsPath();
                if (path != null && isDirectory()) {
                    path += '/';
                }
                return path;
            } catch (final CIFSException e) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
Back to Top