Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 380 for printInt (0.05 sec)

  1. cmd/update-notifier_test.go

    		line1 := fmt.Sprintf("%s %s", plainMsg, color.YellowBold(testCase.expectedSubStr))
    		line2 := fmt.Sprintf("Update: %s", color.CyanBold(testCase.dlURL))
    		// Uncomment below to see message appearance:
    		// fmt.Println(output)
    		switch {
    		case testCase.dlURL == "" && output != "":
    			t.Errorf("Testcase %d: no newer release available but got an update message: %s", i+1, output)
    		case output == "" && testCase.dlURL != "" && testCase.older > 0:
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Jul 31 15:36:19 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                if (prev != null) {
                    int compare = prev.compareTo(c);
                    System.out.println(
                            "   " + prev + ' ' + ((compare == 0) ? "==" : ((compare < 0) ? "<" : ">")) + ' ' + version);
                }
    
                System.out.println(
                        (i++) + ". " + version + " -> " + c.getCanonical() + "; tokens: " + c.items.toListString());
    
                prev = c;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

            }
    
            return result;
        }
    
        @Override
        public int available() throws IOException {
            if (LogStream.level >= 3) {
                SmbFile.log.println("Named Pipe available() does not apply to TRANSACT Named Pipes");
            }
            return 0;
        }
    
        int receive(final byte[] b, int off, final int len) {
            int i;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/ConsoleMavenTransferListenerTest.java

                    for (int i = 0; i < 999; i++) {
                        boolean ok = output.containsKey("Progress (1): test-resource (" + i + "/999 B)");
                        if (!ok) {
                            System.out.println("false : " + i);
                            message.append(i + ",");
                        }
                        test = test & ok;
                    }
                    assertTrue(test, message + "] are missing in " + output);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeContext.java

         */
        public void debug(String message) {
            logger.debug(getCurrentIndent() + message);
        }
    
        /**
         * Prints a new line.
         */
        public void println() {
            logger.info("");
        }
    
        // Semantic logging methods with icons for upgrade operations
    
        /**
         * Logs a successful operation with a checkmark icon.
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

     *
     * ```java
     * String attack = "http://example.com/static/images/../../../../../etc/passwd";
     * System.out.println(new URL(attack).getPath());
     * System.out.println(new URI(attack).getPath());
     * System.out.println(HttpUrl.parse(attack).encodedPath());
     * ```
     *
     * By canonicalizing the input paths, they are complicit in directory traversal attacks. Code that
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java

            bufferIndex += 2;
            setupCount = buffer[bufferIndex] & 0xFF;
            bufferIndex += 2;
            if ((setupCount != 0) && (LogStream.level > 2)) {
                log.println("setupCount is not zero: " + setupCount);
            }
    
            return bufferIndex - start;
        }
    
        @Override
        int readBytesWireFormat(final byte[] buffer, int bufferIndex) {
            pad = pad1 = 0;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java

            assertThat(toDate(""), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_ShortStyle() throws Exception {
            System.out.println(((SimpleDateFormat) DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL)).toPattern());
            final Date date = toDate("10/9/7");
            assertThat(new SimpleDateFormat("yyyy/MM/dd").format(date), is("2010/09/07"));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. cmd/streaming-signature-v4.go

    	// only the last chunk is zero-sized.
    	if len(cr.buffer) == 0 {
    		if cr.debug {
    			fmt.Println("EOF. Reading Trailers:", cr.trailers)
    		}
    		if cr.trailers != nil {
    			err = cr.readTrailers()
    			if cr.debug {
    				fmt.Println("trailers returned:", err, "now:", cr.trailers)
    			}
    			if err != nil {
    				cr.err = err
    				return 0, err
    			}
    		}
    		cr.err = io.EOF
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  10. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

            if (!queue.offer(linkWithoutFragment)) break; // Queue is full.
          }
        }
      }
    
      public static void main(String[] args) throws IOException {
        if (args.length != 2) {
          System.out.println("Usage: Crawler <cache dir> <root>");
          return;
        }
    
        int threadCount = 20;
        int queueLimit = 1000;
        int hostLimit = 25;
        long cacheByteCount = 1024L * 1024L * 100L;
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jul 23 00:58:06 UTC 2025
    - 5K bytes
    - Viewed (0)
Back to top