Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1071 - 1080 of 2,310 for Contains (0.14 seconds)

  1. src/bytes/reader_test.go

    		if err != nil {
    			t.Errorf("for length %d: got error = %v; want nil", l, err)
    		}
    		if b.String() != s {
    			t.Errorf("got string %q; want %q", b.String(), s)
    		}
    		if r.Len() != 0 {
    			t.Errorf("reader contains %v bytes; want 0", r.Len())
    		}
    	}
    }
    
    func TestReaderLen(t *testing.T) {
    	const data = "hello world"
    	r := NewReader([]byte(data))
    	if got, want := r.Len(), 11; got != want {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Dec 13 18:45:54 GMT 2021
    - 8K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/primitives/Longs.java

       * @param target a primitive {@code long} value
       * @return {@code true} if {@code array[i] == target} for some value of {@code i}
       */
      public static boolean contains(long[] array, long target) {
        for (long value : array) {
          if (value == target) {
            return true;
          }
        }
        return false;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 22 18:14:49 GMT 2025
    - 29K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

         *
         * @param elements the elements to add
         * @return this {@code Builder} object
         * @throws NullPointerException if {@code elements} is null or contains a null element
         */
        @CanIgnoreReturnValue
        @Override
        public Builder<E> add(E... elements) {
          for (E element : elements) {
            add(element);
          }
          return this;
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 35.2K bytes
    - Click Count (0)
  4. guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

          actual = e;
        }
        assertNotNull("verify() should be able to cause test failure", actual);
        assertTrue(
            "AssertionError should have info about why test failed",
            actual.getCause().getMessage().contains(message));
      }
    
      public void testMissingException() {
        List<Integer> emptyList = new ArrayList<>();
    
        IteratorTester<Integer> tester =
            new IteratorTester<Integer>(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/graph/Network.java

      @Nullable E edgeConnectingOrNull(EndpointPair<N> endpoints);
    
      /**
       * Returns true if there is an edge that directly connects {@code nodeU} to {@code nodeV}. This is
       * equivalent to {@code nodes().contains(nodeU) && successors(nodeU).contains(nodeV)}, and to
       * {@code edgeConnectingOrNull(nodeU, nodeV) != null}.
       *
       * <p>In an undirected network, this is equal to {@code hasEdgeConnecting(nodeV, nodeU)}.
       *
       * @since 23.0
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 17.6K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/dcerpc/rpc.java

    import jcifs.smb1.dcerpc.ndr.NdrBuffer;
    import jcifs.smb1.dcerpc.ndr.NdrException;
    import jcifs.smb1.dcerpc.ndr.NdrObject;
    
    /**
     * RPC data structure definitions for DCE/RPC protocol support.
     * This class contains NDR (Network Data Representation) encodable/decodable structures
     * used in DCE/RPC communications.
     */
    public class rpc {
    
        /**
         * Private constructor to prevent instantiation of utility class.
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/BwcVersions.java

                    }
                } else {
                    return ":distribution:bwc:minor";
                }
            } else {
                if (releasedMajorGroupedByMinor.getOrDefault(version.getMinor(), emptyList()).contains(version)) {
                    return ":distribution:bwc:bugfix";
                } else {
                    return ":distribution:bwc:maintenance";
                }
            }
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 16.8K bytes
    - Click Count (0)
  8. internal/s3select/sql/analysis.go

    	errFunctionNotImplemented = errors.New("Function is not yet implemented")
    	errUnexpectedInvalidNode  = errors.New("Unexpected node value")
    	errInvalidKeypath         = errors.New("A provided keypath is invalid")
    )
    
    // qProp contains analysis info about an SQL term.
    type qProp struct {
    	isAggregation, isRowFunc bool
    
    	err error
    }
    
    // `combine` combines a pair of `qProp`s, so that errors are
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  9. cmd/metacache-entries.go

    		for _, o := range m.o {
    			ext := strings.TrimPrefix(o.name, prefix)
    			if len(ext) != len(o.name) {
    				if !strings.Contains(ext, separator) {
    					dst = append(dst, o)
    				}
    			}
    		}
    	} else {
    		// No prefix, simpler
    		for _, o := range m.o {
    			if !strings.Contains(o.name, separator) {
    				dst = append(dst, o)
    			}
    		}
    	}
    	m.o = dst
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 08 15:29:58 GMT 2024
    - 24.1K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/RegularImmutableSortedSet.java

      @Override
      public void forEach(Consumer<? super E> action) {
        elements.forEach(action);
      }
    
      @Override
      public int size() {
        return elements.size();
      }
    
      @Override
      public boolean contains(@Nullable Object o) {
        try {
          return o != null && unsafeBinarySearch(o) >= 0;
        } catch (ClassCastException e) {
          return false;
        }
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 9K bytes
    - Click Count (0)
Back to Top