Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for argptr (0.12 sec)

  1. src/cmd/compile/internal/ssa/sccp.go

    	// 	switch op {
    	// 	case OpAdd16:
    	//		res.val = newConst(argLt1.val.AuxInt16() + argLt2.val.AuxInt16())
    	// 	case OpAdd32:
    	// 		res.val = newConst(argLt1.val.AuxInt32() + argLt2.val.AuxInt32())
    	//	case OpDiv8:
    	//		if !isDivideByZero(argLt2.val.AuxInt8()) {
    	//			res.val = newConst(argLt1.val.AuxInt8() / argLt2.val.AuxInt8())
    	//		}
    	//  ...
    	// 	}
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:54:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/process/internal/JvmOptions.java

            for (Object argument : arguments) {
                String argStr = argument.toString();
    
                if (argStr.equals("-ea") || argStr.equals("-enableassertions")) {
                    assertionsEnabled = true;
                } else if (argStr.equals("-da") || argStr.equals("-disableassertions")) {
                    assertionsEnabled = false;
                } else if (argStr.startsWith(XMS_PREFIX)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:45:59 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  3. src/runtime/tagptr.go

    Ian Lance Taylor <******@****.***> 1681508172 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 20:22:50 UTC 2023
    - 496 bytes
    - Viewed (0)
  4. internal/arn/arn_test.go

    			}
    		})
    	}
    }
    
    func TestParse(t *testing.T) {
    	type args struct {
    		arnStr string
    	}
    	tests := []struct {
    		name    string
    		args    args
    		wantArn ARN
    		wantErr bool
    	}{
    		{
    			name: "valid ARN must succeed",
    			args: args{
    				arnStr: "arn:minio:iam:us-east-1::role/my-role",
    			},
    			wantArn: ARN{
    				Partition:    "minio",
    				Service:      "iam",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 08:31:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/crossVersionTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheCrossVersionTest.groovy

        }
    
        void runPrevious() {
            previousExecuter.withArguments(argFor(previous.version), 'help').run()
        }
    
        void runCurrent() {
            currentExecuter.withArguments(argFor(current.version), 'help').run()
        }
    
        private static String argFor(GradleVersion version) {
            version.baseVersion < GradleVersion.version("6.6")
                ? "--${LONG_OPTION}=on"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. src/math/rand/v2/regress_test.go

    					val = fmt.Sprintf("%#v", out)
    				} else {
    					val = fmt.Sprintf("%T(%v)", out, out)
    				}
    				fmt.Fprintf(&buf, "\t%s, // %s(%s)\n", val, m.Name, argstr)
    			} else if p >= len(regressGolden) {
    				t.Errorf("r.%s(%s) = %v, missing golden value", m.Name, argstr, out)
    			} else {
    				want := regressGolden[p]
    				if m.Name == "Int" {
    					want = int64(int(uint(want.(int64)) << 1 >> 1))
    				}
    				if m.Name == "Uint" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:03:11 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/utils/session_utils.cc

        return nullptr;
      tensorflow::Var* var_ptr = nullptr;
      const auto& container = var_handle_op.getContainer().str();
      auto status = device->resource_manager()->Lookup(
          (container.empty() ? device->resource_manager()->default_container()
                             : container),
          var_handle_op.getSharedName().str(), &var_ptr);
      if (!device || !status.ok()) return nullptr;
      return var_ptr;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. tensorflow/cc/experimental/libtf/tests/variable_test.cc

      tensorflow::AbstractTensorHandlePtr var;
      {
        AbstractTensorHandle* var_ptr = nullptr;
        PartialTensorShape scalar_shape;
        TF_EXPECT_OK(
            PartialTensorShape::MakePartialShape<int32_t>({}, 0, &scalar_shape));
        TF_EXPECT_OK(tensorflow::ops::VarHandleOp(ctx_.get(), &var_ptr, DT_FLOAT,
                                                  scalar_shape));
        var.reset(var_ptr);
      }
      // Assign a value.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 21:44:52 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  9. src/compress/bzip2/bzip2.go

    		bz2.c[b]++
    		bufIndex++
    	}
    
    	if origPtr >= uint(bufIndex) {
    		return StructuralError("origPtr out of bounds")
    	}
    
    	// We have completed the entropy decoding. Now we can perform the
    	// inverse BWT and setup the RLE buffer.
    	bz2.preRLE = bz2.tt[:bufIndex]
    	bz2.preRLEUsed = 0
    	bz2.tPos = inverseBWT(bz2.preRLE, origPtr, bz2.c[:])
    	bz2.lastByte = -1
    	bz2.byteRepeats = 0
    	bz2.repeats = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. test/escape.go

    // different.
    
    var bad = false
    
    var allptr = make([]*int, 0, 100)
    
    func noalias(p, q *int, s string) {
    	n := len(allptr)
    	*p = -(n + 1)
    	*q = -(n + 2)
    	allptr = allptr[0 : n+2]
    	allptr[n] = p
    	allptr[n+1] = q
    	n += 2
    	for i := 0; i < n; i++ {
    		if allptr[i] != nil && *allptr[i] != -(i+1) {
    			println("aliased pointers", -(i + 1), *allptr[i], "after", s)
    			allptr[i] = nil
    			bad = true
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 06 18:34:24 UTC 2023
    - 3.8K bytes
    - Viewed (0)
Back to top