Search Options

Results per page
Sort
Preferred Languages
Advance

Results 951 - 960 of 1,194 for container (0.14 sec)

  1. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

        }
      }
    
      /**
       * Returns {@code true} if this queue contains the specified element. More formally, returns
       * {@code true} if and only if this queue contains at least one element {@code e} such that {@code
       * o.equals(e)}.
       *
       * @param o object to be checked for containment in this queue
       * @return {@code true} if this queue contains the specified element
       */
      @CanIgnoreReturnValue
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/ImmutableIntArray.java

      }
    
      /**
       * Returns {@code true} if {@code target} is present at any index in this array. Equivalent to
       * {@code asList().contains(target)}.
       */
      public boolean contains(int target) {
        return indexOf(target) >= 0;
      }
    
      /**
       * Invokes {@code consumer} for each value contained in this array, in order.
       *
       * @since 22.0 (but only since 33.4.0 in the Android flavor)
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  3. build-logic-commons/code-quality-rules/src/main/java/gradlebuild/codenarc/rules/IntegrationTestFixtureVisitor.java

            return isIntegrationTest(node.getDeclaringClass());
        }
    
        @Override
        public void visitMethodCallExpression(MethodCallExpression mce) {
            if (AstUtil.isMethodNamed(mce, "contains")) {
                checkOutputContains(mce);
            } else if (AstUtil.isMethodNamed(mce, "assertOutputContains")) {
                Expression objectExpr = mce.getObjectExpression();
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/html/HtmlEscapersTest.java

        assertEquals("&lt;tab&gt;", htmlEscaper().escape("<tab>"));
    
        // Test simple escape of '&'.
        assertEquals("foo&amp;bar", htmlEscaper().escape("foo&bar"));
    
        // If the string contains no escapes, it should return the arg.
        // Note: assert<b>Same</b> for this implementation.
        String s = "blah blah farhvergnugen";
        assertSame(s, htmlEscaper().escape(s));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/SingletonImmutableSet.java

      SingletonImmutableSet(E element) {
        this.element = Preconditions.checkNotNull(element);
      }
    
      @Override
      public int size() {
        return 1;
      }
    
      @Override
      public boolean contains(@CheckForNull Object target) {
        return element.equals(target);
      }
    
      @Override
      public UnmodifiableIterator<E> iterator() {
        return singletonIterator(element);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. istioctl/cmd/sysexits.go

    	// below here are non-zero exit codes that don't indicate an error with istioctl itself
    	ExitAnalyzerFoundIssues = 79 // istioctl analyze found issues, for CI/CD
    )
    
    func GetExitCode(e error) int {
    	if strings.Contains(e.Error(), "unknown command") {
    		e = util.CommandParseError{Err: e}
    	}
    
    	switch e.(type) {
    	case util.CommandParseError:
    		return ExitIncorrectUsage
    	case analyze.FileParseError:
    		return ExitDataError
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

                c++;
              }
            }
            nextCursor = c;
          }
        }
      }
    
      /**
       * Returns an iterator over the elements contained in this collection, <i>in no particular
       * order</i>.
       *
       * <p>The iterator is <i>fail-fast</i>: If the MinMaxPriorityQueue is modified at any time after
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/response-headers.md

    **FastAPI** will use that *temporal* response to extract the headers (also cookies and status code), and will put them in the final response that contains the value you returned, filtered by any `response_model`.
    
    You can also declare the `Response` parameter in dependencies, and set headers (and cookies) in them.
    
    ## Return a `Response` directly
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/InputStreamThread.java

            final StringBuilder buf = new StringBuilder(100);
            for (final String value : list) {
                buf.append(value).append("\n");
            }
            return buf.toString();
        }
    
        public boolean contains(final String value) {
            for (final String line : list) {
                if (line.trim().equals(value)) {
                    return true;
                }
            }
            return false;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java

      }
    
      public void testColumnMap() {
        assertEquals(ImmutableMap.of(), INSTANCE.columnMap());
      }
    
      public void testContains() {
        assertFalse(INSTANCE.contains('a', 1));
      }
    
      public void testContainsColumn() {
        assertFalse(INSTANCE.containsColumn(1));
      }
    
      public void testContainsRow() {
        assertFalse(INSTANCE.containsRow('a'));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top