Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 261 for segs (0.07 sec)

  1. src/cmd/cgo/internal/testgodefs/testdata/anonunion.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build ignore
    
    package main
    
    // This file tests that when cgo -godefs sees a struct with a field
    // that is an anonymous union, the first field in the union is
    // promoted to become a field of the struct.  See issue 6677 for
    // background.
    
    /*
    typedef struct {
    	union {
    		long l;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 515 bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go

    				t.Fatal(err)
    			}
    			qs := qsComplete(qsc, seps.conc)
    			uniformScenario{name: qCfg.Name,
    				qs: qs,
    				clients: []uniformClient{
    					newUniformClient(1001001001, 1, 25, time.Second, seps.think).pad(seps.finalSeats, seps.pad),
    					newUniformClient(2002002002, 1, 25, time.Second, seps.think).pad(seps.finalSeats, seps.pad),
    				}[:seps.nClients],
    				concurrencyLimit:            seps.conc,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 58.4K bytes
    - Viewed (0)
  3. src/runtime/debug_test.go

    		return x + 1, y + 1.0
    	}
    	var args *stackArgs
    	var regs abi.RegArgs
    	intRegs := regs.Ints[:]
    	floatRegs := regs.Floats[:]
    	fval := float64(42.0)
    	if len(intRegs) > 0 {
    		intRegs[0] = 42
    		floatRegs[0] = math.Float64bits(fval)
    	} else {
    		args = &stackArgs{
    			x0: 42,
    			x1: 42.0,
    		}
    	}
    
    	if _, err := runtime.InjectDebugCall(g, fn, &regs, args, debugCallTKill, false); err != nil {
    		t.Fatal(err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 15:08:04 UTC 2023
    - 8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/op.go

    	scale             uint8     // amd64/386 indexed load scale
    }
    
    type inputInfo struct {
    	idx  int     // index in Args array
    	regs regMask // allowed input registers
    }
    
    type outputInfo struct {
    	idx  int     // index in output tuple
    	regs regMask // allowed output registers
    }
    
    type regInfo struct {
    	// inputs encodes the register restrictions for an instruction's inputs.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

          input_tensor_name = signature_def.inputs['input_vocabs'].name
          input_tensor = sess.graph.get_tensor_by_name(input_tensor_name)
    
          lookup_tensor_name = signature_def.outputs['lookup'].name
          lookup_tensor = sess.graph.get_tensor_by_name(lookup_tensor_name)
    
          lookup_val = sess.run(
              lookup_tensor,
              feed_dict={
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  6. src/runtime/mbarrier.go

    	}
    	memmove(dst, src, size)
    
    	// Move pointers returned in registers to a place where the GC can see them.
    	for i := range regs.Ints {
    		if regs.ReturnIsPtr.Get(i) {
    			regs.Ptrs[i] = unsafe.Pointer(regs.Ints[i])
    		}
    	}
    }
    
    // typedslicecopy should be an internal detail,
    // but widely used packages access it using linkname.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/ZincScalaCompilerOutputNormalizer.groovy

     * */
    class ZincScalaCompilerOutputNormalizer implements OutputNormalizer {
    
        private static final PATTERN = Pattern.compile(
            "(Scala Compiler interface compilation took ([0-9]+ hrs )?([0-9]+ mins )?[0-9.]+ secs\n\n)" +
                "|(\\[Warn] : -target is deprecated: Use -release instead to compile against the correct platform API.\none warning found\n\n)",
            Pattern.MULTILINE
        )
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/m8/ToolingApiLoggingCrossVersionSpec.groovy

                .replaceFirst(/Support for .* was deprecated.*\n/, '')
                .replaceFirst(/ in [ \dms]+/, " in 0ms")
                .replaceFirst("Total time: .+ secs", "Total time: 0 secs")
        }
    
        void shouldNotContainProviderLogging(String output) {
            assert !output.contains("Provider implementation created.")
            assert !output.contains("Tooling API uses target gradle version:")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  9. src/crypto/x509/internal/macos/corefoundation.go

    	b := CFDataToSlice(data)
    	CFRelease(data)
    	return string(b)
    }
    
    // TimeToCFDateRef converts a time.Time into an apple CFDateRef.
    func TimeToCFDateRef(t time.Time) CFRef {
    	secs := t.Sub(time.Date(2001, 1, 1, 0, 0, 0, 0, time.UTC)).Seconds()
    	ref := CFDateCreate(secs)
    	return ref
    }
    
    type CFString CFRef
    
    const kCFAllocatorDefault = 0
    const kCFStringEncodingUTF8 = 0x08000100
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 21 20:05:17 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/sysvshm_unix.go

    		// ignoring error from shmdt as there's nothing sensible to return here
    		shmdt(addr)
    		return nil, err
    	}
    
    	// Use unsafe to convert addr into a []byte.
    	b := unsafe.Slice((*byte)(unsafe.Pointer(addr)), int(info.Segsz))
    	return b, nil
    }
    
    // SysvShmDetach unmaps the shared memory slice returned from SysvShmAttach.
    //
    // It is not safe to use the slice after calling this function.
    func SysvShmDetach(data []byte) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top