Search Options

Results per page
Sort
Preferred Languages
Advance

Results 881 - 890 of 1,349 for Pread (0.03 sec)

  1. okhttp/src/test/java/okhttp3/CacheCorruptionTest.kt

        val metadataFile =
          fileSystem.allPaths.find {
            it.name.endsWith(".0")
          }
    
        if (metadataFile != null) {
          val contents =
            fileSystem.read(metadataFile) {
              readUtf8()
            }
    
          fileSystem.write(metadataFile) {
            writeUtf8(corruptor(contents))
          }
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/schema-extra-example.md

    You can read more at the end of this page.
    
    ///
    
    ## `Field` additional arguments
    
    When using `Field()` with Pydantic models, you can also declare additional `examples`:
    
    //// tab | Python 3.10+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. internal/logger/logger.go

    			// Ignore trace logs beyond the following conditions
    			for _, name := range matchingFuncNames {
    				if funcName == name {
    					return trace
    				}
    			}
    		}
    		traceLevel++
    		// Read stack trace information from PC
    		pc, file, lineNumber, ok = runtime.Caller(traceLevel)
    	}
    	return trace
    }
    
    // HashString - return the highway hash of the passed string
    func HashString(input string) string {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 09:43:48 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. cni/pkg/install/cniconfig.go

    	if err != nil {
    		return "", err
    	}
    	marshalledJSON = append(marshalledJSON, "\n"...)
    
    	return writeCNIConfig(ctx, marshalledJSON, cfg)
    }
    
    // writeCNIConfig will
    // 1. read in the existing CNI config file
    // 2. append the `istio`-specific entry
    // 3. write the combined result back out to the same path, overwriting the original.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. test-site/activator.bat

        echo.
        echo Options:
        echo -jvm-debug [port]  Turn on JVM debugging, open at the given port.  Defaults to 9999 if no port given.
        echo.
        echo Environment variables ^(read from context^):
        echo JAVA_OPTS          Environment variable, if unset uses ""
        echo SBT_OPTS           Environment variable, if unset uses ""
        echo ACTIVATOR_OPTS     Environment variable, if unset uses ""
        echo.
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 7.2K bytes
    - Viewed (0)
  6. cmd/object_api_suite_test.go

    	return &testOneByteReadNoEOF{false, data}
    }
    
    // testOneByteReadNoEOF - implements io.Reader which returns 1 byte and nil error, but
    // returns io.EOF on the next Read().
    type testOneByteReadNoEOF struct {
    	eof  bool
    	data []byte
    }
    
    func (r *testOneByteReadNoEOF) Read(p []byte) (n int, err error) {
    	if r.eof {
    		return 0, io.EOF
    	}
    	n = copy(p, r.data)
    	r.eof = true
    	return n, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  7. samples/guide/src/main/java/okhttp3/recipes/CustomTrust.java

          +  "-----END CERTIFICATE-----");
    
      private final OkHttpClient client;
    
      public CustomTrust() {
        // This implementation just embeds the PEM files in Java strings; most applications will
        // instead read this from a resource file that gets bundled with the application.
    
        HandshakeCertificates certificates = new HandshakeCertificates.Builder()
            .addTrustedCertificate(letsEncryptCertificateAuthority)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 9.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

            if (StringUtil.isNotBlank(value)) {
                try {
                    readInterval = Long.parseLong(value);
                } catch (final NumberFormatException e) {
                    logger.warn("Invalid read interval: {}", value);
                }
            }
            return readInterval;
        }
    
        protected void sleep(final long interval) {
            ThreadUtil.sleepQuietly(interval);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

                    param.setSourceRegion(new Rectangle(width, height > width ? width : height));
                    final BufferedImage image = reader.read(0, param);
                    final int thumbnailWidth = fessConfig.getThumbnailHtmlImageThumbnailWidthAsInteger();
                    final int thumbnailHeight = (int) ((height > width ? width : height)
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. istioctl/pkg/validate/validate.go

    ) (validation.Warning, error) {
    	yamlReader := kubeyaml.NewYAMLReader(bufio.NewReader(reader))
    	var errs error
    	var warnings validation.Warning
    	for {
    		doc, err := yamlReader.Read()
    		if err == io.EOF {
    			return warnings, errs
    		}
    		if err != nil {
    			errs = multierror.Append(errs, multierror.Prefix(err, fmt.Sprintf("failed to decode file %s: ", path)))
    			return warnings, errs
    		}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 22:27:47 UTC 2024
    - 14.3K bytes
    - Viewed (0)
Back to top