Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 328 for printEnv (0.07 sec)

  1. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

            queue.add(link.newBuilder().fragment(null).build());
          }
        }
      }
    
      public static void main(String[] args) throws IOException {
        if (args.length != 2) {
          System.out.println("Usage: Crawler <cache dir> <root>");
          return;
        }
    
        int threadCount = 20;
        long cacheByteCount = 1024L * 1024L * 100L;
    
        Cache cache = new Cache(new File(args[0]), cacheByteCount);
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  2. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 31 15:36:19 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  3. okhttp/src/main/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java

            bufferIndex += 2;
            setupCount = buffer[bufferIndex] & 0xFF;
            bufferIndex += 2;
            if( setupCount != 0 ) {
                if( log.level > 2 )
                    log.println( "setupCount is not zero: " + setupCount );
            }
    
            return bufferIndex - start;
        }
        int readBytesWireFormat( byte[] buffer, int bufferIndex ) {
            pad = pad1 = 0;
            int n;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6K bytes
    - Viewed (0)
  5. native-image-tests/src/main/kotlin/okhttp3/RunTests.kt

      return flatClassnameList
        .mapNotNull {
          try {
            selectClass(Class.forName(it, false, sampleTestClass.classLoader))
          } catch (cnfe: ClassNotFoundException) {
            println("Missing test class: $cnfe")
            null
          }
        }
    }
    
    /**
     * Builds a Junit Test Plan request for a fixed set of classes, or potentially a recursive package.
     */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. misc/linkcheck/linkcheck.go

    	for uf, needers := range neededFrags {
    		if !fragExists[uf] {
    			problems = append(problems, fmt.Sprintf("Missing fragment for %+v from %v", uf, needers))
    		}
    	}
    
    	for _, s := range problems {
    		fmt.Println(s)
    	}
    	if len(problems) > 0 {
    		os.Exit(1)
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 06 15:53:04 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/UniAddress.java

                        tmp[i++] = RESOLVER_LMHOSTS;
                    } else if( s.equalsIgnoreCase( "WINS" )) {
                        if( nbns == null ) {
                            if( log.level > 1 ) {
                                log.println( "UniAddress resolveOrder specifies WINS however the " +
                                        "jcifs.smb1.netbios.wins property has not been set" );
                            }
                            continue;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 16.2K bytes
    - Viewed (0)
  8. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  9. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

          builder.sslSocketFactory(sslSocketFactory, trustManager)
          builder.hostnameVerifier(createInsecureHostnameVerifier())
        }
        if (verbose) {
          val logger = HttpLoggingInterceptor.Logger(::println)
          builder.eventListenerFactory(LoggingEventListener.Factory(logger))
        }
        return builder.build()
      }
    
      fun close() {
        val okHttpClient = client as OkHttpClient
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

                    for (ModelProblem problem : ((ModelBuildingException) cause).getProblems()) {
                        message += problem + "\n";
                    }
                    System.out.println(message);
                    fail(message);
                }
    
                throw e;
            }
        }
    
        protected MavenProject getProject(File pom) throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top