Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for writeScope (0.23 sec)

  1. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/serialize/DefaultClassEncoder.kt

                if (scope == null) {
                    writeBoolean(false)
                } else {
                    writeBoolean(true)
                    writeScope(scope.first)
                    writeBoolean(scope.second.local)
                }
            }
        }
    
        private
        fun WriteContext.writeScope(scope: ClassLoaderScopeSpec) {
            val id = scopes.getId(scope)
            if (id != null) {
                writeSmallInt(id)
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. src/compress/flate/dict_decoder_test.go

    			writeString(str[:ref.length])
    		} else {
    			writeCopy(ref.dist, ref.length)
    		}
    		str = str[ref.length:]
    	}
    	want.WriteString(poem)
    
    	writeCopy(dd.histSize(), 33)
    	want.Write(want.Bytes()[:33])
    
    	writeString(abc)
    	writeCopy(len(abc), 59*len(abc))
    	want.WriteString(strings.Repeat(abc, 60))
    
    	writeString(fox)
    	writeCopy(len(fox), 9*len(fox))
    	want.WriteString(strings.Repeat(fox, 10))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 28 10:36:01 UTC 2016
    - 4.4K bytes
    - Viewed (0)
  3. tensorflow/cc/framework/cc_op_gen.cc

        }
        if (api_def->visibility() == ApiDef::HIDDEN) {
          // Write hidden ops to _internal.h and _internal.cc.
          WriteCCOp(graph_op_def, *api_def, aliases, internal_h.get(),
                    internal_cc.get());
          continue;
        }
        // This isn't a hidden op, write it to the main files.
        WriteCCOp(graph_op_def, *api_def, aliases, h.get(), cc.get());
      }
    
      FinishFiles(false, h.get(), cc.get(), op_header_guard);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 17:22:47 UTC 2023
    - 17K bytes
    - Viewed (0)
  4. tensorflow/cc/framework/cc_op_gen.h

    #include "tensorflow/core/framework/op_gen_lib.h"
    #include "tensorflow/core/platform/types.h"
    
    namespace tensorflow {
    namespace cc_op {
    /// Result is written to files dot_h and dot_cc.
    void WriteCCOps(const OpList& ops, const ApiDefMap& api_def_map,
                    const string& dot_h_fname, const string& dot_cc_fname);
    
    }  // namespace cc_op
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 15:31:16 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/x86/seh.go

    	buf.write8(SEH_REG_BP)           // FP register
    
    	// Notes are written in reverse order of appearance.
    	buf.write8(uint8(movbp.Link.Pc))
    	buf.writecode(UWOP_SET_FPREG, 0)
    
    	buf.write8(uint8(pushbp.Link.Pc))
    	buf.writecode(UWOP_PUSH_NONVOL, SEH_REG_BP)
    
    	// The following 4 bytes reference the RVA of the exception handler.
    	// The value is set to 0 for now, if an exception handler is needed,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. tensorflow/cc/framework/cc_op_gen_test.cc

      ASSERT_NE(std::string::npos, before_pos);
      ASSERT_NE(std::string::npos, after_pos);
      EXPECT_LT(before_pos, after_pos)
          << before << " is not before " << after << " in " << s;
    }
    
    // Runs WriteCCOps and stores output in (internal_)cc_file_path and
    // (internal_)h_file_path.
    void GenerateCcOpFiles(Env* env, const OpList& ops,
                           const ApiDefMap& api_def_map, string* h_file_text,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 29 20:04:30 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  7. src/compress/flate/dict_decoder.go

    	dd.hist[dd.wrPos] = c
    	dd.wrPos++
    }
    
    // writeCopy copies a string at a given (dist, length) to the output.
    // This returns the number of bytes copied and may be less than the requested
    // length if the available space in the output buffer is too small.
    //
    // This invariant must be kept: 0 < dist <= histSize()
    func (dd *dictDecoder) writeCopy(dist, length int) int {
    	dstBase := dd.wrPos
    	dstPos := dstBase
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 6K bytes
    - Viewed (0)
  8. src/compress/flate/huffman_bit_writer.go

    	if w.err != nil {
    		return
    	}
    	for _, t := range tokens {
    		if t < matchType {
    			w.writeCode(leCodes[t.literal()])
    			continue
    		}
    		// Write the length
    		length := t.length()
    		lengthCode := lengthCode(length)
    		w.writeCode(leCodes[lengthCode+lengthCodesStart])
    		extraLengthBits := uint(lengthExtraBits[lengthCode])
    		if extraLengthBits > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 22:59:14 UTC 2022
    - 18.4K bytes
    - Viewed (0)
  9. tensorflow/cc/framework/cc_op_gen_main.cc

      OpList ops;
      absl::StatusOr<ApiDefMap> api_def_map =
          LoadOpsAndApiDefs(ops, include_internal, api_def_dirs);
      TF_CHECK_OK(api_def_map.status());
      api_def_map->UpdateDocs();
      WriteCCOps(ops, *api_def_map, dot_h, dot_cc);
    }
    
    }  // namespace
    }  // namespace cc_op
    }  // namespace tensorflow
    
    int main(int argc, char* argv[]) {
      tensorflow::port::InitMain(argv[0], &argc, &argv);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. src/compress/flate/inflate.go

    		goto copyHistory
    	}
    
    copyHistory:
    	// Perform a backwards copy according to RFC section 3.2.3.
    	{
    		cnt := f.dict.tryWriteCopy(f.copyDist, f.copyLen)
    		if cnt == 0 {
    			cnt = f.dict.writeCopy(f.copyDist, f.copyLen)
    		}
    		f.copyLen -= cnt
    
    		if f.dict.availWrite() == 0 || f.copyLen > 0 {
    			f.toRead = f.dict.readFlush()
    			f.step = (*decompressor).huffmanBlock // We need to continue this work
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 23:20:03 UTC 2023
    - 20.4K bytes
    - Viewed (0)
Back to top