Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 737 for printnl (0.16 seconds)

  1. samples/guide/src/main/java/okhttp3/recipes/RequestBodyCompression.java

            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new RequestBodyCompression().run();
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 04 17:43:43 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

            file.open(openFlags, access, SmbFile.ATTR_NORMAL, 0);
    
            /*
             * Read AndX Request / Response
             */
    
            if (LogStream.level >= 4) {
                SmbFile.log.println("read: fid=" + file.fid + ",off=" + off + ",len=" + len);
            }
    
            final SmbComReadAndXResponse response = new SmbComReadAndXResponse(b, off);
    
            if (file.type == SmbFile.TYPE_NAMED_PIPE) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  3. internal/s3select/sql/stringfuncs_test.go

    		{`a%__%\`, `a\%\_\__`, '\\', false, nil},
    		{`a%__%\`, `a\%\_\_%`, '\\', true, nil},
    		{`a%__%\`, `a?%?_?_?%\`, '?', true, nil},
    	}
    
    	for i, tc := range evalCases {
    		// fmt.Println("Case:", i)
    		res, err := evalSQLLike(tc.iText, tc.iPat, tc.iEsc)
    		if res != tc.matchExpected || err != tc.errExpected {
    			t.Errorf("Eval Case %d failed: %v %v", i, res, err)
    		}
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 3.1K bytes
    - Click Count (0)
  4. scripts/add_latest_release_date.py

            if date_part:
                print(f"Latest release {version} already has a date: {date_part}")
                sys.exit(0)
    
            today = date.today().isoformat()
            lines[i] = f"## {version} ({today})\n"
            print(f"Added date: {version} ({today})")
    
            with open(RELEASE_NOTES_FILE, "w") as f:
                f.writelines(lines)
            sys.exit(0)
    
        print("No release header found")
        sys.exit(1)
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:06:36 GMT 2026
    - 1023 bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

    import jcifs.smb.NtlmPasswordAuthenticator;
    import jcifs.util.Hexdump;
    
    /**
     * SMB1 Tree Connect AndX request message.
     *
     * This command is used to connect to a shared resource
     * on the server, such as a file share or printer.
     */
    public class SmbComTreeConnectAndX extends AndXServerMessageBlock {
    
        private final boolean disconnectTid = false;
        private final String service;
        private byte[] password;
        private int passwordLength;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  6. docs_src/custom_request_and_route/tutorial003_py310.py

                duration = time.time() - before
                response.headers["X-Response-Time"] = str(duration)
                print(f"route duration: {duration}")
                print(f"route response: {response}")
                print(f"route response headers: {response.headers}")
                return response
    
            return custom_route_handler
    
    
    app = FastAPI()
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 1K bytes
    - Click Count (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t04/ProjectInheritanceTest.java

            assertTrue(set.size() == 3, "Set size should be 3, is " + set.size());
    
            for (Object aSet : set) {
                Artifact artifact = (Artifact) aSet;
                System.out.println("Artifact: " + artifact.getDependencyConflictId() + " " + artifact.getVersion()
                        + " Optional=" + (artifact.isOptional() ? "true" : "false"));
                assertTrue(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  8. 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;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  9. docs/ru/docs/advanced/advanced-python-types.md

    Например, вы можете объявить, что значение может быть `str` или `None`:
    
    ```python
    from typing import Union
    
    
    def say_hi(name: Union[str, None]):
            print(f"Hi {name}!")
    ```
    
    В `typing` также есть сокращение, чтобы объявить, что значение может быть `None`, — `Optional`.
    
    Вот совет с моей очень субъективной точки зрения:
    
    - 🚨 Избегайте использования `Optional[SomeType]`
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 19:57:34 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  10. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateFixedIssuesInReleaseNotes.kt

                content.substring(0, introStart) + newSection + "\n" + content.substring(listEnd)
            } else {
                newSection + "\n" + content
            }
    
            notesFile.writeText(newContent)
            println("Fixed issues section updated in $notesFile")
        }
    
        private
        fun findEndOfListSection(content: String, startAfterIntro: Int): Int {
            val lines = content.substring(startAfterIntro).lines()
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 14:49:33 GMT 2026
    - 5.1K bytes
    - Click Count (0)
Back to Top