Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 394 for pointer (0.43 sec)

  1. internal/once/singleton.go

    package once
    
    // Singleton contains a pointer to T that must be set once.
    // Until the value is set all Get() calls will block.
    type Singleton[T any] struct {
    	v   *T
    	set chan struct{}
    }
    
    // NewSingleton creates a new unset singleton.
    func NewSingleton[T any]() *Singleton[T] {
    	return &Singleton[T]{set: make(chan struct{}), v: nil}
    }
    
    // Get will return the singleton value.
    func (s *Singleton[T]) Get() *T {
    	<-s.set
    	return s.v
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 952 bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/LongAdderTest.java

    import static com.google.common.truth.Truth.assertThat;
    
    import junit.framework.TestCase;
    
    /** Unit tests for {@link LongAdder}. */
    public class LongAdderTest extends TestCase {
    
      /**
       * No-op null-pointer test for {@link LongAdder} to override the {@link PackageSanityTests}
       * version, which checks package-private methods that we don't want to have to annotate as {@code
       * Nullable} because we don't want diffs from jsr166e.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 04:11:29 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  3. interfaces.go

    	QueryContext(ctx context.Context, query string, args ...interface{}) (*sql.Rows, error)
    	QueryRowContext(ctx context.Context, query string, args ...interface{}) *sql.Row
    }
    
    // SavePointerDialectorInterface save pointer interface
    type SavePointerDialectorInterface interface {
    	SavePoint(tx *DB, name string) error
    	RollbackTo(tx *DB, name string) error
    }
    
    // TxBeginner tx beginner
    type TxBeginner interface {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Aug 19 13:33:31 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/LongAdderTest.java

    import static com.google.common.truth.Truth.assertThat;
    
    import junit.framework.TestCase;
    
    /** Unit tests for {@link LongAdder}. */
    public class LongAdderTest extends TestCase {
    
      /**
       * No-op null-pointer test for {@link LongAdder} to override the {@link PackageSanityTests}
       * version, which checks package-private methods that we don't want to have to annotate as {@code
       * Nullable} because we don't want diffs from jsr166e.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 04:11:29 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  5. cmd/os-dirent_namelen_linux.go

    	"fmt"
    	"syscall"
    	"unsafe"
    )
    
    func direntNamlen(dirent *syscall.Dirent) (uint64, error) {
    	const fixedHdr = uint16(unsafe.Offsetof(syscall.Dirent{}.Name))
    	nameBuf := (*[unsafe.Sizeof(dirent.Name)]byte)(unsafe.Pointer(&dirent.Name[0]))
    	const nameBufLen = uint16(len(nameBuf))
    	limit := dirent.Reclen - fixedHdr
    	if limit > nameBufLen {
    		limit = nameBufLen
    	}
    	// Avoid bugs in long file names
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  6. tensorflow/c/eager/gradient_checker.h

     * I.e. if y = <output of the forward model> and w = inputs[input_index],
     * this will calculate dy/dw numerically.
     *
     * `use_function` indicates whether to use graph mode(true) or eager(false).
     *
     * `numerical_grad` is the pointer to the AbstractTensorHandle* which will
     * hold the numerical gradient data at the end of the function.
     */
    absl::Status CalcNumericalGrad(AbstractContext* ctx, Model forward,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. src/main/webapp/css/admin/plugins/daterangepicker/daterangepicker.css

      min-width: 32px;
      width: 32px;
      height: 24px;
      line-height: 24px;
      font-size: 12px;
      border-radius: 4px;
      border: 1px solid transparent;
      white-space: nowrap;
      cursor: pointer;
    }
    
    .daterangepicker .calendar-table {
      border: 1px solid #fff;
      border-radius: 4px;
      background-color: #fff;
    }
    
    .daterangepicker .calendar-table table {
      width: 100%;
      margin: 0;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/DfsReferralData.java

         */
        String getPath ();
    
    
        /**
         * @return the expiration time of this entry
         */
        long getExpiration ();
    
    
        /**
         * 
         * @return pointer to next referral, points to self if there is no further referral
         */
        DfsReferralData next ();
    
    
        /**
         * @return the link
         */
        String getLink ();
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/NameServicePacket.java

    
        int writeResourceRecordWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            if ( this.recordName == this.questionName ) {
                dst[ dstIndex++ ] = (byte) 0xC0; // label string pointer to
                dst[ dstIndex++ ] = (byte) 0x0C; // questionName (offset 12)
            }
            else {
                dstIndex += this.recordName.writeWireFormat(dst, dstIndex);
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

        }
        int writeResourceRecordWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            if( recordName == questionName ) {
                dst[dstIndex++] = (byte)0xC0; // label string pointer to
                dst[dstIndex++] = (byte)0x0C; // questionName (offset 12)
            } else {
                dstIndex += recordName.writeWireFormat( dst, dstIndex );
            }
            writeInt2( recordType, dst, dstIndex );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 12.4K bytes
    - Viewed (0)
Back to top