Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 114 for overwritten (0.1 sec)

  1. src/archive/tar/writer.go

    }
    
    func (fw *regFileWriter) Write(b []byte) (n int, err error) {
    	overwrite := int64(len(b)) > fw.nb
    	if overwrite {
    		b = b[:fw.nb]
    	}
    	if len(b) > 0 {
    		n, err = fw.w.Write(b)
    		fw.nb -= int64(n)
    	}
    	switch {
    	case err != nil:
    		return n, err
    	case overwrite:
    		return n, ErrWriteTooLong
    	default:
    		return n, nil
    	}
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 14:22:59 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.kotlin-shared-runtime.gradle.kts

        targetCompatibility = JavaVersion.VERSION_1_8
    }
    
    kotlin {
        compilerOptions {
            allWarningsAsErrors = true
            jvmTarget.set(JvmTarget.JVM_1_8)
        }
    }
    
    detekt {
        // overwrite the config file's location
        config.convention(project.isolated.rootProject.projectDirectory.file("../gradle/detekt.yml"))
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 20 14:11:17 UTC 2024
    - 948 bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

         * aka OPEN_ALWAYS
         */
    
        static final int FILE_OPEN_IF = 0x3;
    
        /*
         * Open the file and overwrite it's contents or fail if it does not exist
         * aka TRUNCATE_EXISTING
         */
    
        static final int FILE_OVERWRITE = 0x4;
    
        /*
         * Open the file and overwrite it's contents or create it if it does not exist
         * aka CREATE_ALWAYS (according to the wire when calling CreateFile)
         */
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.2K bytes
    - Viewed (0)
  4. bin/build_ztunnel.sh

      echo "Downloading ztunnel: $1 to $2"
      time ${DOWNLOAD_COMMAND} --header "${AUTH_HEADER:-}" "$1" > "$2"
      chmod +x "$2"
    
      # Make a copy named just "ztunnel" in the same directory (overwrite if necessary).
      echo "Copying $2 to $(dirname "$2")/${3}"
      cp -f "$2" "$(dirname "$2")/${3}"
      popd
    
      # Also copy it to out/$os_arch/ztunnel as that's whats used in the build
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Apr 02 21:46:06 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.kotlin-dsl-gradle-plugin.gradle.kts

        testImplementation("org.junit.vintage:junit-vintage-engine")
    }
    
    tasks.withType<KotlinCompile>().configureEach {
        compilerOptions {
            allWarningsAsErrors = true
        }
    }
    
    detekt {
        // overwrite the config file's location
        config.convention(project.isolated.rootProject.projectDirectory.file("../gradle/detekt.yml"))
    }
    
    tasks.named("codeQuality") {
        dependsOn("detekt")
    }
    
    tasks.validatePlugins {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 20 14:11:17 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnenc/EncryptOptions.java

     *
     * @since 4.0.0
     */
    @Experimental
    public interface EncryptOptions extends Options {
        /**
         * Should the operation be forced (ie overwrite existing config, if any).
         *
         * @return an {@link Optional} containing the boolean value {@code true} if specified, or empty
         */
        Optional<Boolean> force();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Oct 14 19:57:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImpl.java

        public void updateSessionId(final String oldSessionId, final String newSessionId) {
            // not MT-safe
            final Queue<UrlQueueImpl<Long>> urlQueueList = dataHelper.getUrlQueueList(oldSessionId);
            // overwrite
            dataHelper.addUrlQueueList(newSessionId, urlQueueList);
            dataHelper.removeUrlQueueList(oldSessionId);
        }
    
        /*
         * (non-Javadoc)
         *
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java

        }
    
        public void test_processFieldConfigs() {
            final FessFileTransformer transformer = createInstance();
            final Map<String, String> params = Maps.of("foo", "cache", "bar", "overwrite", "baz", "cache|overwrite");
            FieldConfigs fieldConfigs = new FieldConfigs(params);
            final Map<String, Object> dataMap = Map.of(//
                    "foo", new String[] { "aaa", "bbb" }, //
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 04 06:20:49 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SigningDigest.java

                log.flush();
            }
            updates = 0;
    
            return b;
        }
    
        /**
         * Performs MAC signing of the SMB.  This is done as follows.
         * The signature field of the SMB is overwritted with the sequence number;
         * The MD5 digest of the MAC signing key + the entire SMB is taken;
         * The first 8 bytes of this are placed in the signature field.
         *
         * @param data The data.
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7K bytes
    - Viewed (0)
  10. istioctl/pkg/kubeinject/kubeinject.go

    					return err
    				}
    				reader = in
    				defer func() {
    					if errClose := in.Close(); errClose != nil {
    						log.Errorf("Error: close file from %s, %s", inFilename, errClose)
    
    						// don't overwrite the previous error
    						if err == nil {
    							err = errClose
    						}
    					}
    				}()
    			}
    
    			var writer io.Writer
    			if outFilename == "" {
    				writer = c.OutOrStdout()
    			} else {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 21K bytes
    - Viewed (0)
Back to top