Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 1,359 for out2 (0.04 sec)

  1. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsWriter.java

            Objects.requireNonNull(output, "output cannot be null");
            Objects.requireNonNull(toolchains, "toolchains cannot be null");
    
            try (Writer out = output) {
                new MavenToolchainsStaxWriter().write(out, toolchains.getDelegate());
            } catch (XMLStreamException e) {
                throw new IOException("Error writing toolchains", e);
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

            if (value < prefixMask) {
              out.writeByte(bits or value)
              return
            }
    
            // Write the mask to start a multibyte value.
            out.writeByte(bits or prefixMask)
            value -= prefixMask
    
            // Write 7 bits at a time 'til we're done.
            while (value >= 0x80) {
              val b = value and 0x7f
              out.writeByte(b or 0x80)
              value = value ushr 7
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/OsddHelper.java

            }
    
            return new StreamResponse(osddFile.getName()).contentType(contentType + "; charset=" + encoding).stream(out -> {
                try (InputStream ins = new FileInputStream(osddFile)) {
                    out.write(ins);
                }
            });
        }
    
        public void setOsddPath(final String osddPath) {
            this.osddPath = osddPath;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. istioctl/pkg/validate/validate.go

    			return warnings, errs
    		}
    		if len(doc) == 0 {
    			continue
    		}
    		out := map[string]any{}
    		if err := yaml.UnmarshalStrict(doc, &out); err != nil {
    			errs = multierror.Append(errs, multierror.Prefix(err, fmt.Sprintf("failed to decode file %s: ", path)))
    			return warnings, errs
    		}
    		un := unstructured.Unstructured{Object: out}
    		warning, err := v.validateResource(*istioNamespace, defaultNamespace, &un, writer)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 22:27:47 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/SynchronousGet.java

          Headers responseHeaders = response.headers();
          for (int i = 0; i < responseHeaders.size(); i++) {
            System.out.println(responseHeaders.name(i) + ": " + responseHeaders.value(i));
          }
    
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new SynchronousGet().run();
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/ResourcesTest.java

      }
    
      public void testCopyToOutputStream() throws IOException {
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        URL resource = getClass().getResource("testdata/i18n.txt");
        Resources.copy(resource, out);
        assertEquals(I18N, out.toString("UTF-8"));
      }
    
      public void testGetResource_notFound() {
        IllegalArgumentException e =
            assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. istioctl/pkg/kubeinject/kubeinject.go

    					}
    				}()
    			}
    
    			var writer io.Writer
    			if outFilename == "" {
    				writer = c.OutOrStdout()
    			} else {
    				var out *os.File
    				if out, err = os.Create(outFilename); err != nil {
    					return err
    				}
    				writer = out
    				defer func() {
    					if errClose := out.Close(); errClose != nil {
    						log.Errorf("Error: close file from %s, %s", outFilename, errClose)
    
    						// don't overwrite the previous error
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 21K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                            prefixLen--;
                        }
                        while ( prefixLen > 1 && out[ prefixLen - 1 ] != '/' );
                        break;
                    }
                    state = 2;
                case 2:
                    if ( in[ i ] == '/' ) {
                        state = 1;
                    }
                    out[ prefixLen++ ] = in[ i ];
                    break;
                }
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                socket.setSoTimeout( SO_TIMEOUT );
    
                out = socket.getOutputStream();
                in = socket.getInputStream();
    
                SessionServicePacket ssp = new SessionRequestPacket( calledName,
                        NbtAddress.getLocalName() );
                out.write( sbuf, 0, ssp.writeWireFormat( sbuf, 0 ));
                if (readn( in, sbuf, 0, 4 ) < 4) {
                    try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt

       * match "*.com" or similar. This was a nonstandard check that we've since dropped. It is the CA's
       * responsibility to not hand out certificates that match so broadly.
       */
      @Test fun wildcardsDoesNotNeedTwoDots() {
        // openssl req -x509 -nodes -days 36500 -subj '/CN=*.com' -newkey rsa:512 -out cert.pem
        val session =
          session(
            """
            -----BEGIN CERTIFICATE-----
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 40.3K bytes
    - Viewed (0)
Back to top