Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 991 - 1000 of 3,740 for _shouldn (0.05 seconds)

  1. cmd/erasure-heal_test.go

    		closeBitrotReaders(readers)
    		closeBitrotWriters(staleWriters)
    		if err != nil && !test.shouldFail {
    			t.Errorf("Test %d: should pass but it failed with: %v", i, err)
    		}
    		if err == nil && test.shouldFail {
    			t.Errorf("Test %d: should fail but it passed", i)
    		}
    		if err == nil {
    			// Verify that checksums of staleDisks
    			// match expected values
    			for i := range staleWriters {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  2. internal/event/target/mqtt.go

    	default:
    		return errors.New("unknown protocol in broker address")
    	}
    	if m.QueueDir != "" {
    		if !filepath.IsAbs(m.QueueDir) {
    			return errors.New("queueDir path should be absolute")
    		}
    		if m.QoS == 0 {
    			return errors.New("qos should be set to 1 or 2 if queueDir is set")
    		}
    	}
    
    	return nil
    }
    
    // MQTTTarget - MQTT target.
    type MQTTTarget struct {
    	initOnce once.Init
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Sep 06 23:06:30 GMT 2024
    - 8.2K bytes
    - Click Count (0)
  3. docs/en/docs/how-to/index.md

    # How To - Recipes { #how-to-recipes }
    
    Here you will see different recipes or "how to" guides for **several topics**.
    
    Most of these ideas would be more or less **independent**, and in most cases you should only need to study them if they apply directly to **your project**.
    
    If something seems interesting and useful to your project, go ahead and check it, but otherwise, you might probably just skip them.
    
    /// tip
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 612 bytes
    - Click Count (0)
  4. logger/slog_test.go

    	}
    
    	if !strings.Contains(buf.String(), "gorm/logger/slog_test.go") {
    		t.Error("Missing expected test file reference. 'gorm/logger/slog_test.go' should appear in caller frames.")
    	}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Oct 30 10:56:26 GMT 2025
    - 782 bytes
    - Click Count (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java

     * }
     * </pre>
     *
     */
    public class RegexRule extends AbstractRule {
    
        /** Serial version UID for serialization. */
        private static final long serialVersionUID = 1L;
    
        /** Whether this rule should match all responses by default. */
        protected boolean defaultRule = false;
    
        /** Whether all regular expressions must match (true) or just one (false). */
        protected boolean allRequired = true;
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/pac/PacTest.java

            writeLittleEndianLong(baos, 1000); // offset way out of bounds
            byte[] pacData = baos.toByteArray();
    
            // This currently throws ArrayIndexOutOfBoundsException
            // but should be wrapped in PACDecodingException
            assertThrows(Exception.class, () -> new Pac(pacData, keys));
        }
    
        @Test
        void testZeroBufferCount() throws IOException {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGenerator.java

            this.processedPlugins = new LinkedHashMap<>();
            this.timestamp = (Date) ConfigUtils.getObject(session, new Date(), "maven.startTime");
    
            /*
             * NOTE: This should be considered a quirk to support interop with Maven's legacy ArtifactDeployer which
             * processes one artifact at a time and hence cannot associate the artifacts from the same project to use the
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  8. internal/pubsub/pubsub.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 pubsub
    
    import (
    	"bytes"
    	"encoding/json"
    	"fmt"
    	"sync"
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 06 16:57:30 GMT 2024
    - 5.2K bytes
    - Click Count (0)
  9. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/DistributionTest.kt

    abstract class DistributionTest : Test() {
    
        /**
         * To further categorize tests. (We should simplify this and get rid of the subclasses if possible)
         */
        @get:Internal
        abstract val prefix: String
    
        /**
         * A local Gradle installation (unpacked distribution) to test against if the tests should fork a new Gradle process (non-embedded)
         */
        @Internal
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Aug 18 18:02:41 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

          Iterable<? extends IteratorFeature> features,
          Iterable<E> expectedElements,
          KnownOrder knownOrder,
          int startIndex) {
        // periodically we should manually try (steps * 3 / 2) here; all tests but
        // one should still pass (testVerifyGetsCalled()).
        stimuli = (Stimulus<E, ? super I>[]) new Stimulus<?, ?>[steps];
        if (!elementsToInsertIterable.iterator().hasNext()) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 21.4K bytes
    - Click Count (0)
Back to Top