Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1631 - 1640 of 1,910 for result7 (0.05 seconds)

  1. src/test/java/jcifs/smb/HandlerTest.java

            URL url = new URL(null, "smb://server/share", handler);
    
            // Act & Assert
            assertThrows(NullPointerException.class, () -> handler.parseURL(url, null, 0, 0),
                    "Null spec should result in NPE via super.parseURL");
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  2. internal/ioutil/ioutil_test.go

    		b, err := io.ReadAll(r)
    		if err != nil {
    			t.Errorf("Case %d: Unexpected err %v", i, err)
    		}
    		if string(b) != testCase.expected {
    			t.Errorf("Case %d: Got wrong result: %v", i, string(b))
    		}
    	}
    }
    
    func TestSameFile(t *testing.T) {
    	f, err := os.CreateTemp(t.TempDir(), "")
    	if err != nil {
    		t.Errorf("Error creating tmp file: %v", err)
    	}
    	tmpFile := f.Name()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/primitives/IntsTest.java

      }
    
      /**
       * Encodes an integer as a string with given radix, then uses {@link Ints#tryParse(String, int)}
       * to parse the result. Asserts the result is the same as what we started with.
       */
      private static void radixEncodeParseAndAssertEquals(Integer value, int radix) {
        assertWithMessage("Radix: %s", radix)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/job/IndexExportJob.java

            }
        }
    
        /**
         * Executes the export job, writing each matching document as a file.
         *
         * @return a string containing the execution result or error messages
         */
        public String execute() {
            final SearchEngineClient searchEngineClient = ComponentUtil.getSearchEngineClient();
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  5. internal/dsync/drwmutex.go

    				done = true
    			}
    		case <-ctx.Done():
    			// Refreshing is canceled
    			return false, ctx.Err()
    		}
    		if done {
    			break
    		}
    	}
    
    	// We may have some unused results in ch, release them async.
    	go func() {
    		wg.Wait()
    		xioutil.SafeClose(ch)
    		for range ch {
    		}
    	}()
    
    	noQuorum := lockNotFound > len(restClnts)-quorum
    	return noQuorum, nil
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  6. src/bytes/buffer.go

    // The slice aliases the buffer content at least until the next buffer modification,
    // so immediate changes to the slice will affect the result of future reads.
    func (b *Buffer) Bytes() []byte { return b.buf[b.off:] }
    
    // AvailableBuffer returns an empty buffer with b.Available() capacity.
    // This buffer is intended to be appended to and
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Nov 14 19:01:17 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  7. internal/ringbuffer/ring_buffer_test.go

    		if writeErr != ErrWriteOnClosed {
    			t.Errorf("got: %q; want: %q", writeErr, ErrWriteOnClosed)
    		} else {
    			t.Log("ok")
    		}
    	}
    	result := string(buf[0:n])
    	if result != "hello" {
    		t.Errorf("got: %q; want: %q", result, "hello")
    	}
    }
    
    func timeout(after time.Duration) (cancel func()) {
    	c := time.After(after)
    	cc := make(chan struct{})
    	go func() {
    		select {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/relatedcontent/AdminRelatedcontentAction.java

        /**
         * Searches for related content items based on the provided search criteria.
         *
         * @param form the search form containing search criteria
         * @return HTML response with filtered related content results
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse search(final SearchForm form) {
            copyBeanToBean(form, relatedContentPager, op -> op.exclude(Constants.PAGER_CONVERSION_RULE));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  9. docs/zh-hant/docs/tutorial/body.md

    }
    ```
    
    ## 將它宣告為參數 { #declare-it-as-a-parameter }
    
    要把它加到你的*路徑操作(path operation)*中,宣告方式與路徑與查詢參數相同:
    
    {* ../../docs_src/body/tutorial001_py310.py hl[16] *}
    
    ...並將其型別宣告為你建立的模型 `Item`。
    
    ## 效果 { #results }
    
    只靠這樣的 Python 型別宣告,**FastAPI** 會:
    
    - 將請求本文讀取為 JSON。
    - (必要時)轉換為對應的型別。
    - 驗證資料。
        - 若資料無效,會回傳清楚易懂的錯誤,指出哪裡、哪筆資料不正確。
    - 把接收到的資料放在參數 `item` 中提供給你。
        - 由於你在函式中將其宣告為 `Item` 型別,你也會獲得完整的編輯器支援(自動完成等)以及所有屬性與其型別。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 6K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

        return (frequency == null) ? 0 : frequency.get();
      }
    
      // Optional Operations - Modification Operations
    
      /**
       * {@inheritDoc}
       *
       * @throws IllegalArgumentException if the call would result in more than {@link
       *     Integer#MAX_VALUE} occurrences of {@code element} in this multiset.
       */
      @CanIgnoreReturnValue
      @Override
      public int add(@ParametricNullness E element, int occurrences) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 10.2K bytes
    - Click Count (0)
Back to Top