Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1031 - 1040 of 1,428 for cast (0.01 sec)

  1. android/guava/src/com/google/common/base/Strings.java

       *
       * @param string the string which should appear at the end of the result
       * @param minLength the minimum length the resulting string must have. Can be zero or negative, in
       *     which case the input string is always returned.
       * @param padChar the character to insert at the beginning of the result until the minimum length
       *     is reached
       * @return the padded string
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt

            } else {
              headerValue = value
            }
          }
          name.equals("Pragma", ignoreCase = true) -> {
            // Might specify additional cache-control params. We invalidate just in case.
            canUseHeaderValue = false
          }
          else -> {
            continue@loop
          }
        }
    
        var pos = 0
        while (pos < value.length) {
          val tokenStart = pos
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/NetbiosNameTest.java

                when(mockNetbiosName.getName()).thenReturn(testName);
                assertEquals(testName, mockNetbiosName.getName());
            }
        }
    
        @Test
        @DisplayName("Should handle case sensitivity")
        void testCaseSensitivity() {
            // Given
            String upperCase = "SERVER";
            String lowerCase = "server";
            String mixedCase = "Server";
    
            // Test different cases
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

    /**
     * Tests for StaticJAASConfiguration.
     *
     * Coverage goals:
     * - Happy path with default and custom options.
     * - Null/empty/ignored name parameter handling.
     * - Null options edge case.
     * - Repeated calls equivalence and instance separation.
     * - Interaction check that passed options are not mutated.
     */
    @ExtendWith(MockitoExtension.class)
    class StaticJAASConfigurationTest {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

        }
    
        public static Artifact copyArtifact(Artifact artifact) {
            VersionRange range = artifact.getVersionRange();
    
            // For some reason with the introduction of MNG-1577 we have the case in Yoko where a depMan section has
            // something like the following:
            //
            // <dependencyManagement>
            //     <dependencies>
            //         <!--  Yoko modules -->
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. cmd/streaming-signature-v4_test.go

    // Test parsing s3 chunk extension.
    func TestParseS3ChunkExtension(t *testing.T) {
    	type testCase struct {
    		buf       []byte
    		chunkSize []byte
    		chunkSign []byte
    	}
    
    	tests := []testCase{
    		// Test - 1 valid case.
    		{
    			[]byte("10000;chunk-signature=ad80c730a21e5b8d04586a2213dd63b9a0e99e0e2307b0ade35a65485a288648"),
    			[]byte("10000"),
    			[]byte("ad80c730a21e5b8d04586a2213dd63b9a0e99e0e2307b0ade35a65485a288648"),
    		},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  7. src/main/assemblies/files/fess.in.sh

    # new generation
    if [ "x$FESS_HEAP_NEWSIZE" != "x" ]; then
        FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Xmn${FESS_HEAP_NEWSIZE}"
    fi
    
    # set to headless, just in case
    FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Djava.awt.headless=true"
    
    # maximum # keep-alive connections to maintain at once
    FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Dhttp.maxConnections=20"
    
    # Force the JVM to use IPv4 stack
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *       AndroidIncompatible}. But I'm not sure what would happen if we annotated the {@code
     *       suite()} method with {@code Suppress}. Would {@code FooTest} itself be suppressed, too?
     *   <li>In at least one case, a use of {@code sun.misc.FpUtils}, the test will not even
     *       <i>compile</i> against Android. Now, this might be an artifact of our build system, one
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 07 15:40:13 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ForwardingMapEntry.java

     * the methods of the delegate. For example, overriding {@link #getValue} alone <i>will not</i>
     * change the behavior of {@link #equals}, which can lead to unexpected behavior. In this case, you
     * should override {@code equals} as well, either providing your own implementation, or delegating
     * to the provided {@code standardEquals} method.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/SmbBasicFileInfoTest.java

            Assertions.assertEquals(1_600_000_000_000L, info.getCreateTime(), "create time should match");
            Assertions.assertEquals(1_700_000_000_000L, info.getLastWriteTime(), "last write should match");
            Assertions.assertEquals(1_650_000_000_000L, info.getLastAccessTime(), "last access should match");
            Assertions.assertEquals(42L, info.getSize(), "size should match");
        }
    
        // --- Parameterized: edge and boundary values across getters ---
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top