Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 814 for complements (0.2 sec)

  1. src/bytes/reader.go

    	}
    	n = copy(b, r.s[off:])
    	if n < len(b) {
    		err = io.EOF
    	}
    	return
    }
    
    // ReadByte implements the [io.ByteReader] interface.
    func (r *Reader) ReadByte() (byte, error) {
    	r.prevRune = -1
    	if r.i >= int64(len(r.s)) {
    		return 0, io.EOF
    	}
    	b := r.s[r.i]
    	r.i++
    	return b, nil
    }
    
    // UnreadByte complements [Reader.ReadByte] in implementing the [io.ByteScanner] interface.
    func (r *Reader) UnreadByte() error {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jul 16 18:17:37 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/GraphConflictResolutionPolicy.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository.metadata;
    
    /**
     *  MetadataGraph edge selection policy. Complements
     *  GraphConflictResolver by being injected into it
     *
     *
     */
    @Deprecated
    public interface GraphConflictResolutionPolicy {
        String ROLE = GraphConflictResolutionPolicy.class.getName();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableRangeSet.java

        }
      }
    
      @Override
      public ImmutableRangeSet<C> complement() {
        ImmutableRangeSet<C> result = complement;
        if (result != null) {
          return result;
        } else if (ranges.isEmpty()) {
          return complement = all();
        } else if (ranges.size() == 1 && ranges.get(0).equals(Range.all())) {
          return complement = of();
        } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

          }
    
          ImmutableRangeSet<Integer> built = builder.build();
          assertEquals(mutable, built);
          assertEquals(ImmutableRangeSet.copyOf(mutable), built);
          assertEquals(mutable.complement(), built.complement());
    
          for (int i = 0; i <= 11; i++) {
            assertEquals(mutable.contains(i), built.contains(i));
          }
    
          SerializableTester.reserializeAndAssert(built);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        // Check the Catcher<Comparable<?>>...
        assertEquals("Two Comparable<?>s should be delivered.", 2, compEvents.size());
        assertEquals("String fixture must be first comparable delivered.", EVENT, compEvents.get(0));
        assertEquals(
            "Comparable fixture must be second comparable delivered.", compEvent, compEvents.get(1));
      }
    
      public void testSubscriberThrowsException() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Sets.java

       * {@link EnumSet#complementOf}. Otherwise, the specified collection must contain at least one
       * element, in order to determine the element type. If the collection could be empty, use {@link
       * #complementOf(Collection, Class)} instead of this method.
       *
       * @param collection the collection whose complement should be stored in the enum set
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

          rangeSet.add(range);
    
          TreeRangeSet<Integer> complement = TreeRangeSet.create();
          complement.add(Range.<Integer>all());
          complement.remove(range);
    
          assertEquals(complement, rangeSet.complement());
          assertThat(rangeSet.complement().asRanges())
              .containsExactlyElementsIn(complement.asRanges())
              .inOrder();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  8. internal/dsync/lock-args_gen.go

    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    func (z *ResponseCode) DecodeMsg(dc *msgp.Reader) (err error) {
    	{
    		var zb0001 uint8
    		zb0001, err = dc.ReadUint8()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = ResponseCode(zb0001)
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. cmd/object-api-interface_gen.go

    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z ExpirationOptions) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 1
    	// string "Expire"
    	o = append(o, 0x81, 0xa6, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65)
    	o = msgp.AppendBool(o, z.Expire)
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/SourceSinkFactories.java

          }
    
          @Override
          public void tearDown() throws IOException {
            factory.tearDown();
          }
        };
      }
    
      private static class StringSourceFactory implements CharSourceFactory {
    
        @Override
        public CharSource createSource(String data) throws IOException {
          return CharSource.wrap(data);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 12.6K bytes
    - Viewed (0)
Back to top