Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1221 - 1230 of 2,423 for checks (0.04 seconds)

  1. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

            assertTrue(fessUserBean.hasRole("user"));
            assertTrue(fessUserBean.hasRole("manager"));
            assertFalse(fessUserBean.hasRole("guest"));
    
            // Test with null check
            assertFalse(fessUserBean.hasRole(null));
        }
    
        @Test
        public void test_hasRoles() {
            // Test with no roles
            testUser.setRoleNames(new String[] {});
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

            size,
            getMultiset().size());
      }
    
      /** Call the {@code setCount()} method under test, and check its return value. */
      abstract void setCountCheckReturnValue(E element, int count);
    
      /**
       * Call the {@code setCount()} method under test, but do not check its return value. Callers
       * should use this method over {@link #setCountCheckReturnValue(Object, int)} when they expect
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 13K bytes
    - Click Count (0)
  3. internal/event/target/webhook.go

    		// accepted HTTP status codes.
    		return nil
    	} else if resp.StatusCode == http.StatusForbidden {
    		return fmt.Errorf("%s returned '%s', please check if your auth token is correctly set", target.args.Endpoint, resp.Status)
    	}
    	return fmt.Errorf("%s returned '%s', please check your endpoint configuration", target.args.Endpoint, resp.Status)
    }
    
    // SendFromStore - reads an event from store and sends it to webhook.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Sep 06 23:06:30 GMT 2024
    - 8.8K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

                return 0;
            }
    
            int upgrades = 0;
    
            // Check plugins section
            Element pluginsElement = buildElement.child(PLUGINS).orElse(null);
            if (pluginsElement != null) {
                upgrades += upgradePhaseElementsInPlugins(pluginsElement, phaseUpgrades, context);
            }
    
            // Check pluginManagement section
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  5. cmd/format-erasure_test.go

    		t.Fatal(err)
    	}
    
    	if _, _, err = formatErasureMigrate(rootPath); err == nil {
    		t.Fatal("Expected to fail with unexpected backend format version number")
    	}
    }
    
    // Tests check format xl value.
    func TestCheckFormatErasureValue(t *testing.T) {
    	testCases := []struct {
    		format  *formatErasureV3
    		success bool
    	}{
    		// Invalid Erasure format version "2".
    		{
    			&formatErasureV3{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt

            response.contentType()?.parameter("boundary")
              ?: throw ProtocolException("expected the Content-Type to have a boundary parameter"),
        )
    
        @Throws(IOException::class)
        fun nextPart(): Part? {
          check(!closed) { "closed" }
    
          if (noMoreParts) return null
    
          // Read a boundary, skipping the remainder of the preceding part as necessary.
          if (partCount == 0 && source.rangeEquals(0L, dashDashBoundary)) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  7. internal/crypto/key_test.go

    		i, test := i, test
    		func() {
    			defer recoverTest(i, test.ShouldPass, t)
    			key := GenerateKey(test.ExtKey[:], test.Random)
    			if [32]byte(key) == [32]byte{} {
    				t.Errorf("Test %d: generated key is zero key", i) // check that we generate random and unique key
    			}
    		}()
    	}
    }
    
    var generateIVTests = []struct {
    	Random     io.Reader
    	ShouldPass bool
    }{
    	{Random: nil, ShouldPass: true},              // 0
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jul 12 20:51:54 GMT 2024
    - 6.7K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/groovy/elasticsearch.formatting.gradle

     * in one go without too much disruption.
     *
     * Any new sub-projects must not be added to the exclusions list!
     *
     * To perform a reformat, run:
     *
     *     ./gradlew spotlessApply
     *
     * To check the current format, run:
     *
     *     ./gradlew spotlessJavaCheck
     *
     * This is also carried out by the `precommit` task.
     *
     * For more about Spotless, see:
     *
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 09 18:53:35 GMT 2021
    - 9.1K bytes
    - Click Count (0)
  9. docs/ru/docs/tutorial/request-form-models.md

    {* ../../docs_src/request_form_models/tutorial001_an_py310.py hl[9:11,15] *}
    
    **FastAPI** **извлечёт** данные для **каждого поля** из **данных формы** в запросе и выдаст вам объявленную Pydantic-модель.
    
    ## Проверьте документацию { #check-the-docs }
    
    Вы можете проверить это в интерфейсе документации по адресу `/docs`:
    
    <div class="screenshot">
    <img src="/img/tutorial/request-form-models/image01.png">
    </div>
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/Multiset.java

         * if:
         *
         * {@snippet :
         * Objects.equals(a.getElement(), b.getElement()) && a.getCount() == b.getCount()
         * }
         */
        @Override
        // TODO(kevinb): check this wrt TreeMultiset?
        boolean equals(@Nullable Object o);
    
        /**
         * {@inheritDoc}
         *
         * <p>The hash code of a multiset entry for element {@code element} and count {@code count} is
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 20.9K bytes
    - Click Count (0)
Back to Top