Search Options

Results per page
Sort
Preferred Languages
Advance

Results 881 - 890 of 1,742 for Read (0.06 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. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                credentialsSupplied = true;
            }
    
            try {
                mimeMap = new MimeMap();
                is = getClass().getClassLoader().getResourceAsStream( "jcifs/smb1/http/ne.css" );
                while(( n = is.read( buf )) != -1 ) {
                    sb.append( new String( buf, 0, n, "ISO8859_1" ));
                }
                style = sb.toString();
            } catch( IOException ioe ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 22 03:57:31 UTC 2020
    - 19.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top