Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1161 - 1170 of 3,508 for should (0.28 sec)

  1. tests/callbacks_test.go

    			if e, ok := v.(error); !ok || e != nil {
    				err = e
    			}
    		}
    
    		if len(data.err) > 0 && err == nil {
    			t.Errorf("callbacks tests #%v should got error %v, but not", idx+1, data.err)
    		} else if len(data.err) == 0 && err != nil {
    			t.Errorf("callbacks tests #%v should not got error, but got %v", idx+1, err)
    		}
    
    		if ok, msg := assertCallbacks(callbacks.Create(), data.results); !ok {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Mar 26 03:33:36 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. cmd/speedtest.go

    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"fmt"
    	"net/url"
    	"runtime"
    	"sort"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. docs/resiliency/resiliency-verify-failure-script.sh

    ALIAS_NAME=myminio
    BUCKET="test-bucket"
    DEST_DIR="/tmp/dest"
    
    OUT=$(./mc cp --quiet --recursive "${ALIAS_NAME}"/"${BUCKET}"/initial-data/ "${DEST_DIR}"/)
    RET=${?}
    if [ ${RET} -ne 0 ]; then
    	# It is a success scenario as get objects should fail
    	echo "GET objects failed as expected"
    	echo "script passed" >resiliency-verify-failure.log
    	exit 0
    else
    	echo "GET objects expected to fail, but succeeded: ${OUT}"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Dec 21 04:24:45 UTC 2024
    - 509 bytes
    - Viewed (0)
  4. src/bytes/buffer_test.go

    			t.Errorf(testname+" (fill 3): err should always be nil, found err == %s", err)
    		}
    		s += string(fub)
    		check(t, testname+" (fill 4)", buf, s)
    	}
    	return s
    }
    
    func TestNewBuffer(t *testing.T) {
    	buf := NewBuffer(testBytes)
    	check(t, "NewBuffer", buf, testString)
    }
    
    var buf Buffer
    
    // Calling NewBuffer and immediately shallow copying the Buffer struct
    // should not result in any allocations.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 19 16:13:04 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/response-cookies.md

    And also that you are not sending any data that should have been filtered by a `response_model`.
    
    ///
    
    ### More info { #more-info }
    
    /// note | Technical Details
    
    You could also use `from starlette.responses import Response` or `from starlette.responses import JSONResponse`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/query/WildcardQueryCommand.java

         */
        public WildcardQueryCommand() {
            super();
        }
    
        private static final Logger logger = LogManager.getLogger(WildcardQueryCommand.class);
    
        /**
         * Flag indicating whether wildcard terms should be converted to lowercase.
         */
        protected boolean lowercaseWildcard = true;
    
        @Override
        protected String getQueryClassName() {
            return WildcardQuery.class.getSimpleName();
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/script/AbstractScriptEngineTest.java

        public void test_register_nullFactory() {
            ComponentUtil.register(null, "scriptEngineFactory");
    
            try {
                testScriptEngine.register();
                fail("Should throw exception when factory is null");
            } catch (NullPointerException e) {
                // Expected exception
            }
        }
    
        // Test concrete implementation with different name
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/query/parser/QueryParserTest.java

            assertEquals("_default:fess", clauses.get(0).query().toString());
            assertEquals(Occur.SHOULD, clauses.get(0).occur());
            assertEquals(TermQuery.class, clauses.get(1).query().getClass());
            assertEquals("_default:codelibs", clauses.get(1).query().toString());
            assertEquals(Occur.SHOULD, clauses.get(1).occur());
    
            query = queryParser.createDefaultFilterChain().parse("\"fess\" codelibs");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun May 18 04:53:52 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java

    /**
     * A matcher class for applying document boost values based on configurable expressions.
     * This class evaluates match and boost expressions against document data to determine
     * if a document should receive a boost and what boost value to apply. It supports
     * script-based expressions for flexible document scoring.
     *
     */
    public class DocBoostMatcher {
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ForwardingBlockingDeque.java

    import java.util.concurrent.TimeUnit;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link BlockingDeque} which forwards all its method calls to another {@code BlockingDeque}.
     * Subclasses should override one or more methods to modify the behavior of the backing deque as
     * desired per the <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top