Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Mitake (0.17 sec)

  1. src/cmd/cgo/doc.go

    forth). A Go function called by C code may take C pointers as arguments,
    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
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  2. src/cmd/cgo/ast.go

    func (f *File) saveRef(n *ast.Expr, context astContext) {
    	sel := (*n).(*ast.SelectorExpr)
    	// For now, assume that the only instance of capital C is when
    	// used as the imported package identifier.
    	// The parser should take care of scoping in the future, so
    	// that we will be able to distinguish a "top-level C" from a
    	// local C.
    	if l, ok := sel.X.(*ast.Ident); !ok || l.Name != "C" {
    		return
    	}
    	if context == ctxAssign2 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/callback.go

    	// callback(x) calls goCallback(x)
    	callbackMutex.Lock()
    	callbackToken++
    	i := callbackToken
    	callbackFuncs[i] = f
    	callbackMutex.Unlock()
    
    	// Pass the address of i because the C function was written to
    	// take a pointer.  We could pass an int if we felt like
    	// rewriting the C code.
    	C.callback(unsafe.Pointer(&i))
    
    	callbackMutex.Lock()
    	delete(callbackFuncs, i)
    	callbackMutex.Unlock()
    }
    
    //export goCallback
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
  4. src/bytes/bytes.go

    			// TODO: if large prefixes of sep are matching
    			// we should cutover at even larger average skips,
    			// because Equal becomes that much more expensive.
    			// This code does not take that effect into account.
    			j := bytealg.IndexRabinKarp(s[i:], sep)
    			if j < 0 {
    				return -1
    			}
    			return i + j
    		}
    	}
    	return -1
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  5. src/archive/tar/strconv.go

    	}
    
    	// If seconds is negative, then perform correction.
    	sign := ""
    	if secs < 0 {
    		sign = "-"             // Remember sign
    		secs = -(secs + 1)     // Add a second to secs
    		nsecs = -(nsecs - 1e9) // Take that second away from nsecs
    	}
    	return strings.TrimRight(fmt.Sprintf("%s%d.%09d", sign, secs, nsecs), "0")
    }
    
    // parsePAXRecord parses the input PAX record string into a key-value pair.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  6. src/archive/tar/common.go

    	//
    	// The following are semantically equivalent:
    	//  h.Xattrs[key] = value
    	//  h.PAXRecords["SCHILY.xattr."+key] = value
    	//
    	// When Writer.WriteHeader is called, the contents of Xattrs will take
    	// precedence over those in PAXRecords.
    	//
    	// Deprecated: Use PAXRecords instead.
    	Xattrs map[string]string
    
    	// PAXRecords is a map of PAX extended header records.
    	//
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  7. src/cmd/api/main_test.go

    				ok = false // broke compatibility
    			}
    		case len(required) == 0 || (len(features) > 0 && required[0] > features[0]):
    			newFeature := take(&features)
    			fmt.Fprintf(w, "+%s\n", newFeature)
    			ok = false // feature not in api/next/*
    		default:
    			take(&required)
    			take(&features)
    		}
    	}
    
    	return ok
    }
    
    // aliasReplacer applies type aliases to earlier API files,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  8. misc/ios/go_ios_exec.go

    		return err
    	}
    
    	if err := installDevice(appdir); err != nil {
    		return err
    	}
    
    	if err := mountDevImage(); err != nil {
    		return err
    	}
    
    	// Kill any hanging debug bridges that might take up port 3222.
    	exec.Command("killall", "idevicedebugserverproxy").Run()
    
    	closer, err := startDebugBridge()
    	if err != nil {
    		return err
    	}
    	defer closer()
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
Back to top