Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 881 - 890 of 1,071 for nprend (0.17 seconds)

  1. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

                                    localFailures = 0; // Reset on success
                                }
    
                                Thread.sleep(5); // Small delay to spread out requests
                            }
                            successfulThreads.incrementAndGet();
                        } catch (Exception e) {
                            exceptionCount.incrementAndGet();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/advanced/events.md

    要加入一個在應用關閉時執行的函式,使用事件 `"shutdown"` 來宣告:
    
    {* ../../docs_src/events/tutorial002_py310.py hl[6] *}
    
    在這裡,`shutdown` 事件處理器函式會把一行文字 `"Application shutdown"` 寫入檔案 `log.txt`。
    
    /// info
    
    在 `open()` 函式中,`mode="a"` 表示「append(附加)」;也就是說,這行文字會加在檔案現有內容之後,而不會覆寫先前的內容。
    
    ///
    
    /// tip
    
    注意這裡我們使用的是標準 Python 的 `open()` 函式來操作檔案。
    
    這涉及 I/O(輸入/輸出),也就是需要「等待」資料寫入磁碟。
    
    但 `open()` 並不使用 `async` 與 `await`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  3. src/archive/tar/strconv.go

    func toASCII(s string) string {
    	if isASCII(s) {
    		return s
    	}
    	b := make([]byte, 0, len(s))
    	for _, c := range s {
    		if c < 0x80 && c != 0x00 {
    			b = append(b, byte(c))
    		}
    	}
    	return string(b)
    }
    
    type parser struct {
    	err error // Last error seen
    }
    
    type formatter struct {
    	err error // Last error seen
    }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Dec 30 15:28:53 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  4. cmd/xl-storage-disk-id-check.go

    			p.storage.setWriteAttribute(p.totalWrites.Add(1))
    		}
    		done(0, &err)
    	}()
    
    	// Copy inline data to a new buffer to function with deadlines.
    	if len(fi.Data) > 0 {
    		fi.Data = append(grid.GetByteBufferCap(len(fi.Data))[:0], fi.Data...)
    	}
    	return xioutil.WithDeadline[RenameDataResp](ctx, globalDriveConfig.GetMaxTimeout(), func(ctx context.Context) (res RenameDataResp, err error) {
    		if len(fi.Data) > 0 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Apr 25 05:41:04 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  5. cmd/storage-rest-client.go

    }
    
    // DeleteVol - Deletes a volume over the network.
    func (client *storageRESTClient) DeleteVol(ctx context.Context, volume string, forceDelete bool) (err error) {
    	return errInvalidArgument
    }
    
    // AppendFile - append to a file.
    func (client *storageRESTClient) AppendFile(ctx context.Context, volume string, path string, buf []byte) error {
    	values := make(url.Values)
    	values.Set(storageRESTVolume, volume)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 08 02:38:41 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

                    final long cur = fp;
                    if (read() != '\n') {
                        fp = cur;
                    }
                    break;
                default:
                    input.append((char) c);
                    break;
                }
            }
    
            if (c == -1 && input.length() == 0) {
                return null;
            }
    
            return input.toString();
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

                    List<Error> errorsForFile = e.getValue();
    
                    StringBuilder sb = new StringBuilder();
                    for (Error error : errorsForFile) {
                        sb.append("ERROR: " + file.getName() + ":" + error.lineNumber + " " + error.message + "\n    " + error.line + "\n");
                    }
                    String message = sb.toString();
                    getLogger().error(message);
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 12 23:22:57 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            // We will return a composite buffer from the test when building the full packet.
            // To keep this helper simple, return base and let the caller append/pad and inject ctx.
            return base;
        }
    
        /**
         * Build a full SMB2 packet combining header and provided body, optionally injecting context bytes.
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  9. misc/ios/go_ios_exec.go

    	}
    	return nil
    }
    
    func runSimulator(appdir, bundleID string, args []string) error {
    	xcrunArgs := []string{"simctl", "spawn",
    		"booted",
    		appdir + "/gotest",
    	}
    	xcrunArgs = append(xcrunArgs, args...)
    	cmd := exec.Command("xcrun", xcrunArgs...)
    	cmd.Stdout, cmd.Stderr = os.Stdout, os.Stderr
    	err := cmd.Run()
    	if err != nil {
    		return fmt.Errorf("xcrun simctl launch booted %q: %v", bundleID, err)
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Sep 16 00:34:45 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  10. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixTrie.java

          throw new UnsupportedOperationException();
        }
    
        @Override
        public String toString() {
          StringBuilder sb = new StringBuilder(length);
          for (CharSequence chunk : chunks) {
            sb.append(chunk);
          }
          return sb.toString();
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 21:21:59 GMT 2026
    - 9.1K bytes
    - Click Count (0)
Back to Top