Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 209 for violation (0.07 seconds)

  1. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertThat(matcher.trimFrom(s)).isEqualTo("");
        assertEquals(s.length(), matcher.countIn(s));
      }
    
      // Kotlin subSequence()/replace() always return new strings, violating expectations of this test
      @J2ktIncompatible
      public void testGeneral() {
        doTestGeneral(is('a'), 'a', 'b');
        doTestGeneral(isNot('a'), 'b', 'a');
        doTestGeneral(anyOf("x"), 'x', 'z');
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 32.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/io/ByteStreams.java

       * actually remain in the file, something that it {@linkplain java.io.FileInputStream#skip(long)
       * specifies} it can do in its Javadoc despite the fact that it is violating the contract of
       * {@code InputStream.skip()}.
       */
      private static long skipSafely(InputStream in, long n) throws IOException {
        int available = in.available();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 31.1K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

            assertEquals(25, groovyEngine.evaluate("return x * 5", params));
            assertEquals(10, groovyEngine.evaluate("return x * 2", params));
        }
    
        /**
         * Test that cached scripts maintain binding isolation between evaluations
         */
        @Test
        public void test_evaluate_cacheBindingIsolation() {
            final Map<String, Object> params1 = new HashMap<>();
            params1.put("name", "Alice");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 29.1K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

             * actually the middle of the heap, a smaller childless aunt node can become a child of x
             * when we bubble up alternate levels, violating the invariant.
             */
            int grandparentIndex = getParentIndex(parentIndex);
            int auntIndex = getRightChildIndex(grandparentIndex);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 34K bytes
    - Click Count (0)
  5. LICENSE

      5. A program that contains no derivative of any portion of the
    Library, but is designed to work with the Library by being compiled or
    linked with it, is called a "work that uses the Library".  Such a
    work, in isolation, is not a derivative work of the Library, and
    therefore falls outside the scope of this License.
    
      However, linking a "work that uses the Library" with the Library
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Mon Jan 18 20:25:38 GMT 2016
    - 25.8K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/MapsTest.java

    /**
     * Unit test for {@code Maps}.
     *
     * @author Kevin Bourrillion
     * @author Mike Bostock
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    @SuppressWarnings("JUnitIncompatibleType") // Many intentional violations here.
    public class MapsTest extends TestCase {
    
      private static final Comparator<Integer> SOME_COMPARATOR = Collections.reverseOrder();
    
      public void testHashMap() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 63.2K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

                closeableContext.close();
                closeableContext.close(); // Second call
                closeableContext.close(); // Third call
            });
        }
    
        @Test
        @DisplayName("Should maintain key isolation between instances")
        void testKeyIsolationBetweenInstances() {
            // Given
            byte[] key1 = new byte[16];
            byte[] key2 = new byte[16];
            new SecureRandom().nextBytes(key1);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 44.1K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * under {@code directExecutor}: Not only might the wait for a lock be long, but if the running
       * thread was holding a lock, the listener may deadlock or break lock isolation.
       *
       * <p>This instance is equivalent to:
       *
       * {@snippet :
       * final class DirectExecutor implements Executor {
       *   public void execute(Runnable r) {
       *     r.run();
       *   }
       * }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 45.6K bytes
    - Click Count (0)
  9. .bazelrc

    # TODO: remove those flags when they are flipped in the default Bazel version TF uses.
    common --incompatible_enforce_config_setting_visibility
    # TODO: also enable this flag after fixing the visibility violations
    # common --incompatible_config_setting_private_default_visibility
    
    # TODO: Enable Bzlmod
    common --noenable_bzlmod
    common --enable_workspace
    
    common --incompatible_enable_cc_toolchain_resolution
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Mar 28 04:33:01 GMT 2026
    - 58.9K bytes
    - Click Count (0)
  10. helm-releases/minio-2.0.1.tgz

    v1.6, you must also turn on NetworkPolicy by setting the DefaultDeny namespace annotation. Note: this will enforce policy for _all_ pods in the namespace: ``` kubectl annotate namespace default "net.beta.kubernetes.io/network-policy={\"ingress\":{\"isolation\":\"DefaultDeny\"}}" ``` With NetworkPolicy enabled, traffic will be limited to just port 9000. For more precise policy, set `networkPolicy.allowExternal=true`. This will only allow pods with the generated client label to connect to MinIO. This label...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 31 09:09:09 GMT 2021
    - 13.6K bytes
    - Click Count (0)
Back to Top