Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 747 for setcontext (0.35 sec)

  1. src/runtime/export_debug_arm64_test.go

    		dst.Floats[i] = *(fpRegAddr(src, i))
    	}
    }
    
    // fpRegAddr returns the address of the ith fp-simd register in sigcontext.
    func fpRegAddr(dst *sigcontext, i int) *uint64 {
    	/* FP-SIMD registers are saved in sigcontext.__reserved, which is orgnized in
    	the following C structs:
    	struct fpsimd_context {
    		struct _aarch64_ctx head;
    		__u32 fpsr;
    		__u32 fpcr;
    		__uint128_t vregs[32];
    	};
    	struct _aarch64_ctx {
    		__u32 magic;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Apr 23 05:38:56 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/tac/tflite_import_export.cc

              mlir::StringAttr::get(module.getContext(), device);
          auto float_type = mlir::FloatType::getF32(module.getContext());
          auto float_attr =
              mlir::FloatAttr::get(float_type, static_cast<float>(cost));
          device_costs.push_back({device_identifier, float_attr});
        }
    
        op->setAttr("per_device_costs",
                    mlir::DictionaryAttr::get(module.getContext(), device_costs));
      });
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/SystemDefaultSSLContextFactory.java

    import javax.net.ssl.KeyManagerFactory;
    import javax.net.ssl.SSLContext;
    import javax.net.ssl.TrustManager;
    import javax.net.ssl.TrustManagerFactory;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.security.KeyStore;
    
    /**
     * This class contains SSLContext initialization similar to what SSLContext.getDefault() does.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/maven/MavenMetadataLoader.java

                                throws SAXException {
                            if ("metadata/versioning/snapshot/timestamp".equals(getContext())) {
                                mavenMetadata.timestamp = getText();
                            }
                            if ("metadata/versioning/snapshot/buildNumber".equals(getContext())) {
                                mavenMetadata.buildNumber = getText();
                            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_dialect.cc

      llvm::StringRef keyword;
      if (parser.parseKeyword(&keyword)) return mlir::Type();
    
      if (keyword == "future") return FutureType::get(getContext());
      if (keyword == "promise") return PromiseType::get(getContext());
      if (keyword == "async_handle") return AsyncHandleType::get(getContext());
    
      parser.emitError(parser.getNameLoc(), "unknown type: ") << keyword;
      return mlir::Type();
    }
    
    // Print a type registered to this dialect.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/custom_call.cc

        if (auto stringattr = mlir::dyn_cast_or_null<mlir::StringAttr>(*bc)) {
          tfl_custom.setCustomOptionAttr(
              TFL::ConstBytesAttr::get(rewriter.getContext(), stringattr));
        }
      } else {
        tfl_custom.setCustomOptionAttr(
            TFL::ConstBytesAttr::get(rewriter.getContext(), ""));
      }
    
      rewriter.replaceOp(mhlo_custom_call, tfl_custom);
      return success();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. pkg/registry/core/componentstatus/rest_test.go

    		},
    	}
    	retVal.Name = name
    	return retVal
    }
    
    func TestList_NoError(t *testing.T) {
    	r := NewTestREST(testResponse{result: probe.Success, data: "ok"})
    	got, err := r.List(genericapirequest.NewContext(), nil)
    	if err != nil {
    		t.Fatalf("Unexpected error: %v", err)
    	}
    	expect := &api.ComponentStatusList{
    		Items: []api.ComponentStatus{*(createTestStatus("test1", api.ConditionTrue, "ok", ""))},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 13 08:10:29 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/EnumTest.java

            }
        }
    
    
        @Test
        public void testShareEnum () throws MalformedURLException, CIFSException {
            try ( SmbFile smbFile = new SmbFile("smb://" + getTestServer(), withTestNTLMCredentials(getContext())) ) {
                String[] list = smbFile.list();
                assertNotNull(list);
                assertTrue("No share found", list.length > 0);
                log.debug(Arrays.toString(list));
            }
        }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/curl/CurlTest.java

                trustManagerFactory.init(keyStore);
    
                SSLContext sslContext = SSLContext.getInstance("TLS");
                sslContext.init(null, trustManagerFactory.getTrustManagers(), null);
    
                Curl.get("https://localhost:9200/").sslSocketFactory(sslContext.getSocketFactory()).execute(response -> {
                    final String content = response.getContentAsString();
    Registered: Wed Jun 12 08:29:43 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  10. src/runtime/defs3_linux.go

    type Usigset C.__sigset_t
    
    // types used in sigcontext
    type Ptregs C.struct_pt_regs
    type Gregset C.elf_gregset_t
    type FPregset C.elf_fpregset_t
    type Vreg C.elf_vrreg_t
    
    type StackT C.stack_t
    
    // PPC64 uses sigcontext in place of mcontext in ucontext.
    // see https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/powerpc/include/uapi/asm/ucontext.h
    type Sigcontext C.struct_sigcontext
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.1K bytes
    - Viewed (0)
Back to top