Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 338 for Writer (0.46 sec)

  1. istioctl/pkg/injector/injector-list.go

    		return filtered[i].Name < filtered[j].Name
    	})
    	return filtered, nil
    }
    
    func printNS(writer io.Writer, namespaces []corev1.Namespace, hooks []admitv1.MutatingWebhookConfiguration,
    	allPods map[resource.Namespace][]corev1.Pod,
    ) error {
    	outputCount := 0
    
    	w := new(tabwriter.Writer).Init(writer, 0, 8, 1, ' ', 0)
    	for _, namespace := range namespaces {
    		revision := getInjectedRevision(&namespace, hooks)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jan 04 03:08:06 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

        val newMaxFrameSize = 16777215
        val writer = Http2Writer(Buffer(), true)
        writer.applyAndAckSettings(Settings().set(Settings.MAX_FRAME_SIZE, newMaxFrameSize))
        assertThat(writer.maxDataLength()).isEqualTo(newMaxFrameSize)
        writer.frameHeader(0, newMaxFrameSize, Http2.TYPE_DATA, FLAG_NONE)
      }
    
      @Test fun streamIdHasReservedBit() {
        val writer = Http2Writer(Buffer(), true)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/envoy/configdump/configdump.go

    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/istioctl/pkg/util/configdump"
    	sdscompare "istio.io/istio/istioctl/pkg/writer/compare/sds"
    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    // ConfigWriter is a writer for processing responses from the Envoy Admin config_dump endpoint
    type ConfigWriter struct {
    	Stdout     io.Writer
    	configDump *configdump.Wrapper
    }
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Feb 29 20:46:41 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  4. cmd/bitrot.go

    				br.Close()
    			}
    		}
    	}
    }
    
    // Close all the writers.
    func closeBitrotWriters(ws []io.Writer) {
    	for _, w := range ws {
    		if w != nil {
    			if bw, ok := w.(io.Closer); ok {
    				bw.Close()
    			}
    		}
    	}
    }
    
    // Returns hash sum for whole-bitrot, nil for streaming-bitrot.
    func bitrotWriterSum(w io.Writer) []byte {
    	if bw, ok := w.(*wholeBitrotWriter); ok {
    		return bw.Sum(nil)
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  5. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PluginIdExtensions.kt

    ) {
        file.bufferedWriter().use { writer ->
            writer.appendReproducibleNewLine(fileHeader)
            pluginIdExtensionDeclarationsFor(
                gradleJars,
                pluginDependenciesSpecQualifiedName,
                pluginDependencySpecQualifiedName
            ).forEach { extension ->
                writer.write("\n")
                writer.appendReproducibleNewLine(extension)
            }
        }
    }
    
    
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Sun Nov 12 16:16:07 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  6. maven-api-impl/pom.xml

                  <templates>
                    <template>merger.vm</template>
                    <template>transformer.vm</template>
                    <template>reader-stax.vm</template>
                    <template>writer-stax.vm</template>
                  </templates>
                  <params>
                    <param>forcedIOModelVersion=1.2.0</param>
                    <param>packageModelV3=org.apache.maven.settings</param>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 08:48:58 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  7. src/archive/zip/zip_test.go

    	}
    	for i := 0; i < chunks; i++ {
    		_, err := f.Write(chunk)
    		if err != nil {
    			t.Fatal("write chunk:", err)
    		}
    	}
    	if frag := int(size % chunkSize); frag > 0 {
    		_, err := f.Write(chunk[:frag])
    		if err != nil {
    			t.Fatal("write chunk:", err)
    		}
    	}
    	end := []byte("END\n")
    	_, err = f.Write(end)
    	if err != nil {
    		t.Fatal("write end:", err)
    	}
    	if err := w.Close(); err != nil {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/compare/comparator.go

    )
    
    // Comparator diffs between a config dump from Istiod and one from Envoy
    type Comparator struct {
    	envoy, istiod *configdump.Wrapper
    	w             io.Writer
    	context       int
    	location      string
    }
    
    // NewComparator is a comparator constructor
    func NewComparator(w io.Writer, istiodResponses map[string][]byte, envoyResponse []byte) (*Comparator, error) {
    	c := &Comparator{}
    	for _, resp := range istiodResponses {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 3.7K bytes
    - Viewed (1)
  9. cmd/bitrot-streaming.go

    func newStreamingBitrotWriterBuffer(w io.Writer, algo BitrotAlgorithm, shardSize int64) io.Writer {
    	return &streamingBitrotWriter{iow: ioutil.NopCloser(w), h: algo.New(), shardSize: shardSize, canClose: nil, closeWithErr: func(err error) error {
    		// Similar to CloseWithError on pipes we always return nil.
    		return nil
    	}}
    }
    
    // Returns streaming bitrot writer implementation.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  10. istioctl/pkg/tag/tag.go

    }
    
    // listTags lists existing revision.
    func listTags(ctx context.Context, kubeClient kubernetes.Interface, writer io.Writer) error {
    	tagWebhooks, err := GetRevisionWebhooks(ctx, kubeClient)
    	if err != nil {
    		return fmt.Errorf("failed to retrieve revision tags: %v", err)
    	}
    	if len(tagWebhooks) == 0 {
    		fmt.Fprintf(writer, "No Istio revision tag MutatingWebhookConfigurations to list\n")
    		return nil
    	}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
Back to top