Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for isStatic (0.21 sec)

  1. src/cmd/asm/internal/asm/parse.go

    		return "", obj.ABI0, false
    	}
    	name = p.qualifySymbol(name)
    	// Parse optional <> (indicates a static symbol) or
    	// <ABIxxx> (selecting text symbol with specific ABI).
    	noErrMsg := false
    	isStatic, abi := p.symRefAttrs(name, noErrMsg)
    	if isStatic {
    		return "", obj.ABI0, false // This function rejects static symbols.
    	}
    	tok = p.next()
    	if tok.ScanToken == '+' {
    		if p.next().ScanToken != scanner.Int {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/issue24161e2/main.go

    #if TARGET_OS_IPHONE == 0 && __MAC_OS_X_VERSION_MAX_ALLOWED < 101200
      typedef CFStringRef SecKeyAlgorithm;
      static CFDataRef SecKeyCreateSignature(SecKeyRef key, SecKeyAlgorithm algorithm, CFDataRef dataToSign, CFErrorRef *error){return NULL;}
      #define kSecKeyAlgorithmECDSASignatureDigestX962SHA1 foo()
      static SecKeyAlgorithm foo(void){return NULL;}
    #endif
    */
    import "C"
    import (
    	"fmt"
    	"testing"
    )
    
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 1K bytes
    - Viewed (1)
  3. internal/grid/handlers.go

    //go:generate stringer -type=HandlerID -output=handlers_string.go -trimprefix=Handler msg.go $GOFILE
    
    // HandlerID is a handler identifier.
    // It is used to determine request routing on the server.
    // Handlers can be registered with a static subroute.
    // Do NOT remove or change the order of existing handlers.
    const (
    	// handlerInvalid is reserved to check for uninitialized values.
    	handlerInvalid HandlerID = iota
    	HandlerLockLock
    	HandlerLockRLock
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  4. cmd/admin-router.go

    )
    
    var gzipHandler = func() func(http.Handler) http.HandlerFunc {
    	gz, err := gzhttp.NewWrapper(gzhttp.MinSize(1000), gzhttp.CompressionLevel(gzip.BestSpeed))
    	if err != nil {
    		// Static params, so this is very unlikely.
    		logger.Fatal(err, "Unable to initialize server")
    	}
    	return gz
    }()
    
    // Set of handler options as bit flags
    type hFlag uint8
    
    const (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  5. cmd/bucket-replication.go

    					atomic.AddInt32(opTracker, -1)
    				}
    			default:
    				bugLogIf(p.ctx, fmt.Errorf("unknown replication type: %T", oi), "unknown-replicate-type")
    			}
    		}
    	}
    }
    
    // AddLargeWorkers adds a static number of workers to handle large uploads
    func (p *ReplicationPool) AddLargeWorkers() {
    	for i := 0; i < LargeWorkerCount; i++ {
    		p.lrgworkers = append(p.lrgworkers, make(chan ReplicationWorkerOperation, 100000))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  6. internal/grid/connection.go

    		fmt.Println(c.Local, "->", c.Remote, "Should local connect:", c.shouldConnect(), "side:", c.side)
    	}
    	if debugReqs {
    		fmt.Println("Created connection", c.String())
    	}
    	return c
    }
    
    // Subroute returns a static subroute for the connection.
    func (c *Connection) Subroute(s string) *Subroute {
    	if c == nil {
    		return nil
    	}
    	return &Subroute{
    		Connection: c,
    		route:      s,
    		subID:      makeSubHandlerID(0, s),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  7. cmd/site-replication.go

    				},
    				UpdatedAt: mp.UpdatedAt,
    			})
    			return err == nil
    		})
    		if err != nil {
    			return errSRIAMError(err)
    		}
    	}
    
    	// Service accounts are the static accounts that should be synced with
    	// valid claims.
    	{
    		serviceAccounts := make(map[string]UserIdentity)
    		err := globalIAMSys.store.loadUsers(ctx, svcUser, serviceAccounts)
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  8. src/cmd/cgo/internal/test/issue27340/a.go

    //
    // typedef struct {
    // 	int a;
    // } issue27340Struct, *issue27340Ptr;
    //
    // static void issue27340CFunc(issue27340Ptr p) {}
    //
    // #else /* _GNU_MAJOR_ < 5 */
    //
    // typedef struct {
    // 	int a;
    // } issue27340Struct;
    //
    // static issue27340Struct* issue27340Ptr(issue27340Struct* p) { return p; }
    //
    // static void issue27340CFunc(issue27340Struct *p) {}
    // #endif /* _GNU_MAJOR_ < 5 */
    import "C"
    
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/cgo_thread_lock.go

    // license that can be found in the LICENSE file.
    
    //go:build linux
    
    package cgotest
    
    /*
    #include <unistd.h>
    #include <stdbool.h>
    #include <sys/syscall.h>
    void Gosched(void);
    static bool Ctid(void) {
    	long tid1 = syscall(SYS_gettid);
    	Gosched();
    	return tid1 == syscall(SYS_gettid);
    }
    */
    import "C"
    
    import (
    	"runtime"
    	"testing"
    	"time"
    )
    
    //export Gosched
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu May 18 16:55:07 GMT 2023
    - 939 bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/asm.go

    		// JMP R1
    		*targetAddr = *target
    	case target.Type == obj.TYPE_MEM && (target.Name == obj.NAME_EXTERN || target.Name == obj.NAME_STATIC):
    		// JMP main·morestack(SB)
    		*targetAddr = *target
    	case target.Type == obj.TYPE_INDIR && (target.Name == obj.NAME_EXTERN || target.Name == obj.NAME_STATIC):
    		// JMP *main·morestack(SB)
    		*targetAddr = *target
    		targetAddr.Type = obj.TYPE_INDIR
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
Back to top