Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1551 - 1560 of 2,108 for filled (0.04 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

      private fun readFile(file: Path): String =
        filesystem.read(file) {
          readUtf8()
        }
    
      private fun readFileOrNull(file: Path): String? =
        try {
          filesystem.read(file) {
            readUtf8()
          }
        } catch (_: FileNotFoundException) {
          null
        }
    
      fun writeFile(
        file: Path,
        content: String,
      ) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 59.4K bytes
    - Click Count (0)
  2. cmd/xl-storage.go

    		// requested offset and length
    		file.Close()
    		return nil, errFileCorrupt
    	}
    
    	if offset > 0 {
    		if _, err = file.Seek(offset, io.SeekStart); err != nil {
    			file.Close()
    			return nil, err
    		}
    	}
    	return &sendFileReader{Reader: io.LimitReader(file, length), Closer: file}, nil
    }
    
    // CreateFile - creates the file.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 91.7K bytes
    - Click Count (0)
  3. src/main/java/jcifs/pac/PacMac.java

         * input data to a specific output length.
         *
         * @param data the input data to expand
         * @param outlen the desired output length in bytes
         * @return the n-folded data of the specified length
         */
        public static byte[] expandNFold(byte[] data, int outlen) {
            int lcm = lcm(outlen, data.length);
            byte[] buf = new byte[outlen];
            int carry = 0;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 9K bytes
    - Click Count (0)
  4. src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java

        private NdrBuffer mockNdrBuffer;
    
        @Mock
        private NdrBuffer mockDeferredBuffer;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            // Set the deferred field directly since it's a public field, not a method
            mockNdrBuffer.deferred = mockDeferredBuffer;
            lenient().when(mockNdrBuffer.derive(anyInt())).thenReturn(mockDeferredBuffer);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

                task = withLock {
                  afterRun(task, delayNanos, true)
                  awaitTaskToRun()
                } ?: return
              }
            } catch (thrown: Throwable) {
              // A task failed. Update execution state and re-throw the exception.
              withLock {
                afterRun(task, -1L, false)
              }
              if (thrown is InterruptedException) {
                Thread.currentThread().interrupt()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 30 11:30:11 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

                originalSize,
                trySplit.estimateSize() + spliterator.estimateSize());
          } else {
            assertEquals(
                "estimated size of spliterator after failed trySplit",
                originalSize,
                spliterator.estimateSize());
          }
        }
        return trySplit;
      }
    
      public static <E extends @Nullable Object> SpliteratorTester<E> of(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

        }
    
        @Override
        public String getType() {
            return type;
        }
    
        @Override
        public void setFile(File file) {
            this.file = file;
        }
    
        @Override
        public File getFile() {
            return file;
        }
    
        @Override
        public ArtifactRepository getRepository() {
            return repository;
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

                originalSize,
                trySplit.estimateSize() + spliterator.estimateSize());
          } else {
            assertEquals(
                "estimated size of spliterator after failed trySplit",
                originalSize,
                spliterator.estimateSize());
          }
        }
        return trySplit;
      }
    
      public static <E extends @Nullable Object> SpliteratorTester<E> of(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

    /*
     * Licensed to the Apache Software Foundation (ASF) under one
     * or more contributor license agreements.  See the NOTICE file
     * distributed with this work for additional information
     * regarding copyright ownership.  The ASF licenses this file
     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
     *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java

    /*
     * Licensed to the Apache Software Foundation (ASF) under one
     * or more contributor license agreements.  See the NOTICE file
     * distributed with this work for additional information
     * regarding copyright ownership.  The ASF licenses this file
     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
     *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 11.3K bytes
    - Click Count (0)
Back to Top