Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 72 for setSlot (0.73 sec)

  1. src/testing/quick/quick.go

    	}
    
    	v := reflect.New(t).Elem()
    	switch concrete := t; concrete.Kind() {
    	case reflect.Bool:
    		v.SetBool(rand.Int()&1 == 0)
    	case reflect.Float32:
    		v.SetFloat(float64(randFloat32(rand)))
    	case reflect.Float64:
    		v.SetFloat(randFloat64(rand))
    	case reflect.Complex64:
    		v.SetComplex(complex(float64(randFloat32(rand)), float64(randFloat32(rand))))
    	case reflect.Complex128:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:47 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  2. src/reflect/example_test.go

    			Tag:  `json:"height"`,
    		},
    		{
    			Name: "Age",
    			Type: reflect.TypeOf(int(0)),
    			Tag:  `json:"age"`,
    		},
    	})
    
    	v := reflect.New(typ).Elem()
    	v.Field(0).SetFloat(0.4)
    	v.Field(1).SetInt(2)
    	s := v.Addr().Interface()
    
    	w := new(bytes.Buffer)
    	if err := json.NewEncoder(w).Encode(s); err != nil {
    		panic(err)
    	}
    
    	fmt.Printf("value: %+v\n", s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 19 20:04:36 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapUrl.java

         * is only used to select between URLs on your site.
         */
        private String priority;
    
        @Override
        public String getLoc() {
            return loc;
        }
    
        public void setLoc(final String loc) {
            this.loc = loc;
        }
    
        @Override
        public String getLastmod() {
            return lastmod;
        }
    
        public void setLastmod(final String lastmod) {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/project/DefaultProjectDependenciesResolver.java

                        result,
                        "Could not collect dependencies for project " + project.getId(),
                        logger.isDebugEnabled() ? e : null);
            }
    
            depRequest.setRoot(node);
    
            if (logger.isWarnEnabled()) {
                for (DependencyNode child : node.getChildren()) {
                    if (!child.getRelocations().isEmpty()) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jun 12 07:49:10 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/add_quantization_unit_loc.cc

              op->getParentOfType<func::FuncOp>().getSymNameAttr().str();
          quantization_unit->set_func_name(func_name);
        }
        QuantizationUnitLoc unit_loc(getContext(), quantization_unit.value());
        op->setLoc(unit_loc);
    
        return success();
      }
    };
    
    void AddQuantizationUnitLocPass::runOnOperation() {
      MLIRContext* ctx = &getContext();
      RewritePatternSet patterns(ctx);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolver.java

            }
            CollectRequest collectRequest = new CollectRequest()
                    .setRootArtifact(rootArtifact != null ? session.toArtifact(rootArtifact) : null)
                    .setRoot(root != null ? session.toDependency(root, false) : null)
                    .setDependencies(session.toDependencies(dependencies, false))
                    .setManagedDependencies(session.toDependencies(managedDependencies, true))
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. src/internal/bytealg/compare_386.s

    	LEAL	-1(SI*2), BX // 1/0 => +1/-1
    	MOVL	BX, (AX)
    	RET
    
    	// all the bytes in common are the same, so we just need
    	// to compare the lengths.
    allsame:
    	XORL	BX, BX
    	XORL	CX, CX
    	TESTL	DX, DX
    	SETLT	BX	// 1 if alen > blen
    	SETEQ	CX	// 1 if alen == blen
    	LEAL	-1(CX)(BX*2), BX	// 1,0,-1 result
    	MOVL	BX, (AX)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 23 21:22:58 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  8. maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

            // notice: extension and classifier not really used in this test...
    
            CollectRequest collectRequest = new CollectRequest();
            collectRequest.setRoot(new Dependency(artifact, null));
            collectRequest.addRepository(newTestRepository());
    
            CollectResult collectResult = system.collectDependencies(session, collectRequest);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Apr 15 17:24:20 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/experimental/tac/transforms/fold_constants_to_subgraph.cc

      assert(
          (llvm::isa<TFL::ConstOp, TFL::QConstOp, arith::ConstantOp>(const_op)) &&
          "Expect QConst or Const op.");
      OpBuilder builder(func.getBody());
      auto cloned_const_op = const_op->clone();
      cloned_const_op->setLoc(func.getBody().getLoc());
      builder.insert(cloned_const_op);
      // Rewire the usage.
      func.getArgument(argument_index)
          .replaceAllUsesWith(cloned_const_op->getResult(0));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. src/runtime/sys_plan9_386.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include "go_asm.h"
    #include "go_tls.h"
    #include "textflag.h"
    
    // setldt(int entry, int address, int limit)
    TEXT runtime·setldt(SB),NOSPLIT,$0
    	RET
    
    TEXT runtime·open(SB),NOSPLIT,$0
    	MOVL    $14, AX
    	INT     $64
    	MOVL	AX, ret+12(FP)
    	RET
    
    TEXT runtime·pread(SB),NOSPLIT,$0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 21 22:12:04 UTC 2021
    - 4.5K bytes
    - Viewed (0)
Back to top