Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 143 for pointer (0.48 sec)

  1. src/cmd/cgo/doc.go

    and it may store non-pointer data, C pointers, or Go pointers to pinned
    memory through those pointers. It may not store a Go pointer to unpinned
    memory in memory pointed to by a C pointer (which again, implies that it
    may not store a string, slice, channel, and so forth). A Go function
    called by C code may take a Go pointer but it must preserve the property
    that the Go memory to which it points (and the Go memory to which that
    memory points, and so on) is pinned.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Dec 11 23:57:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  2. doc/asm.html

    the toolchain, such as a frame pointer.
    The set of pseudo-registers is the same for all architectures:
    </p>
    
    <ul>
    
    <li>
    <code>FP</code>: Frame pointer: arguments and locals.
    </li>
    
    <li>
    <code>PC</code>: Program counter:
    jumps and branches.
    </li>
    
    <li>
    <code>SB</code>: Static base pointer: global symbols.
    </li>
    
    <li>
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Nov 28 19:15:27 UTC 2023
    - 36.3K bytes
    - Viewed (0)
  3. tests/scan_test.go

    	}
    
    	doubleAgeRes := &result{}
    	if err := DB.Table("users").Select("age + age as age").Where("id = ?", user3.ID).Scan(&doubleAgeRes).Error; err != nil {
    		t.Errorf("Scan to pointer of pointer")
    	}
    
    	if doubleAgeRes.Age != int(res.Age)*2 {
    		t.Errorf("Scan double age as age, expect: %v, got %v", res.Age*2, doubleAgeRes.Age)
    	}
    
    	var results []result
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. src/builtin/builtin.go

    // const declaration. It is zero-indexed.
    const iota = 0 // Untyped int.
    
    // nil is a predeclared identifier representing the zero value for a
    // pointer, channel, func, interface, map, or slice type.
    var nil Type // Type must be a pointer, channel, func, interface, map, or slice type
    
    // Type is here for the purposes of documentation only. It is a stand-in
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Dec 30 23:59:23 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java

            when(mockNdrBuffer.dec_ndr_long()).thenReturn(0); // null pointer
    
            shareInfo0.decode(mockNdrBuffer);
    
            assertNull(shareInfo0.netname);
            verify(mockNdrBuffer).align(4);
            verify(mockNdrBuffer).dec_ndr_long();
            // Should not decode string if pointer is null
            verify(mockDeferredBuffer, never()).dec_ndr_string();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

                assertEquals(6, entry.name.maximum_length);
            }
    
            @Test
            @DisplayName("Should decode entry with null buffer pointer")
            void testDecodeNullBufferPointer() throws NdrException {
                // Given: Mocked buffer data with null pointer
                samr.SamrSamEntry entry = new samr.SamrSamEntry();
                when(mockNdrBuffer.dec_ndr_long()).thenReturn(1, 0); // idx, _name_bufferp = 0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/PacLogonInfoTest.java

        }
    
        @Test
        @DisplayName("Test PacUnicodeString check method with null pointer")
        void testPacUnicodeStringCheckWithNullPointer() throws Exception {
            // When pointer is 0, the string should be null
            PacUnicodeString unicodeString = new PacUnicodeString((short) 0, (short) 0, 0);
    
            // check() expects null when pointer is 0 but doesn't accept empty string
            assertThrows(PACDecodingException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. api/go1.19.txt

    pkg go/doc/comment, type Printer struct #51082
    pkg go/doc/comment, type Printer struct, DocLinkBaseURL string #51082
    pkg go/doc/comment, type Printer struct, DocLinkURL func(*DocLink) string #51082
    pkg go/doc/comment, type Printer struct, HeadingID func(*Heading) string #51082
    pkg go/doc/comment, type Printer struct, HeadingLevel int #51082
    pkg go/doc/comment, type Printer struct, TextCodePrefix string #51082
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Dec 02 16:29:41 UTC 2022
    - 17.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java

            NdrBuffer dstOut = new NdrBuffer(encodeBufferOut, 0);
    
            // Simulate info pointer (non-null)
            dstOut.enc_ndr_long(1); // Non-null pointer for info
            info.encode(dstOut); // Encode the info structure
    
            // Simulate totalentries pointer (non-null)
            dstOut.enc_ndr_long(1); // Non-null pointer for totalentries
            totalentries.encode(dstOut); // Encode the totalentries
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Throwables.java

       *
       * @throws IllegalArgumentException if there is a loop in the causal chain
       */
      public static Throwable getRootCause(Throwable throwable) {
        // Keep a second pointer that slowly walks the causal chain. If the fast pointer ever catches
        // the slower pointer, then there's a loop.
        Throwable slowPointer = throwable;
        boolean advanceSlowPointer = false;
    
        Throwable cause;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top