Search Options

Results per page
Sort
Preferred Languages
Advance

Results 841 - 850 of 1,649 for writeLn (0.1 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/PostPath.kt

    import okio.fakefilesystem.FakeFileSystem
    
    class PostPath {
      private val client = OkHttpClient()
      private val fileSystem = FakeFileSystem()
      val path = "test.json".toPath()
    
      fun run() {
        fileSystem.write(path) {
          writeUtf8("{}")
        }
    
        val request =
          Request.Builder()
            .url("https://httpbin.org/anything")
            .put(path.asRequestBody(fileSystem, MEDIA_TYPE_JSON))
            .build()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComQueryInformation.java

     * Lesser General Public License for more details.
     * 
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    class SmbComQueryInformation extends ServerMessageBlock {
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/CredentialsInternal.java

     * Lesser General Public License for more details.
     * 
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb;
    
    
    import javax.security.auth.Subject;
    
    import jcifs.CIFSContext;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/msrpc/MsrpcLsarOpenPolicy2.java

     * Lesser General Public License for more details.
     * 
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.dcerpc.msrpc;
    
    
    @SuppressWarnings ( "javadoc" )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComBlankResponse.java

     * Lesser General Public License for more details.
     * 
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.internal.smb1.com;
    
    
    import jcifs.Configuration;
    import jcifs.internal.smb1.ServerMessageBlock;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/CompactHashing.java

       */
      static void tableSet(Object table, int index, int entry) {
        if (table instanceof byte[]) {
          ((byte[]) table)[index] = (byte) entry; // unsigned write
        } else if (table instanceof short[]) {
          ((short[]) table)[index] = (short) entry; // unsigned write
        } else {
          ((int[]) table)[index] = entry;
        }
      }
    
      /**
       * Returns a larger power of 2 hashtable size given the current mask.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. istioctl/pkg/validate/validate_test.go

    		},
    	}
    
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("[%v] %v ", i, c.name), func(tt *testing.T) {
    			defer func() { recover() }()
    			v := &validator{}
    			var writer io.Writer
    			warn, err := v.validateResource("istio-system", "", fromYAML(c.in), writer)
    			if (err == nil) != c.valid {
    				tt.Fatalf("unexpected validation result: got %v want %v: err=%v", err == nil, c.valid, err)
    			}
    			if (warn != nil) != c.warn {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 02 16:18:14 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  8. internal/config/storageclass/storage-class.go

    	// that is considered for inlining, remember this
    	// shard value is the value per drive shard it
    	// will vary based on the parity that is configured
    	// for the STANDARD storage_class.
    	// inlining means data and metadata are written
    	// together in a single file i.e xl.meta
    	InlineBlockEnv = "MINIO_STORAGE_CLASS_INLINE_BLOCK"
    
    	// Supported storage class scheme is EC
    	schemePrefix = "EC"
    
    	// Min parity drives
    	minParityDrives = 0
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/api/BaseApiManager.java

            }
            if (FormatType.SUGGEST.name().equals(type)) {
                return FormatType.SUGGEST;
            }
    
            // default
            return FormatType.OTHER;
        }
    
        protected void write(final String text, final String contentType, final String encoding) {
            final StringBuilder buf = new StringBuilder(50);
            if (contentType == null) {
                buf.append("text/plain");
            } else {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/CacheRefreshTest.java

        assertEquals(Integer.valueOf(2), cache.getUnchecked(2));
        assertEquals(expectedLoads, loader.getLoadCount());
        assertEquals(expectedReloads, loader.getReloadCount());
    
        // write to 1 to delay its refresh
        cache.asMap().put(1, -1);
        ticker.advance(1, MILLISECONDS);
        assertEquals(Integer.valueOf(1), cache.getUnchecked(0));
        assertEquals(Integer.valueOf(-1), cache.getUnchecked(1));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.9K bytes
    - Viewed (0)
Back to top