Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 358 for sloc (0.04 sec)

  1. src/sync/poolqueue.go

    		// reading the value to take back ownership of this
    		// slot.
    		head--
    		ptrs2 := d.pack(head, tail)
    		if d.headTail.CompareAndSwap(ptrs, ptrs2) {
    			// We successfully took back slot.
    			slot = &d.vals[head&uint32(len(d.vals)-1)]
    			break
    		}
    	}
    
    	val := *(*any)(unsafe.Pointer(slot))
    	if val == dequeueNil(nil) {
    		val = nil
    	}
    	// Zero the slot. Unlike popTail, this isn't racing with
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 18:12:29 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. src/internal/bytealg/index_ppc64x.go

    // before switching over to Index.
    // n is the number of bytes processed so far.
    // See the bytes.Index implementation for details.
    func Cutover(n int) int {
    	// 1 error per 8 characters, plus a few slop to start.
    	return (n + 16) / 8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 09 05:34:46 UTC 2023
    - 637 bytes
    - Viewed (0)
  3. src/runtime/atomic_pointer.go

    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname atomicwb
    //go:nosplit
    func atomicwb(ptr *unsafe.Pointer, new unsafe.Pointer) {
    	slot := (*uintptr)(unsafe.Pointer(ptr))
    	buf := getg().m.p.ptr().wbBuf.get2()
    	buf[0] = *slot
    	buf[1] = uintptr(new)
    }
    
    // atomicstorep performs *ptr = new atomically and invokes a write barrier.
    //
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testsanitizers/testdata/tsan3.go

    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    // The stubs for the C functions read and write the same slot on the
    // g0 stack when copying arguments in and out.
    
    /*
    #cgo CFLAGS: -fsanitize=thread
    #cgo LDFLAGS: -fsanitize=thread
    
    int Func1() {
    	return 0;
    }
    
    void Func2(int x) {
    	(void)x;
    }
    */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 662 bytes
    - Viewed (0)
  5. src/runtime/stubs_386.go

    func uint32tofloat64(a uint32) float64
    
    // stackcheck checks that SP is in range [g->stack.lo, g->stack.hi).
    func stackcheck()
    
    // Called from assembly only; declared for go vet.
    func setldt(slot uintptr, base unsafe.Pointer, size uintptr)
    func emptyfunc()
    
    //go:noescape
    func asmcgocall_no_g(fn, arg unsafe.Pointer)
    
    // getfp returns the frame pointer register of its caller or 0 if not implemented.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 10:04:13 UTC 2023
    - 708 bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java

                    "aaa");
            assertQueryBuilder(MatchPhraseQueryBuilder.class,
                    "{\"match_phrase\":{\"title\":{\"query\":\"aaa\",\"slop\":0,\"zero_terms_query\":\"NONE\",\"boost\":1.0}}}", //
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/schedule_test.go

    package ssa
    
    import (
    	"cmd/compile/internal/types"
    	"testing"
    )
    
    func TestSchedule(t *testing.T) {
    	c := testConfig(t)
    	cases := []fun{
    		c.Fun("entry",
    			Bloc("entry",
    				Valu("mem0", OpInitMem, types.TypeMem, 0, nil),
    				Valu("ptr", OpConst64, c.config.Types.Int64, 0xABCD, nil),
    				Valu("v", OpConst64, c.config.Types.Int64, 12, nil),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 08 01:46:00 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/api/v1/testdata/prepare_to_library.mlir

    \220\22} : (tensor<1120x?xi32>) -> tensor<2xi32> loc(#loc12)\0A    return %1#1, %1#2, %2, %3 : tensor<1x1120x?xi32>, tensor<1x1120x?xi32>, tensor<1120x?xi32>, tensor<2xi32> loc(#loc9)\0A  } loc(#loc9)\0A} loc(#loc)\0A#loc = loc(unknown)\0A#loc4 = loc(\22Split:\22)\0A#loc5 = loc(\22split\22)\0A#loc6 = loc(\22Reshape_5\22)\0A#loc7 = loc(\22Shape:\22)\0A#loc8 = loc(\22Shape_4\22)\0A#loc10 = loc(fused[#loc4, #loc5])\0A#loc11 = loc(fused[#loc1, #loc6])\0A#loc12 = loc(fused[#loc7, #loc8])\0A", recv_key = "hos...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 31 23:44:50 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/Platform.java

      // Use fewer steps in the ListIteratorTester in ListListIteratorTester because it's slow in prod
      // mode.
      static int listListIteratorTesterNumIterations() {
        // TODO(hhchan): It's 4 in java.  Figure out why even 3 is too slow in prod mode.
        return 2;
      }
    
      // Use fewer steps in the IteratorTester in CollectionIteratorTester because it's slow in prod
      // mode.
      static int collectionIteratorTesterNumIterations() {
        return 3;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Oct 04 15:31:40 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheParallelTaskIntegrationTest.groovy

                    }
                }
    
                subprojects {
                    tasks.create('slow', SlowTask)
                }
                project(':a') {
                    tasks.slow.dependsOn(project(':b').tasks.slow, project(':c').tasks.slow)
                }
            """
    
            expect:
            2.times {
                server.expectConcurrent("b", "c")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top