Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,376 for implements (0.23 sec)

  1. schema/serializer.go

    	Destination     reflect.Value
    	Context         context.Context
    	value           interface{}
    	fieldValue      interface{}
    }
    
    // Scan implements sql.Scanner interface
    func (s *serializer) Scan(value interface{}) error {
    	s.value = value
    	return nil
    }
    
    // Value implements driver.Valuer interface
    func (s serializer) Value() (driver.Value, error) {
    	return s.SerializeValuer.Value(s.Context, s.Field, s.Destination, s.fieldValue)
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Mar 18 08:28:46 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  2. src/bytes/reader.go

    func (r *Reader) Size() int64 { return int64(len(r.s)) }
    
    // Read implements the [io.Reader] interface.
    func (r *Reader) Read(b []byte) (n int, err error) {
    	if r.i >= int64(len(r.s)) {
    		return 0, io.EOF
    	}
    	r.prevRune = -1
    	n = copy(b, r.s[r.i:])
    	r.i += int64(n)
    	return
    }
    
    // ReadAt implements the [io.ReaderAt] interface.
    func (r *Reader) ReadAt(b []byte, off int64) (n int, err error) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  3. internal/bucket/replication/datatypes_gen.go

    import (
    	"github.com/tinylib/msgp/msgp"
    )
    
    // DecodeMsg implements msgp.Decodable
    func (z *StatusType) DecodeMsg(dc *msgp.Reader) (err error) {
    	{
    		var zb0001 string
    		zb0001, err = dc.ReadString()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = StatusType(zb0001)
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z StatusType) EncodeMsg(en *msgp.Writer) (err error) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  4. cmd/tier-journal_gen.go

    package cmd
    
    // Code generated by github.com/tinylib/msgp DO NOT EDIT.
    
    import (
    	"github.com/tinylib/msgp/msgp"
    )
    
    // DecodeMsg implements msgp.Decodable
    func (z *jentry) DecodeMsg(dc *msgp.Reader) (err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, err = dc.ReadMapHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    Go
    - Registered: Sun Feb 25 19:28:16 GMT 2024
    - Last Modified: Thu Jun 03 21:26:51 GMT 2021
    - 6.1K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

                    }
    
                    @Override
                    public Collection<Phase> phases() {
                        // TODO: implement
                        throw new UnsupportedOperationException();
                    }
                };
            }
        }
    
        static class CleanLifecycle implements Lifecycle {
    
            private static final String MAVEN_CLEAN_PLUGIN_VERSION = "3.2.0";
    
            @Override
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  6. internal/bucket/bandwidth/monitor_gen.go

    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z BucketBandwidthReport) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 0
    	_ = z
    	err = en.Append(0x80)
    	if err != nil {
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z BucketBandwidthReport) MarshalMsg(b []byte) (o []byte, err error) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

        }
        assertFalse(errorNotThrown);
      }
    
      private static class ClassWhichDoesNotImplementEquals implements Serializable {
        private static final long serialVersionUID = 1L;
      }
    
      private static class ClassWhichIsAlwaysEqualButHasDifferentHashcodes implements Serializable {
        private static final long serialVersionUID = 2L;
    
        @SuppressWarnings("EqualsHashCode")
        @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 4K 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
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 9.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/TestingWeighers.java

      }
    
      static final class ConstantWeigher implements Weigher<Object, Object> {
        private final int constant;
    
        ConstantWeigher(int constant) {
          this.constant = constant;
        }
    
        @Override
        public int weigh(Object key, Object value) {
          return constant;
        }
      }
    
      static final class IntKeyWeigher implements Weigher<Integer, Object> {
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/AbstractCache.java

     * effort required to implement this interface.
     *
     * <p>To implement a cache, the programmer needs only to extend this class and provide an
     * implementation for the {@link #put} and {@link #getIfPresent} methods. {@link #getAllPresent} is
     * implemented in terms of {@link #getIfPresent}; {@link #putAll} is implemented in terms of {@link
     * #put}, {@link #invalidateAll(Iterable)} is implemented in terms of {@link #invalidate}. The
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 9.1K bytes
    - Viewed (0)
Back to top