Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 232 for Bowers (0.03 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

            boolean updateScope = false;
            Artifact farthestArtifact = farthest.getArtifact();
            Artifact nearestArtifact = nearest.getArtifact();
    
            /* farthest is runtime and nearest has lower priority, change to runtime */
            if (Artifact.SCOPE_RUNTIME.equals(farthestArtifact.getScope())
                    && (Artifact.SCOPE_TEST.equals(nearestArtifact.getScope())
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/Types.java

          WildcardType wildcard = (WildcardType) componentType;
          Type[] lowerBounds = wildcard.getLowerBounds();
          checkArgument(lowerBounds.length <= 1, "Wildcard cannot have more than one lower bounds.");
          if (lowerBounds.length == 1) {
            return supertypeOf(newArrayType(lowerBounds[0]));
          } else {
            Type[] upperBounds = wildcard.getUpperBounds();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Longs.java

       *
       * <p>Prefer {@link Long#BYTES} instead.
       */
      // The constants value gets inlined here.
      @SuppressWarnings("AndroidJdkLibsChecker")
      public static final int BYTES = Long.BYTES;
    
      /**
       * The largest power of two that can be represented as a {@code long}.
       *
       * @since 10.0
       */
      public static final long MAX_POWER_OF_TWO = 1L << (Long.SIZE - 2);
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.1K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

            } else if (isDigit) {
                buf = stripLeadingZeroes(buf);
                if (buf.length() <= MAX_INTITEM_LENGTH) {
                    // lower than 2^31
                    return new IntItem(buf);
                } else if (buf.length() <= MAX_LONGITEM_LENGTH) {
                    // lower than 2^63
                    return new LongItem(buf);
                }
                return new BigIntegerItem(buf);
            }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            verify(treeConnection).getConnectedShare();
        }
    
        @Test
        @DisplayName("isSameTree: different types and delegated compare")
        void isSameTreeCoversBranches() {
            // Covers non-impl (false) and impl path delegating to connection comparison
            // Not an impl -> false
            assertFalse(handle.isSameTree(mock(SmbTreeHandle.class)));
    
            // Impl case delegates to treeConnection.isSame
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

                assertEquals(600L, SMBUtil.readInt8(buffer, 56));
                assertEquals(4, SMBUtil.readInt4(buffer, 64));
            }
    
            @Test
            @DisplayName("Should handle power of two values")
            void testPowerOfTwoValues() {
                long powerOfTwoOffset = 1L << 32; // 2^32
                long powerOfTwoLength = 1L << 16; // 2^16
                int powerOfTwoFlags = 1 << 8; // 2^8
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

            int uniqueBytes = countUniqueBytes(data);
            double entropy = (double) uniqueBytes / 256.0;
    
            // Estimate compression ratio based on entropy
            // Lower entropy = better compression
            return 0.3 + (entropy * 0.6); // Range from 30% to 90%
        }
    
        @Override
        public int getMinCompressionSize() {
            return MIN_COMPRESSION_SIZE;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/body.md

    To declare a **request** body, you use <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">Pydantic</a> models with all their power and benefits.
    
    /// info
    
    To send data, you should use one of: `POST` (the more common), `PUT`, `DELETE` or `PATCH`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:58:56 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlService.java

        /**
         * Implementation method for merging two XML nodes.
         *
         * @param dominant the dominant (higher priority) XML node
         * @param recessive the recessive (lower priority) XML node
         * @param childMergeOverride optional override for the child merge mode
         * @return the merged XML node, or null if both inputs are null
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

            assertTrue(str.contains(specialRemark));
        }
    
        @Test
        @DisplayName("Test type masking with 0xFFFF")
        void testTypeMasking() {
            // Test that only lower 16 bits are considered for type determination
            int typeWithUpperBits = 0xFFFF0001; // Should be treated as type 1 (printer)
            SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, typeWithUpperBits, TEST_REMARK);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top